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 : 2948167 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 (4233543) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4233543) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430268 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4233543'] with mtr_portfolio_ids : ['29430268'] and first list_photo_ids : [] new path : /proc/2948167/ Name: python3 Umask: 0002 State: R (running) Tgid: 2948167 Ngid: 0 Pid: 2948167 PPid: 2948166 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2948167 NSpid: 2948167 NSpgid: 2947685 NSsid: 2947685 VmPeak: 1113376 kB VmSize: 1113376 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105300 kB VmRSS: 105300 kB RssAnon: 66304 kB RssFile: 38996 kB RssShmem: 0 kB VmData: 872104 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 612 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: 163 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2948167', 'Ngid': '0', 'Pid': '2948167', 'PPid': '2948166', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2948167', 'NSpid': '2948167', 'NSpgid': '2947685', 'NSsid': '2947685', 'VmPeak': '1113376 kB', 'VmSize': '1113376 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105300 kB', 'VmRSS': '105300 kB', 'RssAnon': '66304 kB', 'RssFile': '38996 kB', 'RssShmem': '0 kB', 'VmData': '872104 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '612 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': '163'} ('datou_batch_current', '2948167', '1113376', '0', '1113376', '872104', '105300', b'', 'marlene', '4233543') 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 (29430268) 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 (4233543 ) ) 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 (29430268) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1399506887, 'portfolio_id': 29430268}, {'photo_id': 1399496435, 'portfolio_id': 29430268}, {'photo_id': 1399496432, 'portfolio_id': 29430268}, {'photo_id': 1399496411, 'portfolio_id': 29430268}, {'photo_id': 1399495618, 'portfolio_id': 29430268}, {'photo_id': 1399495589, 'portfolio_id': 29430268}, {'photo_id': 1399494852, 'portfolio_id': 29430268}, {'photo_id': 1399494820, 'portfolio_id': 29430268}, {'photo_id': 1399494769, 'portfolio_id': 29430268}, {'photo_id': 1399493593, 'portfolio_id': 29430268}, {'photo_id': 1399493590, 'portfolio_id': 29430268}, {'photo_id': 1399493577, 'portfolio_id': 29430268}, {'photo_id': 1399493573, 'portfolio_id': 29430268}, {'photo_id': 1399493555, 'portfolio_id': 29430268}, {'photo_id': 1399493329, 'portfolio_id': 29430268}, {'photo_id': 1399493327, 'portfolio_id': 29430268}, {'photo_id': 1399493324, 'portfolio_id': 29430268}, {'photo_id': 1399492992, 'portfolio_id': 29430268}, {'photo_id': 1399492956, 'portfolio_id': 29430268}, {'photo_id': 1399492923, 'portfolio_id': 29430268}, {'photo_id': 1399492882, 'portfolio_id': 29430268}, {'photo_id': 1399492846, 'portfolio_id': 29430268}, {'photo_id': 1399492784, 'portfolio_id': 29430268}, {'photo_id': 1399492776, 'portfolio_id': 29430268}, {'photo_id': 1399492772, 'portfolio_id': 29430268}, {'photo_id': 1399492768, 'portfolio_id': 29430268}, {'photo_id': 1399492764, 'portfolio_id': 29430268}, {'photo_id': 1399492756, 'portfolio_id': 29430268}, {'photo_id': 1399492746, 'portfolio_id': 29430268}, {'photo_id': 1399492739, 'portfolio_id': 29430268}, {'photo_id': 1399492736, 'portfolio_id': 29430268}, {'photo_id': 1399492656, 'portfolio_id': 29430268}, {'photo_id': 1399492648, 'portfolio_id': 29430268}] map_portfolio_id_photo_id: {29430268: [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648]} ##### 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.021959304809570312 #### 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 16 05:48: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 (29430268) 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 : 29430268 get user id for portfolio 29430268 get sub ptf for main ptf 29430268, type 3726 and hashtags ['Carton_gris', 'mal_croppe', 'Teint_Dans_La_Masse', 'metal', 'flou', 'autre_refus', 'kraft', 'Carton_brun', 'papier', 'environnement', 'cartonnette', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29430268 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','Teint_Dans_La_Masse','metal','flou','autre_refus','kraft','Carton_brun','papier','environnement','cartonnette','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29430268 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','Teint_Dans_La_Masse','metal','flou','autre_refus','kraft','Carton_brun','papier','environnement','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29430268, 'sub_port_id': 29430343, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055616, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'cartonnette': {'main_port_id': 29430268, 'sub_port_id': 29430344, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055617, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'metal': {'main_port_id': 29430268, 'sub_port_id': 29430345, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055618, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'environnement': {'main_port_id': 29430268, 'sub_port_id': 29430346, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055619, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'Carton_brun': {'main_port_id': 29430268, 'sub_port_id': 29430347, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055620, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'Carton_gris': {'main_port_id': 29430268, 'sub_port_id': 29430348, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055621, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'papier': {'main_port_id': 29430268, 'sub_port_id': 29430349, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055622, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'autre_refus': {'main_port_id': 29430268, 'sub_port_id': 29430350, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055623, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'plastique': {'main_port_id': 29430268, 'sub_port_id': 29430351, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055624, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'mal_croppe': {'main_port_id': 29430268, 'sub_port_id': 29430352, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055625, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'flou': {'main_port_id': 29430268, 'sub_port_id': 29430353, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055626, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 29430268, 'sub_port_id': 29430354, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055627, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 3, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430343 , 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=29430268 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 (29430343) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430344 , 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=29430268 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 (29430344) result : ((1399496559,), (1399496578,), (1399496579,), (1399496582,), (1399496583,), (1399496630,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430345 , 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=29430268 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 (29430345) result : ((1399496563,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430346 , 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=29430268 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 (29430346) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430347 , 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=29430268 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 (29430347) result : ((1399493709,), (1399493713,), (1399496351,), (1399496446,), (1399496631,), (1399498090,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430348 , 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=29430268 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 (29430348) result : ((1399493678,), (1399496350,), (1399496576,), (1399496577,), (1399496627,), (1399496628,), (1399496629,), (1399498089,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430349 , 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=29430268 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 (29430349) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430350 , 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=29430268 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 (29430350) result : ((1399496344,), (1399496445,), (1399496455,), (1399496558,), (1399496575,), (1399498087,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430351 , 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=29430268 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 (29430351) result : ((1399496560,), (1399496561,), (1399496585,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430352 , 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=29430268 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 (29430352) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430353 , 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=29430268 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 (29430353) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29430354 , 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=29430268 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 (29430354) result : ((1399496336,), (1399496557,), (1399496624,), (1399496625,), (1399496626,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29430268) result : ((1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29430268 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','Teint_Dans_La_Masse','metal','flou','autre_refus','kraft','Carton_brun','papier','environnement','cartonnette','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29430268 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','Teint_Dans_La_Masse','metal','flou','autre_refus','kraft','Carton_brun','papier','environnement','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29430268, 'sub_port_id': 29430355, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055628, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'cartonnette': {'main_port_id': 29430268, 'sub_port_id': 29430356, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055629, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'metal': {'main_port_id': 29430268, 'sub_port_id': 29430357, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055630, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'environnement': {'main_port_id': 29430268, 'sub_port_id': 29430358, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055631, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'Carton_brun': {'main_port_id': 29430268, 'sub_port_id': 29430359, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055632, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'Carton_gris': {'main_port_id': 29430268, 'sub_port_id': 29430360, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055633, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'papier': {'main_port_id': 29430268, 'sub_port_id': 29430361, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055634, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'autre_refus': {'main_port_id': 29430268, 'sub_port_id': 29430362, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055635, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'plastique': {'main_port_id': 29430268, 'sub_port_id': 29430363, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055636, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'mal_croppe': {'main_port_id': 29430268, 'sub_port_id': 29430364, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055637, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'flou': {'main_port_id': 29430268, 'sub_port_id': 29430365, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055638, 'last_updated_at': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 12, 4, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 29430268, 'sub_port_id': 29430366, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20055639, 'last_updated_at': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 13, 59, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 12, 4, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430355,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430343 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430356,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430344 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430357,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430345 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430358,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430346 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430359,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430347 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430360,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430348 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430361,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430349 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430362,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430350 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430363,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430351 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430364,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430352 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430365,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430353 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29430366,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29430354 lien utilise dans velours : https://marlene.fotonower.com/velours/29430355,29430356,29430357,29430358,29430359,29430360,29430361,29430362,29430363,29430364,29430365,29430366?tags=kraft,cartonnette,metal,environnement,Carton_brun,Carton_gris,papier,autre_refus,plastique,mal_croppe,flou,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29430268]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] map_info['map_portfolio_photo'] : {29430268: [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648]} final : False mtd_id 4302 list_pids : [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] Looping around the photos to save general results len do output : 1 /29430268. 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, '4233543') ('4302', '29430268', '1399506887', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '29430268', "{'kraft': 29430343, 'cartonnette': 29430344, 'metal': 29430345, 'environnement': 29430346, 'Carton_brun': 29430347, 'Carton_gris': 29430348, 'papier': 29430349, 'autre_refus': 29430350, 'plastique': 29430351, 'mal_croppe': 29430352, 'flou': 29430353, 'Teint_Dans_La_Masse': 29430354}", None, None, None, None, '4233543'), ('4302', '29430268', '1399506887', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543')] time used for this insertion : 0.02397751808166504 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7710301876068115 time spend to save output : 0.02439427375793457 total time spend for step 1 : 1.795424461364746 step2:final Tue Dec 16 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (29430268) 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 29430268 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1399492656,1399492648,1399492756,1399492746,1399492739,1399492736,1399492784,1399492776,1399492772,1399492768,1399492764,1399492992,1399492956,1399492923,1399492882,1399492846,1399493329,1399493327,1399493324,1399493577,1399493573,1399493555,1399493593,1399493590,1399494852,1399494820,1399494769,1399495618,1399495589,1399496411,1399496435,1399496432,1399506887); 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([29430268]) Inside saveOutput : final : False verbose : True original output for save of step final : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} new output for save of step final : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] map_info['map_portfolio_photo'] : {29430268: [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648]} final : False mtd_id 4302 list_pids : [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] Looping around the photos to save general results len do output : 33 /1399506887.Didn't retrieve data . /1399496435.Didn't retrieve data . /1399496432.Didn't retrieve data . /1399496411.Didn't retrieve data . /1399495618.Didn't retrieve data . /1399495589.Didn't retrieve data . /1399494852.Didn't retrieve data . /1399494820.Didn't retrieve data . /1399494769.Didn't retrieve data . /1399493593.Didn't retrieve data . /1399493590.Didn't retrieve data . /1399493577.Didn't retrieve data . /1399493573.Didn't retrieve data . /1399493555.Didn't retrieve data . /1399493329.Didn't retrieve data . /1399493327.Didn't retrieve data . /1399493324.Didn't retrieve data . /1399492992.Didn't retrieve data . /1399492956.Didn't retrieve data . /1399492923.Didn't retrieve data . /1399492882.Didn't retrieve data . /1399492846.Didn't retrieve data . /1399492784.Didn't retrieve data . /1399492776.Didn't retrieve data . /1399492772.Didn't retrieve data . /1399492768.Didn't retrieve data . /1399492764.Didn't retrieve data . /1399492756.Didn't retrieve data . /1399492746.Didn't retrieve data . /1399492739.Didn't retrieve data . /1399492736.Didn't retrieve data . /1399492656.Didn't retrieve data . /1399492648.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, '4233543') ('4302', '29430268', '1399506887', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '29430268', '1399506887', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399496435', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399496432', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399496411', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399495618', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399495589', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399494852', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399494820', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399494769', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493593', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493590', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493577', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493573', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493555', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493329', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493327', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399493324', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492992', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492956', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492923', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492882', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492846', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492784', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492776', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492772', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492768', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492764', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492756', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492746', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492739', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492736', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492656', '0.051451681152082505', None, None, None, None, '4233543'), ('4302', '29430268', '1399492648', '0.051451681152082505', None, None, None, None, '4233543')] time used for this insertion : 0.026990413665771484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07625722885131836 time spend to save output : 0.028386592864990234 total time spend for step 2 : 0.1046438217163086 step3:velours_tree Tue Dec 16 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29430268: [{'kraft': 29430343, 'cartonnette': 29430344, 'metal': 29430345, 'environnement': 29430346, 'Carton_brun': 29430347, 'Carton_gris': 29430348, 'papier': 29430349, 'autre_refus': 29430350, 'plastique': 29430351, 'mal_croppe': 29430352, 'flou': 29430353, 'Teint_Dans_La_Masse': 29430354}]} input_args_next_step : {29430268: ()} output_args : {29430268: [{'kraft': 29430343, 'cartonnette': 29430344, 'metal': 29430345, 'environnement': 29430346, 'Carton_brun': 29430347, 'Carton_gris': 29430348, 'papier': 29430349, 'autre_refus': 29430350, 'plastique': 29430351, 'mal_croppe': 29430352, 'flou': 29430353, 'Teint_Dans_La_Masse': 29430354}]} args : 29430268 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 : ({'kraft': 29430343, 'cartonnette': 29430344, 'metal': 29430345, 'environnement': 29430346, 'Carton_brun': 29430347, 'Carton_gris': 29430348, 'papier': 29430349, 'autre_refus': 29430350, 'plastique': 29430351, 'mal_croppe': 29430352, 'flou': 29430353, 'Teint_Dans_La_Masse': 29430354},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29430268) 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([29430268]) 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.27645182609558105 time spend to save output : 4.76837158203125e-05 total time spend for step 3 : 0.27649950981140137 step4:send_mail_cod Tue Dec 16 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} input_args_next_step : {1399506887: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399506887 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399496435 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399496432 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399496411 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399495618 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399495589 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399494852 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399494820 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399494769 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493593 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493590 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493577 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493573 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493555 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493329 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493327 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399493324 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492992 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492956 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492923 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492882 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492846 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492784 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492776 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492772 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492768 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492764 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492756 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492746 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492739 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492736 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492656 depend.output_id : 0 input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ()} output_args : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',)} args : 1399492648 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 : {29430268: [{'kraft': 29430343, 'cartonnette': 29430344, 'metal': 29430345, 'environnement': 29430346, 'Carton_brun': 29430347, 'Carton_gris': 29430348, 'papier': 29430349, 'autre_refus': 29430350, 'plastique': 29430351, 'mal_croppe': 29430352, 'flou': 29430353, 'Teint_Dans_La_Masse': 29430354}]} input_args_next_step : {1399506887: ('0.051451681152082505',), 1399496435: ('0.051451681152082505',), 1399496432: ('0.051451681152082505',), 1399496411: ('0.051451681152082505',), 1399495618: ('0.051451681152082505',), 1399495589: ('0.051451681152082505',), 1399494852: ('0.051451681152082505',), 1399494820: ('0.051451681152082505',), 1399494769: ('0.051451681152082505',), 1399493593: ('0.051451681152082505',), 1399493590: ('0.051451681152082505',), 1399493577: ('0.051451681152082505',), 1399493573: ('0.051451681152082505',), 1399493555: ('0.051451681152082505',), 1399493329: ('0.051451681152082505',), 1399493327: ('0.051451681152082505',), 1399493324: ('0.051451681152082505',), 1399492992: ('0.051451681152082505',), 1399492956: ('0.051451681152082505',), 1399492923: ('0.051451681152082505',), 1399492882: ('0.051451681152082505',), 1399492846: ('0.051451681152082505',), 1399492784: ('0.051451681152082505',), 1399492776: ('0.051451681152082505',), 1399492772: ('0.051451681152082505',), 1399492768: ('0.051451681152082505',), 1399492764: ('0.051451681152082505',), 1399492756: ('0.051451681152082505',), 1399492746: ('0.051451681152082505',), 1399492739: ('0.051451681152082505',), 1399492736: ('0.051451681152082505',), 1399492656: ('0.051451681152082505',), 1399492648: ('0.051451681152082505',), 29430268: ()} output_args : {29430268: [{'kraft': 29430343, 'cartonnette': 29430344, 'metal': 29430345, 'environnement': 29430346, 'Carton_brun': 29430347, 'Carton_gris': 29430348, 'papier': 29430349, 'autre_refus': 29430350, 'plastique': 29430351, 'mal_croppe': 29430352, 'flou': 29430353, 'Teint_Dans_La_Masse': 29430354}]} args : 29430268 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 :34, first value : ('0.051451681152082505',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29430268) 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 (1399506887,1399496435,1399496432,1399496411,1399495618,1399495589,1399494852,1399494820,1399494769,1399493593,1399493590,1399493577,1399493573,1399493555,1399493329,1399493327,1399493324,1399492992,1399492956,1399492923,1399492882,1399492846,1399492784,1399492776,1399492772,1399492768,1399492764,1399492756,1399492746,1399492739,1399492736,1399492656,1399492648) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1399492648 begin to download photo : 1399492768 begin to download photo : 1399492956 begin to download photo : 1399493577 begin to download photo : 1399495618 download finish for photo 1399493577 begin to download photo : 1399493590 download finish for photo 1399492956 begin to download photo : 1399492992 download finish for photo 1399495618 begin to download photo : 1399496411 download finish for photo 1399492768 begin to download photo : 1399492772 download finish for photo 1399492648 begin to download photo : 1399492656 download finish for photo 1399493590 begin to download photo : 1399493593 download finish for photo 1399496411 begin to download photo : 1399496432 download finish for photo 1399492992 begin to download photo : 1399493324 download finish for photo 1399492772 begin to download photo : 1399492776 download finish for photo 1399492656 begin to download photo : 1399492736 download finish for photo 1399493593 begin to download photo : 1399494769 download finish for photo 1399496432 begin to download photo : 1399496435 download finish for photo 1399493324 begin to download photo : 1399493327 download finish for photo 1399492776 begin to download photo : 1399492784 download finish for photo 1399492736 begin to download photo : 1399492739 download finish for photo 1399494769 begin to download photo : 1399494820 download finish for photo 1399496435 begin to download photo : 1399506887 download finish for photo 1399492784 begin to download photo : 1399492846 download finish for photo 1399493327 begin to download photo : 1399493329 download finish for photo 1399492739 begin to download photo : 1399492746 download finish for photo 1399494820 begin to download photo : 1399494852 download finish for photo 1399492846 begin to download photo : 1399492882 download finish for photo 1399493329 begin to download photo : 1399493555 download finish for photo 1399506887 download finish for photo 1399492746 begin to download photo : 1399492756 download finish for photo 1399494852 begin to download photo : 1399495589 download finish for photo 1399493555 begin to download photo : 1399493573 download finish for photo 1399492882 begin to download photo : 1399492923 download finish for photo 1399492756 begin to download photo : 1399492764 download finish for photo 1399495589 download finish for photo 1399493573 download finish for photo 1399492923 download finish for photo 1399492764 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette294303431765860511/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P29430268_16-12-2025_05_48_31.pdf 29430343 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=29430343 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294303431765860511 29430344 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=29430344 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399496559: '1765797266_914159_1399492846_6e6064128389fc3356bf26f0314b9e28_rle_crop_4070821480_0.png', 1399496578: '1765797308_916075_1399492992_092c6186d768ca9fa4b21489b3a665bf_rle_crop_4070821801_0.png', 1399496579: '1765797308_916075_1399492776_054d64e1a7f5a3ab3f36630504c81baa_rle_crop_4070821808_0.png', 1399496582: '1765797308_916075_1399492772_f3442f7c308ab7d21940641ffa5916e0_rle_crop_4070821824_0.png', 1399496583: '1765797308_916075_1399492764_cb491c455995774b95d780e05f9a8c79_rle_crop_4070821844_0.png', 1399496630: '1765797426_923831_1399492736_9d4f2d0f32e56c7d3c7c4f414cd88436_rle_crop_4070821980_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45d95efbf10ea030f0aada69ea8e262c_46797155.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59e2f2b8a8d11bdf27fd4c4d8cf13c4f_66623988.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72b2fdfbc47b510bd0d0c1ba19e1aa5e_61807050.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34d8113dd4a23fd88a8af6ae8847224a_87373053.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d983b51b502c0074ef03df0c773433b8_89557086.png change filename to text .imagette294303441765860511/ imagette294303441765860511/1765797308_916075_1399492772_f3442f7c308ab7d21940641ffa5916e0_rle_crop_4070821824_0.png.png imagette294303441765860511/1765797308_916075_1399492764_cb491c455995774b95d780e05f9a8c79_rle_crop_4070821844_0.png.png imagette294303441765860511/1765797308_916075_1399492776_054d64e1a7f5a3ab3f36630504c81baa_rle_crop_4070821808_0.png.png imagette294303441765860511/1765797426_923831_1399492736_9d4f2d0f32e56c7d3c7c4f414cd88436_rle_crop_4070821980_0.png.png imagette294303441765860511/1765797266_914159_1399492846_6e6064128389fc3356bf26f0314b9e28_rle_crop_4070821480_0.png.png imagette294303441765860511/1765797308_916075_1399492992_092c6186d768ca9fa4b21489b3a665bf_rle_crop_4070821801_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d352368733827c40cdd5dc9d15da1312_94100340.png imagette294303441765860511 29430345 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=29430345 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399496563: '1765797266_914159_1399492956_29c5fbe41714b8439ee9ea3034089ef0_rle_crop_4070821445_0.png'} change filename to text .imagette294303451765860512/ imagette294303451765860512/1765797266_914159_1399492956_29c5fbe41714b8439ee9ea3034089ef0_rle_crop_4070821445_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ebd35bde56b8322e1f3765264a70e562_60674293.png imagette294303451765860512 29430350 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=29430350 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399496344: '1765796965_892828_1399493327_7cbc7df4f617a5a6de146d89dc94fb19_rle_crop_4070820578_0.png', 1399496445: '1765797066_900299_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820971_0.png', 1399496455: '1765797087_902130_1399494852_69118a702591cc52cbef7683c399c380_rle_crop_4070821078_0.png', 1399496558: '1765797266_914159_1399492923_51d6697c9298c96461a8d9dea643e749_rle_crop_4070821462_0.png', 1399496575: '1765797308_916075_1399492764_cb491c455995774b95d780e05f9a8c79_rle_crop_4070821842_0.png', 1399498087: '1765799244_983132_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820971_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bfa8287464e75b9aa2d4fec6fae80024_90072404.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf072a2e9bded58b2561d5dfc0a50c9e_53198418.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d7acb172882adee8afaee1dc786f67a_85383410.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/686ae299f2b36f411859f01fd1152580_64971094.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a836ab19c1a1f9a2f0ba2be841bbff20_16166267.png change filename to text .imagette294303501765860512/ imagette294303501765860512/1765797266_914159_1399492923_51d6697c9298c96461a8d9dea643e749_rle_crop_4070821462_0.png.png imagette294303501765860512/1765797087_902130_1399494852_69118a702591cc52cbef7683c399c380_rle_crop_4070821078_0.png.png imagette294303501765860512/1765797308_916075_1399492764_cb491c455995774b95d780e05f9a8c79_rle_crop_4070821842_0.png.png imagette294303501765860512/1765797066_900299_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820971_0.png.png imagette294303501765860512/1765796965_892828_1399493327_7cbc7df4f617a5a6de146d89dc94fb19_rle_crop_4070820578_0.png.png imagette294303501765860512/1765799244_983132_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820971_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf072a2e9bded58b2561d5dfc0a50c9e_30911928.png imagette294303501765860512 29430351 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=29430351 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399496560: '1765797266_914159_1399492956_29c5fbe41714b8439ee9ea3034089ef0_rle_crop_4070821444_0.png', 1399496561: '1765797266_914159_1399492923_51d6697c9298c96461a8d9dea643e749_rle_crop_4070821468_0.png', 1399496585: '1765797308_916075_1399492776_054d64e1a7f5a3ab3f36630504c81baa_rle_crop_4070821817_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6da91cb2fd0f8d09c0f5ec0efc094a75_28133010.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50db3f2e212003521bdd5d94c4d4a205_23959219.png change filename to text .imagette294303511765860513/ imagette294303511765860513/1765797308_916075_1399492776_054d64e1a7f5a3ab3f36630504c81baa_rle_crop_4070821817_0.png.png imagette294303511765860513/1765797266_914159_1399492923_51d6697c9298c96461a8d9dea643e749_rle_crop_4070821468_0.png.png imagette294303511765860513/1765797266_914159_1399492956_29c5fbe41714b8439ee9ea3034089ef0_rle_crop_4070821444_0.png.png imagette294303521765860513/ imagette294303531765860513/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/874fe0094e7fd67eb8a64b516fa50f35_18548768.png imagette294303511765860513 29430352 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=29430352 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294303521765860513 29430353 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=29430353 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294303531765860513 29430347 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=29430347 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399493709: '1765796827_884597_1399492656_c4c186a44b3cd6ff719301d4f61d237d_rle_crop_4070820182_0.png', 1399493713: '1765796827_884597_1399492648_9c3adb2a1ae02f495e12870a15c50b10_rle_crop_4070820191_0.png', 1399496351: '1765796965_892828_1399493327_7cbc7df4f617a5a6de146d89dc94fb19_rle_crop_4070820586_0.png', 1399496446: '1765797066_900299_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820973_0.png', 1399496631: '1765797426_923831_1399492784_e98de7036f5861c1e93b79ce956610f3_rle_crop_4070821947_0.png', 1399498090: '1765799244_983132_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820973_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7670cca21b8857bdc6436f428188edcd_75673282.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4ea8c95d7a84fad788b8f861925c7a4_19526394.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe7f66cd0df05c967fee514cae10e8af_20713851.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e59f2eb4ba92b5f60bc8d41a19ef70b5_61904248.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/425958264bd89dd96034efc05c97f197_35585295.png change filename to text .imagette294303471765860513/ imagette294303471765860513/1765796965_892828_1399493327_7cbc7df4f617a5a6de146d89dc94fb19_rle_crop_4070820586_0.png.png imagette294303471765860513/1765796827_884597_1399492656_c4c186a44b3cd6ff719301d4f61d237d_rle_crop_4070820182_0.png.png imagette294303471765860513/1765797426_923831_1399492784_e98de7036f5861c1e93b79ce956610f3_rle_crop_4070821947_0.png.png imagette294303471765860513/1765797066_900299_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820973_0.png.png imagette294303471765860513/1765796827_884597_1399492648_9c3adb2a1ae02f495e12870a15c50b10_rle_crop_4070820191_0.png.png imagette294303471765860513/1765799244_983132_1399494820_436a5a78b07ca8f5ee9d163274ac4d97_rle_crop_4070820973_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e59f2eb4ba92b5f60bc8d41a19ef70b5_26441963.png imagette294303471765860513 29430348 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=29430348 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399493678: '1765796827_884597_1399492648_9c3adb2a1ae02f495e12870a15c50b10_rle_crop_4070820189_0.png', 1399496350: '1765796965_892828_1399493327_7cbc7df4f617a5a6de146d89dc94fb19_rle_crop_4070820585_0.png', 1399496576: '1765797308_916075_1399492776_054d64e1a7f5a3ab3f36630504c81baa_rle_crop_4070821807_0.png', 1399496577: '1765797308_916075_1399492764_cb491c455995774b95d780e05f9a8c79_rle_crop_4070821846_0.png', 1399496627: '1765797426_923831_1399492784_e98de7036f5861c1e93b79ce956610f3_rle_crop_4070821944_0.png', 1399496628: '1765797426_923831_1399492746_a5dc7bfab4a0ee12fadf2c77650ca362_rle_crop_4070821959_0.png', 1399496629: '1765797426_923831_1399492736_9d4f2d0f32e56c7d3c7c4f414cd88436_rle_crop_4070821974_0.png', 1399498089: '1765799244_983132_1399495618_fb154c0e4b3b479b87f485d8aea96902_rle_crop_4070841737_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c48f74fd468822219502b66987e685bd_95270409.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f924a9b1fcd0d6f438ee3c8d367ac886_91633407.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/753ddbe34752462e5b13ca5265f5b1c3_66454767.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef9fe29330f35c9f4f37408aed9d00cf_34643725.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea2daa16dc0f38cb37d37ff3ef5b1497_44137349.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b1a673dd832bc9c84a9166e39bef1c1_69479095.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10d0cb52d75ff9b37b0b7375bfc2f62a_98558983.png change filename to text .imagette294303481765860514/ imagette294303481765860514/1765796827_884597_1399492648_9c3adb2a1ae02f495e12870a15c50b10_rle_crop_4070820189_0.png.png imagette294303481765860514/1765797426_923831_1399492746_a5dc7bfab4a0ee12fadf2c77650ca362_rle_crop_4070821959_0.png.png imagette294303481765860514/1765796965_892828_1399493327_7cbc7df4f617a5a6de146d89dc94fb19_rle_crop_4070820585_0.png.png imagette294303481765860514/1765797308_916075_1399492764_cb491c455995774b95d780e05f9a8c79_rle_crop_4070821846_0.png.png imagette294303481765860514/1765797308_916075_1399492776_054d64e1a7f5a3ab3f36630504c81baa_rle_crop_4070821807_0.png.png imagette294303481765860514/1765797426_923831_1399492784_e98de7036f5861c1e93b79ce956610f3_rle_crop_4070821944_0.png.png imagette294303481765860514/1765797426_923831_1399492736_9d4f2d0f32e56c7d3c7c4f414cd88436_rle_crop_4070821974_0.png.png imagette294303481765860514/1765799244_983132_1399495618_fb154c0e4b3b479b87f485d8aea96902_rle_crop_4070841737_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58fd5208b241507f090514a9e4920815_16805168.png imagette294303481765860514 29430354 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=29430354 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399496336: '1765796965_892828_1399493324_53e4e9e0babe3e036ce7fa542c1c27df_rle_crop_4070820596_0.png', 1399496557: '1765797266_914159_1399492956_29c5fbe41714b8439ee9ea3034089ef0_rle_crop_4070821448_0.png', 1399496624: '1765797426_923831_1399492746_a5dc7bfab4a0ee12fadf2c77650ca362_rle_crop_4070821962_0.png', 1399496625: '1765797426_923831_1399492739_2570ad3fda4531983a7e39dafe2ae763_rle_crop_4070821968_0.png', 1399496626: '1765797426_923831_1399492739_2570ad3fda4531983a7e39dafe2ae763_rle_crop_4070821970_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb42fd7e3981a35627f65f40e1b1b73d_82031763.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03c7eefe62e1f284c69ab1501acfef43_90337321.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfdd4a374dcbe592f0cd5d6519cbfb56_63191033.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a66d1bf431f8526e76887978be0a582a_98772084.png change filename to text .imagette294303541765860515/ imagette294303541765860515/1765797426_923831_1399492739_2570ad3fda4531983a7e39dafe2ae763_rle_crop_4070821970_0.png.png imagette294303541765860515/1765796965_892828_1399493324_53e4e9e0babe3e036ce7fa542c1c27df_rle_crop_4070820596_0.png.png imagette294303541765860515/1765797266_914159_1399492956_29c5fbe41714b8439ee9ea3034089ef0_rle_crop_4070821448_0.png.png imagette294303541765860515/1765797426_923831_1399492746_a5dc7bfab4a0ee12fadf2c77650ca362_rle_crop_4070821962_0.png.png imagette294303541765860515/1765797426_923831_1399492739_2570ad3fda4531983a7e39dafe2ae763_rle_crop_4070821968_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/925690175e61a899f984460b4e4bd009_99689039.png imagette294303541765860515 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29430268 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29430355,29430356,29430357,29430358,29430359,29430360,29430361,29430362,29430363,29430364,29430365,29430366?tags=kraft,cartonnette,metal,environnement,Carton_brun,Carton_gris,papier,autre_refus,plastique,mal_croppe,flou,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1399506887] : ('0.051451681152082505',) no score found for photo 1399506887 We are sending mail with results at report@fotonower.com args[1399496435] : ('0.051451681152082505',) no score found for photo 1399496435 We are sending mail with results at report@fotonower.com args[1399496432] : ('0.051451681152082505',) no score found for photo 1399496432 We are sending mail with results at report@fotonower.com args[1399496411] : ('0.051451681152082505',) no score found for photo 1399496411 We are sending mail with results at report@fotonower.com args[1399495618] : ('0.051451681152082505',) no score found for photo 1399495618 We are sending mail with results at report@fotonower.com args[1399495589] : ('0.051451681152082505',) no score found for photo 1399495589 We are sending mail with results at report@fotonower.com args[1399494852] : ('0.051451681152082505',) no score found for photo 1399494852 We are sending mail with results at report@fotonower.com args[1399494820] : ('0.051451681152082505',) no score found for photo 1399494820 We are sending mail with results at report@fotonower.com args[1399494769] : ('0.051451681152082505',) no score found for photo 1399494769 We are sending mail with results at report@fotonower.com args[1399493593] : ('0.051451681152082505',) no score found for photo 1399493593 We are sending mail with results at report@fotonower.com args[1399493590] : ('0.051451681152082505',) no score found for photo 1399493590 We are sending mail with results at report@fotonower.com args[1399493577] : ('0.051451681152082505',) no score found for photo 1399493577 We are sending mail with results at report@fotonower.com args[1399493573] : ('0.051451681152082505',) no score found for photo 1399493573 We are sending mail with results at report@fotonower.com args[1399493555] : ('0.051451681152082505',) no score found for photo 1399493555 We are sending mail with results at report@fotonower.com args[1399493329] : ('0.051451681152082505',) no score found for photo 1399493329 We are sending mail with results at report@fotonower.com args[1399493327] : ('0.051451681152082505',) no score found for photo 1399493327 We are sending mail with results at report@fotonower.com args[1399493324] : ('0.051451681152082505',) no score found for photo 1399493324 We are sending mail with results at report@fotonower.com args[1399492992] : ('0.051451681152082505',) no score found for photo 1399492992 We are sending mail with results at report@fotonower.com args[1399492956] : ('0.051451681152082505',) no score found for photo 1399492956 We are sending mail with results at report@fotonower.com args[1399492923] : ('0.051451681152082505',) no score found for photo 1399492923 We are sending mail with results at report@fotonower.com args[1399492882] : ('0.051451681152082505',) no score found for photo 1399492882 We are sending mail with results at report@fotonower.com args[1399492846] : ('0.051451681152082505',) no score found for photo 1399492846 We are sending mail with results at report@fotonower.com args[1399492784] : ('0.051451681152082505',) no score found for photo 1399492784 We are sending mail with results at report@fotonower.com args[1399492776] : ('0.051451681152082505',) no score found for photo 1399492776 We are sending mail with results at report@fotonower.com args[1399492772] : ('0.051451681152082505',) no score found for photo 1399492772 We are sending mail with results at report@fotonower.com args[1399492768] : ('0.051451681152082505',) no score found for photo 1399492768 We are sending mail with results at report@fotonower.com args[1399492764] : ('0.051451681152082505',) no score found for photo 1399492764 We are sending mail with results at report@fotonower.com args[1399492756] : ('0.051451681152082505',) no score found for photo 1399492756 We are sending mail with results at report@fotonower.com args[1399492746] : ('0.051451681152082505',) no score found for photo 1399492746 We are sending mail with results at report@fotonower.com args[1399492739] : ('0.051451681152082505',) no score found for photo 1399492739 We are sending mail with results at report@fotonower.com args[1399492736] : ('0.051451681152082505',) no score found for photo 1399492736 We are sending mail with results at report@fotonower.com args[1399492656] : ('0.051451681152082505',) no score found for photo 1399492656 We are sending mail with results at report@fotonower.com args[1399492648] : ('0.051451681152082505',) no score found for photo 1399492648 We are sending mail with results at report@fotonower.com refus_total : 0.051451681152082505 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=29430268 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_P29430268_16-12-2025_05_48_31.pdf results_Auto_P29430268_16-12-2025_05_48_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_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','29430268','results_Auto_P29430268_16-12-2025_05_48_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_31.pdf','pdf','','0.34','0.051451681152082505') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29430268]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] map_info['map_portfolio_photo'] : {29430268: [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648]} final : False mtd_id 4302 list_pids : [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] 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, '4233543') ('4302', '29430268', '1399506887', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '29430268', '1399506887', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543')] time used for this insertion : 0.021954774856567383 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.271768808364868 time spend to save output : 0.022192955017089844 total time spend for step 4 : 7.293961763381958 step5:split_time_score Tue Dec 16 05:48:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29430268'] 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 : [('29430268',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29430268) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1399495618: {'path': 'temp/1765860510_2948167_1399495618_fb154c0e4b3b479b87f485d8aea96902.jpg', 'extension': 'jpg'}, 1399496411: {'path': 'temp/1765860510_2948167_1399496411_b0101ced46174d5d16a53722ff48b8f3.jpg', 'extension': 'jpg'}, 1399496432: {'path': 'temp/1765860510_2948167_1399496432_31cb22fe1b63f07677cf188f5d95bf0e.jpg', 'extension': 'jpg'}, 1399496435: {'path': 'temp/1765860510_2948167_1399496435_9d608de5275174d9eb06ef66510dfe97.jpg', 'extension': 'jpg'}, 1399506887: {'path': 'temp/1765860510_2948167_1399506887_f9f5735b2281e4bcf343c8dd941134fd.jpg', 'extension': 'jpg'}, 1399493577: {'path': 'temp/1765860510_2948167_1399493577_961dfc5a0c4b267ac0af5e9e77774af5.jpg', 'extension': 'jpg'}, 1399493590: {'path': 'temp/1765860510_2948167_1399493590_9190214127750e0336bcaf78bee05484.jpg', 'extension': 'jpg'}, 1399493593: {'path': 'temp/1765860510_2948167_1399493593_039e1e8749a55bfe2c703dc24d58da0d.jpg', 'extension': 'jpg'}, 1399494769: {'path': 'temp/1765860510_2948167_1399494769_d2e9151841cc57f69de8ae6e53eaf67f.jpg', 'extension': 'jpg'}, 1399494820: {'path': 'temp/1765860510_2948167_1399494820_436a5a78b07ca8f5ee9d163274ac4d97.jpg', 'extension': 'jpg'}, 1399494852: {'path': 'temp/1765860510_2948167_1399494852_69118a702591cc52cbef7683c399c380.jpg', 'extension': 'jpg'}, 1399495589: {'path': 'temp/1765860510_2948167_1399495589_6431f46f5b3f084304bb18d566e4d3d7.jpg', 'extension': 'jpg'}, 1399492956: {'path': 'temp/1765860510_2948167_1399492956_29c5fbe41714b8439ee9ea3034089ef0.jpg', 'extension': 'jpg'}, 1399492992: {'path': 'temp/1765860510_2948167_1399492992_092c6186d768ca9fa4b21489b3a665bf.jpg', 'extension': 'jpg'}, 1399493324: {'path': 'temp/1765860510_2948167_1399493324_53e4e9e0babe3e036ce7fa542c1c27df.jpg', 'extension': 'jpg'}, 1399493327: {'path': 'temp/1765860510_2948167_1399493327_7cbc7df4f617a5a6de146d89dc94fb19.jpg', 'extension': 'jpg'}, 1399493329: {'path': 'temp/1765860510_2948167_1399493329_df9801ae7edebe86b6e3f2e64bc046e3.jpg', 'extension': 'jpg'}, 1399493555: {'path': 'temp/1765860510_2948167_1399493555_8ca46a4e1c6ba47c520a9da68a93118b.jpg', 'extension': 'jpg'}, 1399493573: {'path': 'temp/1765860510_2948167_1399493573_bad9c2699c7564ffe4db49207de1d1b0.jpg', 'extension': 'jpg'}, 1399492768: {'path': 'temp/1765860510_2948167_1399492768_2131a92ffaf5e1bf221dab593917a21e.jpg', 'extension': 'jpg'}, 1399492772: {'path': 'temp/1765860510_2948167_1399492772_f3442f7c308ab7d21940641ffa5916e0.jpg', 'extension': 'jpg'}, 1399492776: {'path': 'temp/1765860510_2948167_1399492776_054d64e1a7f5a3ab3f36630504c81baa.jpg', 'extension': 'jpg'}, 1399492784: {'path': 'temp/1765860510_2948167_1399492784_e98de7036f5861c1e93b79ce956610f3.jpg', 'extension': 'jpg'}, 1399492846: {'path': 'temp/1765860510_2948167_1399492846_6e6064128389fc3356bf26f0314b9e28.jpg', 'extension': 'jpg'}, 1399492882: {'path': 'temp/1765860510_2948167_1399492882_c8d657404ea6d9f80a6399963d48d4d4.jpg', 'extension': 'jpg'}, 1399492923: {'path': 'temp/1765860510_2948167_1399492923_51d6697c9298c96461a8d9dea643e749.jpg', 'extension': 'jpg'}, 1399492648: {'path': 'temp/1765860510_2948167_1399492648_9c3adb2a1ae02f495e12870a15c50b10.jpg', 'extension': 'jpg'}, 1399492656: {'path': 'temp/1765860510_2948167_1399492656_c4c186a44b3cd6ff719301d4f61d237d.jpg', 'extension': 'jpg'}, 1399492736: {'path': 'temp/1765860510_2948167_1399492736_9d4f2d0f32e56c7d3c7c4f414cd88436.jpg', 'extension': 'jpg'}, 1399492739: {'path': 'temp/1765860510_2948167_1399492739_2570ad3fda4531983a7e39dafe2ae763.jpg', 'extension': 'jpg'}, 1399492746: {'path': 'temp/1765860510_2948167_1399492746_a5dc7bfab4a0ee12fadf2c77650ca362.jpg', 'extension': 'jpg'}, 1399492756: {'path': 'temp/1765860510_2948167_1399492756_a9454a4bc25a1a4ca42f6d4948416521.jpg', 'extension': 'jpg'}, 1399492764: {'path': 'temp/1765860510_2948167_1399492764_cb491c455995774b95d780e05f9a8c79.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 = 29430268; (('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 = 29430268 group by h (('12', 33),) 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=29430268 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 (29430268) 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 (29430268) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15122025 29430268 Nombre de photos uploadées : 33 / 23040 (0%) 15122025 29430268 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 15122025 29430268 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1399492656, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4c186a44b3cd6ff719301d4f61d237d.jpg', 'username': None, 'uploaded_at': 1765796468, 'text': 'image_15122025_12_00_04_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399492648, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c3adb2a1ae02f495e12870a15c50b10.jpg', 'username': None, 'uploaded_at': 1765796468, 'text': 'image_15122025_12_00_24_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399492756, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9454a4bc25a1a4ca42f6d4948416521.jpg', 'username': None, 'uploaded_at': 1765796527, 'text': 'image_15122025_12_00_33_009152m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399492746, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5dc7bfab4a0ee12fadf2c77650ca362.jpg', 'username': None, 'uploaded_at': 1765796527, 'text': 'image_15122025_12_01_14_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001529693603515625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29430268, '2025-12-15' ) 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-15' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2736782,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24654603004455566 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= 2736782 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29417280, 'dashboard_result_id': 18407767, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417280_16-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417292, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29417539, 'dashboard_result_id': 18407768, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417539_16-12-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417553, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29417857, 'dashboard_result_id': 18407769, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417857_16-12-2025_05_36_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417874, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29418257, 'dashboard_result_id': 18407770, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418257_16-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29418265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418275, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29418780, 'dashboard_result_id': 18407771, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418780_16-12-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29418785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418796, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29419219, 'dashboard_result_id': 18407772, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419219_16-12-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29419252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419263, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29419682, 'dashboard_result_id': 18407773, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419682_16-12-2025_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29419718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419719, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29420083, 'dashboard_result_id': 18407774, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420083_16-12-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29420112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420120, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29420617, 'dashboard_result_id': 18407775, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420617_16-12-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29420626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420637, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29421087, 'dashboard_result_id': 18407776, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421087_16-12-2025_05_40_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29421101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421105, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29421545, 'dashboard_result_id': 18407777, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421545_16-12-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29421546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421557, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29422017, 'dashboard_result_id': 18407778, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422017_16-12-2025_05_41_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29422023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422034, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29422537, 'dashboard_result_id': 18407779, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422537_16-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29422546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422558, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29422986, 'dashboard_result_id': 18407780, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422986_16-12-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423007, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29423463, 'dashboard_result_id': 18407781, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29423463_16-12-2025_05_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29423473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29423475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29423479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29423481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423483, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29424399, 'dashboard_result_id': 18407782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424399_16-12-2025_05_43_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424428, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29424626, 'dashboard_result_id': 18407783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424626_16-12-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424642, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29424984, 'dashboard_result_id': 18407784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424984_16-12-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29425000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29425008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425011, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29425574, 'dashboard_result_id': 18407785, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29425574_16-12-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29425583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29425592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425594, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29426150, 'dashboard_result_id': 18407786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426150_16-12-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426169, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29426847, 'dashboard_result_id': 18407787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426847_16-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426866, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29427202, 'dashboard_result_id': 18407788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427202_16-12-2025_05_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427217, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29427865, 'dashboard_result_id': 18407789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427865_16-12-2025_05_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427894, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29428659, 'dashboard_result_id': 18407790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29428659_16-12-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29428713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29428714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29428715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29428716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29428717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29428718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29428719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29428720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29428721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29428722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29428723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29428724, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29429470, 'dashboard_result_id': 18407791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29429470_16-12-2025_05_48_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29429477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29429478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29429479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29429480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29429481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29429482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29429483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29429484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29429485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29429486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29429487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29429488, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29430268, 'dashboard_result_id': 18407792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_15-12-2025_13_59_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29430343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29430344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29430345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29430346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29430347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29430348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29430349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29430350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29430351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29430352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29430353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29430354, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29432889, 'dashboard_result_id': 18407793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29432889_15-12-2025_15_31_13.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29432891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29432892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29432893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29432894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29432895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29432896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29432897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29432898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29432899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29432900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29432901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29432902, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29433153, 'dashboard_result_id': 18407794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433153_15-12-2025_14_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29433164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433173, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29433905, 'dashboard_result_id': 18407795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433905_15-12-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29433943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433954, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29434385, 'dashboard_result_id': 18407796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434385_15-12-2025_14_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29434409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434416, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29434903, 'dashboard_result_id': 18407797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434903_15-12-2025_15_03_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29434945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434956, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29435551, 'dashboard_result_id': 18407798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29435551_15-12-2025_15_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29435586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29435587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29435588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29435589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29435590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29435591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29435592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29435593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29435594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29435595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29435596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29435597, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29436113, 'dashboard_result_id': 18407799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29436113_15-12-2025_17_00_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29436117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29436118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29436119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29436120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29436121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29436122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29436123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29436124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29436125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29436126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29436127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29436128, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29437436, 'dashboard_result_id': 18407800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437436_15-12-2025_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437448, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29437655, 'dashboard_result_id': 18407801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437655_15-12-2025_17_22_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437682, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29438148, 'dashboard_result_id': 18407802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438148_15-12-2025_18_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438161, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29438540, 'dashboard_result_id': 18407803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438540_15-12-2025_18_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438555, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29439224, 'dashboard_result_id': 18407804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439224_15-12-2025_18_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439239, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29439596, 'dashboard_result_id': 18407805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439596_15-12-2025_18_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439621, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29440007, 'dashboard_result_id': 18407806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440007_15-12-2025_19_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29440017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440023, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29440533, 'dashboard_result_id': 18407807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440533_15-12-2025_19_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29440560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440571, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29441116, 'dashboard_result_id': 18407808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441116_15-12-2025_19_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441153, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29441499, 'dashboard_result_id': 18407809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441499_15-12-2025_19_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441553, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29442030, 'dashboard_result_id': 18407810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442030_15-12-2025_20_05_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29442074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442083, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29442683, 'dashboard_result_id': 18407811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442683_15-12-2025_20_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29442692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442703, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29442991, 'dashboard_result_id': 18407812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442991_15-12-2025_20_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443028, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29443452, 'dashboard_result_id': 18407813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29443452_15-12-2025_21_18_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443489, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29444399, 'dashboard_result_id': 18407814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444399_15-12-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29444402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29444405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444413, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29444596, 'dashboard_result_id': 18407815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444596_15-12-2025_21_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29444607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444618, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29444993, 'dashboard_result_id': 18407816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444993_15-12-2025_22_03_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29444997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445008, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29445360, 'dashboard_result_id': 18407817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29445360_15-12-2025_22_18_56.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29445367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29445372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29445373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445375, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29446145, 'dashboard_result_id': 18407818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446145_15-12-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29446157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446159, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29446581, 'dashboard_result_id': 18407819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446581_15-12-2025_22_47_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29446595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446606, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29447171, 'dashboard_result_id': 18407820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447171_15-12-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29447194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447208, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29447888, 'dashboard_result_id': 18407821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447888_15-12-2025_23_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29447965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447967, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29448575, 'dashboard_result_id': 18407822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29448575_15-12-2025_23_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29448600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29448601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29448602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29448603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29448604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29448605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29448606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29448607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29448608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29448609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29448610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29448611, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29449370, 'dashboard_result_id': 18407823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449370_15-12-2025_23_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449384, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2749765, 'mtr_portfolio_id': 29449917, 'dashboard_result_id': 18407824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_01_00_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449937, '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 = 29417280 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': 4233518, 'mtr_portfolio_id': 29417280, 'created_at': datetime.datetime(2025, 12, 16, 5, 34, 30), 'result': '0.08095185877014659', 'result_long': None, 'result_double': None}] Qualite : 0.08095185877014659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29417280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417280_16-12-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29417280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417280_16-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417292, 'pht': 3726}}" where mtr_portfolio_id = 29417280 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29417280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407767, 0.08095185877014659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417280_16-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417292, '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 = 29417539 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': 4233519, 'mtr_portfolio_id': 29417539, 'created_at': datetime.datetime(2025, 12, 16, 5, 35, 29), 'result': '0.059027184305423246', 'result_long': None, 'result_double': None}] Qualite : 0.059027184305423246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29417539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417539_16-12-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29417539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417539_16-12-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417553, 'pht': 3726}}" where mtr_portfolio_id = 29417539 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29417539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407768, 0.059027184305423246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417539_16-12-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417553, '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 = 29417857 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': 4233520, 'mtr_portfolio_id': 29417857, 'created_at': datetime.datetime(2025, 12, 16, 5, 35, 58), 'result': '0.055318831638025964', 'result_long': None, 'result_double': None}] Qualite : 0.055318831638025964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29417857 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417857_16-12-2025_05_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29417857 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417857_16-12-2025_05_36_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417874, 'pht': 3726}}" where mtr_portfolio_id = 29417857 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29417857 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407769, 0.055318831638025964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417857_16-12-2025_05_36_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417874, '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 = 29418257 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': 4233521, 'mtr_portfolio_id': 29418257, 'created_at': datetime.datetime(2025, 12, 16, 5, 36, 7), 'result': '0.03755653016487691', 'result_long': None, 'result_double': None}] Qualite : 0.03755653016487691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29418257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418257_16-12-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29418257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418257_16-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29418265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418275, 'pht': 3726}}" where mtr_portfolio_id = 29418257 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29418257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407770, 0.03755653016487691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418257_16-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29418265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418275, '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 = 29418780 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': 4233522, 'mtr_portfolio_id': 29418780, 'created_at': datetime.datetime(2025, 12, 16, 5, 36, 59), 'result': '0.04541410002051624', 'result_long': None, 'result_double': None}] Qualite : 0.04541410002051624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29418780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418780_16-12-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29418780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418780_16-12-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29418785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418796, 'pht': 3726}}" where mtr_portfolio_id = 29418780 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29418780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407771, 0.04541410002051624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418780_16-12-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29418785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418796, '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 = 29419219 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': 4233523, 'mtr_portfolio_id': 29419219, 'created_at': datetime.datetime(2025, 12, 16, 5, 37, 28), 'result': '0.06921501297178902', 'result_long': None, 'result_double': None}] Qualite : 0.06921501297178902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29419219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419219_16-12-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29419219 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419219_16-12-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29419252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419263, 'pht': 3726}}" where mtr_portfolio_id = 29419219 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29419219 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407772, 0.06921501297178902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419219_16-12-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29419252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419263, '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 = 29419682 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': 4233524, 'mtr_portfolio_id': 29419682, 'created_at': datetime.datetime(2025, 12, 16, 5, 38), 'result': '0.06029692093700118', 'result_long': None, 'result_double': None}] Qualite : 0.06029692093700118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29419682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419682_16-12-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29419682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419682_16-12-2025_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29419718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419719, 'pht': 3726}}" where mtr_portfolio_id = 29419682 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29419682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407773, 0.06029692093700118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419682_16-12-2025_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29419718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419719, '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 = 29420083 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': 4233525, 'mtr_portfolio_id': 29420083, 'created_at': datetime.datetime(2025, 12, 16, 5, 38, 30), 'result': '0.05355868786795753', 'result_long': None, 'result_double': None}] Qualite : 0.05355868786795753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29420083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420083_16-12-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29420083 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420083_16-12-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29420112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420120, 'pht': 3726}}" where mtr_portfolio_id = 29420083 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29420083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407774, 0.05355868786795753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420083_16-12-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29420112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420120, '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 = 29420617 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': 4233526, 'mtr_portfolio_id': 29420617, 'created_at': datetime.datetime(2025, 12, 16, 5, 39, 30), 'result': '0.04938812409421566', 'result_long': None, 'result_double': None}] Qualite : 0.04938812409421566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29420617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420617_16-12-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29420617 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420617_16-12-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29420626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420637, 'pht': 3726}}" where mtr_portfolio_id = 29420617 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29420617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407775, 0.04938812409421566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420617_16-12-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29420626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420637, '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 = 29421087 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': 4233527, 'mtr_portfolio_id': 29421087, 'created_at': datetime.datetime(2025, 12, 16, 5, 40), 'result': '0.04290610390840642', 'result_long': None, 'result_double': None}] Qualite : 0.04290610390840642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29421087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421087_16-12-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29421087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421087_16-12-2025_05_40_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29421101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421105, 'pht': 3726}}" where mtr_portfolio_id = 29421087 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29421087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407776, 0.04290610390840642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421087_16-12-2025_05_40_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29421101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421105, '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 = 29421545 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': 4233528, 'mtr_portfolio_id': 29421545, 'created_at': datetime.datetime(2025, 12, 16, 5, 40, 58), 'result': '0.04801309240932604', 'result_long': None, 'result_double': None}] Qualite : 0.04801309240932604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29421545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421545_16-12-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29421545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421545_16-12-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29421546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421557, 'pht': 3726}}" where mtr_portfolio_id = 29421545 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29421545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407777, 0.04801309240932604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421545_16-12-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29421546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421557, '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 = 29422017 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': 4233529, 'mtr_portfolio_id': 29422017, 'created_at': datetime.datetime(2025, 12, 16, 5, 41, 10), 'result': '0.06779782872789862', 'result_long': None, 'result_double': None}] Qualite : 0.06779782872789862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29422017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422017_16-12-2025_05_41_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29422017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422017_16-12-2025_05_41_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29422023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422034, 'pht': 3726}}" where mtr_portfolio_id = 29422017 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29422017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407778, 0.06779782872789862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422017_16-12-2025_05_41_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29422023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422034, '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 = 29422537 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': 4233530, 'mtr_portfolio_id': 29422537, 'created_at': datetime.datetime(2025, 12, 16, 5, 41, 29), 'result': '0.04055899571148343', 'result_long': None, 'result_double': None}] Qualite : 0.04055899571148343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29422537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422537_16-12-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29422537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422537_16-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29422546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422558, 'pht': 3726}}" where mtr_portfolio_id = 29422537 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29422537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407779, 0.04055899571148343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422537_16-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29422546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422558, '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 = 29422986 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': 4233531, 'mtr_portfolio_id': 29422986, 'created_at': datetime.datetime(2025, 12, 16, 5, 42, 1), 'result': '0.04694578481244342', 'result_long': None, 'result_double': None}] Qualite : 0.04694578481244342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29422986 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422986_16-12-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29422986 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422986_16-12-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423007, 'pht': 3726}}" where mtr_portfolio_id = 29422986 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29422986 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407780, 0.04694578481244342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422986_16-12-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423007, '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 = 29423463 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': 4233532, 'mtr_portfolio_id': 29423463, 'created_at': datetime.datetime(2025, 12, 16, 5, 42, 58), 'result': '0.04124339822580909', 'result_long': None, 'result_double': None}] Qualite : 0.04124339822580909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29423463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29423463_16-12-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29423463 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29423463_16-12-2025_05_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29423473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29423475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29423479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29423481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423483, 'pht': 3726}}" where mtr_portfolio_id = 29423463 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29423463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407781, 0.04124339822580909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29423463_16-12-2025_05_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29423473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29423475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29423479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29423481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423483, '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 = 29424399 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': 4233533, 'mtr_portfolio_id': 29424399, 'created_at': datetime.datetime(2025, 12, 16, 5, 43, 28), 'result': '0.02512365035755094', 'result_long': None, 'result_double': None}] Qualite : 0.02512365035755094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29424399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424399_16-12-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29424399 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424399_16-12-2025_05_43_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424428, 'pht': 3726}}" where mtr_portfolio_id = 29424399 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29424399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407782, 0.02512365035755094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424399_16-12-2025_05_43_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424428, '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 = 29424626 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': 4233534, 'mtr_portfolio_id': 29424626, 'created_at': datetime.datetime(2025, 12, 16, 5, 43, 58), 'result': '0.05394380372095798', 'result_long': None, 'result_double': None}] Qualite : 0.05394380372095798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29424626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424626_16-12-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29424626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424626_16-12-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424642, 'pht': 3726}}" where mtr_portfolio_id = 29424626 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29424626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407783, 0.05394380372095798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424626_16-12-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424642, '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 = 29424984 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': 4233535, 'mtr_portfolio_id': 29424984, 'created_at': datetime.datetime(2025, 12, 16, 5, 44, 29), 'result': '0.05034559648329349', 'result_long': None, 'result_double': None}] Qualite : 0.05034559648329349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29424984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424984_16-12-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29424984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424984_16-12-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29425000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29425008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425011, 'pht': 3726}}" where mtr_portfolio_id = 29424984 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29424984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407784, 0.05034559648329349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424984_16-12-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29425000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29425008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425011, '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 = 29425574 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': 4233536, 'mtr_portfolio_id': 29425574, 'created_at': datetime.datetime(2025, 12, 16, 5, 45, 30), 'result': '0.046036208370044046', 'result_long': None, 'result_double': None}] Qualite : 0.046036208370044046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29425574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29425574_16-12-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29425574 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29425574_16-12-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29425583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29425592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425594, 'pht': 3726}}" where mtr_portfolio_id = 29425574 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29425574 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407785, 0.046036208370044046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29425574_16-12-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29425583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29425592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425594, '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 = 29426150 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': 4233537, 'mtr_portfolio_id': 29426150, 'created_at': datetime.datetime(2025, 12, 16, 5, 45, 59), 'result': '0.041762366355385015', 'result_long': None, 'result_double': None}] Qualite : 0.041762366355385015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29426150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426150_16-12-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29426150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426150_16-12-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426169, 'pht': 3726}}" where mtr_portfolio_id = 29426150 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29426150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407786, 0.041762366355385015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426150_16-12-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426169, '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 = 29426847 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': 4233538, 'mtr_portfolio_id': 29426847, 'created_at': datetime.datetime(2025, 12, 16, 5, 46, 9), 'result': '0.04218885281843253', 'result_long': None, 'result_double': None}] Qualite : 0.04218885281843253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29426847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426847_16-12-2025_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29426847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426847_16-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426866, 'pht': 3726}}" where mtr_portfolio_id = 29426847 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29426847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407787, 0.04218885281843253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426847_16-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426866, '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 = 29427202 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': 4233539, 'mtr_portfolio_id': 29427202, 'created_at': datetime.datetime(2025, 12, 16, 5, 46, 28), 'result': '0.05119309412145792', 'result_long': None, 'result_double': None}] Qualite : 0.05119309412145792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29427202 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427202_16-12-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29427202 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427202_16-12-2025_05_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427217, 'pht': 3726}}" where mtr_portfolio_id = 29427202 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29427202 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407788, 0.05119309412145792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427202_16-12-2025_05_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427217, '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 = 29427865 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': 4233540, 'mtr_portfolio_id': 29427865, 'created_at': datetime.datetime(2025, 12, 16, 5, 46, 59), 'result': '0.058493927355012215', 'result_long': None, 'result_double': None}] Qualite : 0.058493927355012215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29427865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427865_16-12-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29427865 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427865_16-12-2025_05_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427894, 'pht': 3726}}" where mtr_portfolio_id = 29427865 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29427865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407789, 0.058493927355012215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427865_16-12-2025_05_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427894, '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 = 29428659 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': 4233541, 'mtr_portfolio_id': 29428659, 'created_at': datetime.datetime(2025, 12, 16, 5, 47, 29), 'result': '0.05469185611713295', 'result_long': None, 'result_double': None}] Qualite : 0.05469185611713295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29428659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29428659_16-12-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29428659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29428659_16-12-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29428713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29428714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29428715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29428716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29428717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29428718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29428719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29428720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29428721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29428722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29428723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29428724, 'pht': 3726}}" where mtr_portfolio_id = 29428659 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29428659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407790, 0.05469185611713295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29428659_16-12-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29428713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29428714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29428715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29428716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29428717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29428718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29428719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29428720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29428721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29428722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29428723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29428724, '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 = 29429470 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': 4233542, 'mtr_portfolio_id': 29429470, 'created_at': datetime.datetime(2025, 12, 16, 5, 47, 56), 'result': '0.05959943670477109', 'result_long': None, 'result_double': None}] Qualite : 0.05959943670477109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29429470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29429470_16-12-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29429470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29429470_16-12-2025_05_48_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29429477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29429478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29429479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29429480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29429481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29429482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29429483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29429484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29429485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29429486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29429487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29429488, 'pht': 3726}}" where mtr_portfolio_id = 29429470 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29429470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407791, 0.05959943670477109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29429470_16-12-2025_05_48_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29429477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29429478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29429479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29429480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29429481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29429482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29429483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29429484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29429485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29429486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29429487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29429488, '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 = 29430268 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': 4233543, 'mtr_portfolio_id': 29430268, 'created_at': datetime.datetime(2025, 12, 16, 5, 48, 30), 'result': '0.051451681152082505', 'result_long': None, 'result_double': None}] Qualite : 0.051451681152082505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29430268 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29430268 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29430343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29430344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29430345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29430346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29430347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29430348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29430349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29430350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29430351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29430352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29430353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29430354, 'pht': 3726}}" where mtr_portfolio_id = 29430268 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29430268 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407792, 0.051451681152082505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29430343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29430344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29430345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29430346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29430347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29430348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29430349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29430350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29430351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29430352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29430353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29430354, '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 = 29432889 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': 4223393, 'mtr_portfolio_id': 29432889, 'created_at': datetime.datetime(2025, 12, 15, 15, 31, 12), 'result': '0.049269932742528146', 'result_long': None, 'result_double': None}] Qualite : 0.049269932742528146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29432889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29432889_15-12-2025_15_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29432889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29432889_15-12-2025_15_31_13.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29432891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29432892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29432893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29432894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29432895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29432896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29432897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29432898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29432899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29432900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29432901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29432902, 'pht': 3726}}" where mtr_portfolio_id = 29432889 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29432889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407793, 0.049269932742528146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29432889_15-12-2025_15_31_13.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29432891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29432892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29432893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29432894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29432895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29432896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29432897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29432898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29432899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29432900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29432901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29432902, '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 = 29433153 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': 4223435, 'mtr_portfolio_id': 29433153, 'created_at': datetime.datetime(2025, 12, 15, 14, 16, 59), 'result': '0.05549547159519192', 'result_long': None, 'result_double': None}] Qualite : 0.05549547159519192 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29433153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433153_15-12-2025_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29433153 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433153_15-12-2025_14_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29433164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433173, 'pht': 3726}}" where mtr_portfolio_id = 29433153 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29433153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407794, 0.05549547159519192, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433153_15-12-2025_14_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29433164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433173, '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 = 29433905 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': 4223496, 'mtr_portfolio_id': 29433905, 'created_at': datetime.datetime(2025, 12, 15, 14, 32, 59), 'result': '0.050189537108803944', 'result_long': None, 'result_double': None}] Qualite : 0.050189537108803944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29433905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433905_15-12-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29433905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433905_15-12-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29433943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433954, 'pht': 3726}}" where mtr_portfolio_id = 29433905 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29433905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407795, 0.050189537108803944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433905_15-12-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29433943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433954, '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 = 29434385 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': 4223568, 'mtr_portfolio_id': 29434385, 'created_at': datetime.datetime(2025, 12, 15, 14, 46, 57), 'result': '0.05789859931694508', 'result_long': None, 'result_double': None}] Qualite : 0.05789859931694508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29434385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434385_15-12-2025_14_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29434385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434385_15-12-2025_14_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29434409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434416, 'pht': 3726}}" where mtr_portfolio_id = 29434385 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29434385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407796, 0.05789859931694508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434385_15-12-2025_14_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29434409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434416, '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 = 29434903 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': 4223642, 'mtr_portfolio_id': 29434903, 'created_at': datetime.datetime(2025, 12, 15, 15, 3, 1), 'result': '0.05715806604027841', 'result_long': None, 'result_double': None}] Qualite : 0.05715806604027841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29434903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434903_15-12-2025_15_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29434903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434903_15-12-2025_15_03_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29434945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434956, 'pht': 3726}}" where mtr_portfolio_id = 29434903 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29434903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407797, 0.05715806604027841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434903_15-12-2025_15_03_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29434945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434956, '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 = 29435551 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': 4223757, 'mtr_portfolio_id': 29435551, 'created_at': datetime.datetime(2025, 12, 15, 15, 17, 29), 'result': '0.06764419629511244', 'result_long': None, 'result_double': None}] Qualite : 0.06764419629511244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29435551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29435551_15-12-2025_15_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29435551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29435551_15-12-2025_15_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29435586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29435587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29435588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29435589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29435590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29435591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29435592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29435593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29435594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29435595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29435596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29435597, 'pht': 3726}}" where mtr_portfolio_id = 29435551 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29435551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407798, 0.06764419629511244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29435551_15-12-2025_15_17_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29435586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29435587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29435588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29435589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29435590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29435591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29435592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29435593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29435594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29435595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29435596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29435597, '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 = 29436113 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': 4223817, 'mtr_portfolio_id': 29436113, 'created_at': datetime.datetime(2025, 12, 15, 17, 0), 'result': '0.07659178525822109', 'result_long': None, 'result_double': None}] Qualite : 0.07659178525822109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29436113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29436113_15-12-2025_17_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29436113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29436113_15-12-2025_17_00_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29436117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29436118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29436119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29436120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29436121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29436122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29436123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29436124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29436125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29436126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29436127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29436128, 'pht': 3726}}" where mtr_portfolio_id = 29436113 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29436113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407799, 0.07659178525822109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29436113_15-12-2025_17_00_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29436117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29436118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29436119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29436120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29436121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29436122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29436123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29436124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29436125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29436126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29436127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29436128, '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 = 29437436 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': 4230188, 'mtr_portfolio_id': 29437436, 'created_at': datetime.datetime(2025, 12, 15, 17, 2, 58), 'result': '0.06790046533854109', 'result_long': None, 'result_double': None}] Qualite : 0.06790046533854109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29437436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437436_15-12-2025_17_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29437436 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437436_15-12-2025_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437448, 'pht': 3726}}" where mtr_portfolio_id = 29437436 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29437436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407800, 0.06790046533854109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437436_15-12-2025_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437448, '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 = 29437655 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': 4230226, 'mtr_portfolio_id': 29437655, 'created_at': datetime.datetime(2025, 12, 15, 17, 22, 56), 'result': '0.05734789577549617', 'result_long': None, 'result_double': None}] Qualite : 0.05734789577549617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29437655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437655_15-12-2025_17_22_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29437655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437655_15-12-2025_17_22_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437682, 'pht': 3726}}" where mtr_portfolio_id = 29437655 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29437655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407801, 0.05734789577549617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437655_15-12-2025_17_22_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437682, '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 = 29438148 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': 4230291, 'mtr_portfolio_id': 29438148, 'created_at': datetime.datetime(2025, 12, 15, 18, 4, 58), 'result': '0.030854252528100163', 'result_long': None, 'result_double': None}] Qualite : 0.030854252528100163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29438148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438148_15-12-2025_18_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29438148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438148_15-12-2025_18_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438161, 'pht': 3726}}" where mtr_portfolio_id = 29438148 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29438148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407802, 0.030854252528100163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438148_15-12-2025_18_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438161, '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 = 29438540 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': 4230383, 'mtr_portfolio_id': 29438540, 'created_at': datetime.datetime(2025, 12, 15, 18, 18, 58), 'result': '0.052467402099074835', 'result_long': None, 'result_double': None}] Qualite : 0.052467402099074835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29438540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438540_15-12-2025_18_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29438540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438540_15-12-2025_18_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438555, 'pht': 3726}}" where mtr_portfolio_id = 29438540 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29438540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407803, 0.052467402099074835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438540_15-12-2025_18_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438555, '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 = 29439224 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': 4230431, 'mtr_portfolio_id': 29439224, 'created_at': datetime.datetime(2025, 12, 15, 18, 33), 'result': '0.05777832445585288', 'result_long': None, 'result_double': None}] Qualite : 0.05777832445585288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29439224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439224_15-12-2025_18_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29439224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439224_15-12-2025_18_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439239, 'pht': 3726}}" where mtr_portfolio_id = 29439224 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29439224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407804, 0.05777832445585288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439224_15-12-2025_18_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439239, '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 = 29439596 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': 4230465, 'mtr_portfolio_id': 29439596, 'created_at': datetime.datetime(2025, 12, 15, 18, 48, 58), 'result': '0.05076267624795852', 'result_long': None, 'result_double': None}] Qualite : 0.05076267624795852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29439596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439596_15-12-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29439596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439596_15-12-2025_18_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439621, 'pht': 3726}}" where mtr_portfolio_id = 29439596 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29439596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407805, 0.05076267624795852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439596_15-12-2025_18_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439621, '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 = 29440007 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': 4230518, 'mtr_portfolio_id': 29440007, 'created_at': datetime.datetime(2025, 12, 15, 19, 4, 57), 'result': '0.05841197488792572', 'result_long': None, 'result_double': None}] Qualite : 0.05841197488792572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29440007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440007_15-12-2025_19_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29440007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440007_15-12-2025_19_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29440017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440023, 'pht': 3726}}" where mtr_portfolio_id = 29440007 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29440007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407806, 0.05841197488792572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440007_15-12-2025_19_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29440017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440023, '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 = 29440533 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': 4230595, 'mtr_portfolio_id': 29440533, 'created_at': datetime.datetime(2025, 12, 15, 19, 19), 'result': '0.05269368882626987', 'result_long': None, 'result_double': None}] Qualite : 0.05269368882626987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29440533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440533_15-12-2025_19_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29440533 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440533_15-12-2025_19_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29440560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440571, 'pht': 3726}}" where mtr_portfolio_id = 29440533 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29440533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407807, 0.05269368882626987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440533_15-12-2025_19_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29440560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440571, '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 = 29441116 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': 4230668, 'mtr_portfolio_id': 29441116, 'created_at': datetime.datetime(2025, 12, 15, 19, 32, 59), 'result': '0.034061071088877015', 'result_long': None, 'result_double': None}] Qualite : 0.034061071088877015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29441116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441116_15-12-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29441116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441116_15-12-2025_19_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441153, 'pht': 3726}}" where mtr_portfolio_id = 29441116 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29441116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407808, 0.034061071088877015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441116_15-12-2025_19_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441153, '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 = 29441499 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': 4230726, 'mtr_portfolio_id': 29441499, 'created_at': datetime.datetime(2025, 12, 15, 19, 47, 1), 'result': '0.05794444561786007', 'result_long': None, 'result_double': None}] Qualite : 0.05794444561786007 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29441499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441499_15-12-2025_19_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29441499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441499_15-12-2025_19_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441553, 'pht': 3726}}" where mtr_portfolio_id = 29441499 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29441499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407809, 0.05794444561786007, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441499_15-12-2025_19_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441553, '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 = 29442030 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': 4230795, 'mtr_portfolio_id': 29442030, 'created_at': datetime.datetime(2025, 12, 15, 20, 4, 59), 'result': '0.05167239080343178', 'result_long': None, 'result_double': None}] Qualite : 0.05167239080343178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29442030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442030_15-12-2025_20_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29442030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442030_15-12-2025_20_05_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29442074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442083, 'pht': 3726}}" where mtr_portfolio_id = 29442030 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29442030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407810, 0.05167239080343178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442030_15-12-2025_20_05_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29442074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442083, '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 = 29442683 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': 4230892, 'mtr_portfolio_id': 29442683, 'created_at': datetime.datetime(2025, 12, 15, 20, 16, 58), 'result': '0.04016125485648805', 'result_long': None, 'result_double': None}] Qualite : 0.04016125485648805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29442683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442683_15-12-2025_20_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29442683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442683_15-12-2025_20_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29442692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442703, 'pht': 3726}}" where mtr_portfolio_id = 29442683 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29442683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407811, 0.04016125485648805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442683_15-12-2025_20_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29442692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442703, '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 = 29442991 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': 4230945, 'mtr_portfolio_id': 29442991, 'created_at': datetime.datetime(2025, 12, 15, 20, 33, 27), 'result': '0.04594252024178941', 'result_long': None, 'result_double': None}] Qualite : 0.04594252024178941 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29442991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442991_15-12-2025_20_33_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29442991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442991_15-12-2025_20_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443028, 'pht': 3726}}" where mtr_portfolio_id = 29442991 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29442991 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407812, 0.04594252024178941, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442991_15-12-2025_20_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443028, '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 = 29443452 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': 4231009, 'mtr_portfolio_id': 29443452, 'created_at': datetime.datetime(2025, 12, 15, 21, 18, 31), 'result': '0.04011791158892431', 'result_long': None, 'result_double': None}] Qualite : 0.04011791158892431 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29443452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29443452_15-12-2025_21_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29443452 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29443452_15-12-2025_21_18_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443489, 'pht': 3726}}" where mtr_portfolio_id = 29443452 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29443452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407813, 0.04011791158892431, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29443452_15-12-2025_21_18_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443489, '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 = 29444399 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': 4231145, 'mtr_portfolio_id': 29444399, 'created_at': datetime.datetime(2025, 12, 15, 21, 32, 58), 'result': '0.04257873053755531', 'result_long': None, 'result_double': None}] Qualite : 0.04257873053755531 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29444399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444399_15-12-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29444399 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444399_15-12-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29444402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29444405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444413, 'pht': 3726}}" where mtr_portfolio_id = 29444399 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29444399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407814, 0.04257873053755531, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444399_15-12-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29444402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29444405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444413, '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 = 29444596 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': 4231166, 'mtr_portfolio_id': 29444596, 'created_at': datetime.datetime(2025, 12, 15, 21, 47, 1), 'result': '0.05307669717841434', 'result_long': None, 'result_double': None}] Qualite : 0.05307669717841434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29444596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444596_15-12-2025_21_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29444596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444596_15-12-2025_21_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29444607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444618, 'pht': 3726}}" where mtr_portfolio_id = 29444596 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29444596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407815, 0.05307669717841434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444596_15-12-2025_21_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29444607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444618, '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 = 29444993 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': 4231218, 'mtr_portfolio_id': 29444993, 'created_at': datetime.datetime(2025, 12, 15, 22, 3, 30), 'result': '0.026156231899083667', 'result_long': None, 'result_double': None}] Qualite : 0.026156231899083667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29444993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444993_15-12-2025_22_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29444993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444993_15-12-2025_22_03_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29444997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445008, 'pht': 3726}}" where mtr_portfolio_id = 29444993 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29444993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407816, 0.026156231899083667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444993_15-12-2025_22_03_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29444997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445008, '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 = 29445360 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': 4231305, 'mtr_portfolio_id': 29445360, 'created_at': datetime.datetime(2025, 12, 15, 22, 18, 56), 'result': '0.04617439715029883', 'result_long': None, 'result_double': None}] Qualite : 0.04617439715029883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29445360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29445360_15-12-2025_22_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29445360 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29445360_15-12-2025_22_18_56.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29445367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29445372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29445373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445375, 'pht': 3726}}" where mtr_portfolio_id = 29445360 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29445360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407817, 0.04617439715029883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29445360_15-12-2025_22_18_56.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29445367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29445372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29445373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445375, '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 = 29446145 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': 4231367, 'mtr_portfolio_id': 29446145, 'created_at': datetime.datetime(2025, 12, 15, 22, 33), 'result': '0.048975491068622166', 'result_long': None, 'result_double': None}] Qualite : 0.048975491068622166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29446145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446145_15-12-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29446145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446145_15-12-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29446157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446159, 'pht': 3726}}" where mtr_portfolio_id = 29446145 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29446145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407818, 0.048975491068622166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446145_15-12-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29446157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446159, '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 = 29446581 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': 4231406, 'mtr_portfolio_id': 29446581, 'created_at': datetime.datetime(2025, 12, 15, 22, 47, 28), 'result': '0.03563819727724566', 'result_long': None, 'result_double': None}] Qualite : 0.03563819727724566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29446581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446581_15-12-2025_22_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29446581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446581_15-12-2025_22_47_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29446595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446606, 'pht': 3726}}" where mtr_portfolio_id = 29446581 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29446581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407819, 0.03563819727724566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446581_15-12-2025_22_47_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29446595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446606, '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 = 29447171 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': 4231474, 'mtr_portfolio_id': 29447171, 'created_at': datetime.datetime(2025, 12, 15, 23, 3), 'result': '0.052133383816457726', 'result_long': None, 'result_double': None}] Qualite : 0.052133383816457726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29447171 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447171_15-12-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29447171 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447171_15-12-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29447194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447208, 'pht': 3726}}" where mtr_portfolio_id = 29447171 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29447171 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407820, 0.052133383816457726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447171_15-12-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29447194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447208, '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 = 29447888 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': 4231574, 'mtr_portfolio_id': 29447888, 'created_at': datetime.datetime(2025, 12, 15, 23, 17), 'result': '0.038297916335452924', 'result_long': None, 'result_double': None}] Qualite : 0.038297916335452924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29447888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447888_15-12-2025_23_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29447888 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447888_15-12-2025_23_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29447965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447967, 'pht': 3726}}" where mtr_portfolio_id = 29447888 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29447888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407821, 0.038297916335452924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447888_15-12-2025_23_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29447965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447967, '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 = 29448575 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': 4231633, 'mtr_portfolio_id': 29448575, 'created_at': datetime.datetime(2025, 12, 15, 23, 32, 30), 'result': '0.04581517478303277', 'result_long': None, 'result_double': None}] Qualite : 0.04581517478303277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29448575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29448575_15-12-2025_23_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29448575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29448575_15-12-2025_23_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29448600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29448601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29448602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29448603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29448604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29448605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29448606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29448607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29448608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29448609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29448610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29448611, 'pht': 3726}}" where mtr_portfolio_id = 29448575 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29448575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407822, 0.04581517478303277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29448575_15-12-2025_23_32_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29448600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29448601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29448602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29448603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29448604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29448605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29448606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29448607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29448608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29448609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29448610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29448611, '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 = 29449370 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': 4231721, 'mtr_portfolio_id': 29449370, 'created_at': datetime.datetime(2025, 12, 15, 23, 48, 59), 'result': '0.05243189492530596', 'result_long': None, 'result_double': None}] Qualite : 0.05243189492530596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29449370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449370_15-12-2025_23_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29449370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449370_15-12-2025_23_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449384, 'pht': 3726}}" where mtr_portfolio_id = 29449370 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29449370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407823, 0.05243189492530596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449370_15-12-2025_23_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449384, '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 = 29449917 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': 4231772, 'mtr_portfolio_id': 29449917, 'created_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'result': '0.055033526929416536', 'result_long': None, 'result_double': None}] Qualite : 0.055033526929416536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29449917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_01_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29449917 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_01_00_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449937, 'pht': 3726}}" where mtr_portfolio_id = 29449917 and dashboard_run_id = 2749765 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29449917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18407824, 0.055033526929416536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_01_00_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449937, '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 (29417280,29417539,29417857,29418257,29418780,29419219,29419682,29420083,29420617,29421087,29421545,29422017,29422537,29422986,29423463,29424399,29424626,29424984,29425574,29426150,29426847,29427202,29427865,29428659,29429470,29430268,29432889,29433153,29433905,29434385,29434903,29435551,29436113,29437436,29437655,29438148,29438540,29439224,29439596,29440007,29440533,29441116,29441499,29442030,29442683,29442991,29443452,29444399,29444596,29444993,29445360,29446145,29446581,29447171,29447888,29448575,29449370,29449917) result : ((1399431985,), (1399432443,), (1399432911,), (1399432913,), (1399432950,), (1399432963,), (1399432964,), (1399432965,), (1399432976,), (1399433319,), (1399433313,), (1399433324,), (1399433326,), (1399433328,), (1399433339,), (1399433340,), (1399433341,), (1399433342,), (1399433344,), (1399433358,), (1399433360,), (1399433362,), (1399433373,), (1399433374,), (1399433375,), (1399433376,), (1399433395,), (1399433397,), (1399433399,), (1399433401,), (1399433418,), (1399433419,), (1399433420,), (1399433422,), (1399433424,), (1399433427,), (1399433434,), (1399433436,), (1399433438,), (1399433446,), (1399433451,), (1399433452,), (1399433454,), (1399433456,), (1399433465,), (1399433467,), (1399433469,), (1399433471,), (1399433473,), (1399433503,), (1399433505,), (1399433506,), (1399433507,), (1399433519,), (1399433521,), (1399433523,), (1399433526,), (1399433529,), (1399433550,), (1399433552,), (1399433554,), (1399433557,), (1399433567,), (1399433569,), (1399433570,), (1399433572,), (1399433574,), (1399433599,), (1399433601,), (1399433603,), (1399433605,), (1399433607,), (1399433609,), (1399433616,), (1399433617,), (1399433619,), (1399433620,), (1399433653,), (1399433688,), (1399433643,), (1399433645,), (1399433647,), (1399433649,), (1399433651,), (1399433662,), (1399433663,), (1399433664,), (1399433665,), (1399433666,), (1399433667,), (1399433675,), (1399433683,), (1399433686,), (1399433694,), (1399433696,), (1399433698,), (1399433699,), (1399433700,), (1399433701,), (1399433715,), (1399433717,), (1399433718,), (1399433719,), (1399433721,), (1399433723,), (1399433742,), (1399433744,), (1399433746,), (1399433748,), (1399433759,), (1399433760,), (1399433761,), (1399433762,), (1399433764,), (1399433766,), (1399433787,), (1399433789,), (1399433791,), (1399433793,), (1399433795,), (1399433803,), (1399433804,), (1399433805,), (1399433806,), (1399433830,), (1399433832,), (1399433834,), (1399433836,), (1399433838,), (1399433847,), (1399433849,), (1399433851,), (1399433854,), (1399433857,), (1399433860,), (1399433874,), (1399433875,), (1399433881,), (1399433887,), (1399433903,), (1399433904,), (1399433905,), (1399433906,), (1399433907,), (1399433928,), (1399433929,), (1399433930,), (1399433931,), (1399433933,), (1399433934,), (1399434155,), (1399434167,), (1399434200,), (1399434339,), (1399434376,), (1399434413,), (1399434445,), (1399434481,), (1399434723,), (1399434651,), (1399434690,), (1399434957,), (1399435741,), (1399435759,), (1399435761,), (1399435762,), (1399435763,), (1399435795,), (1399435800,), (1399435802,), (1399435804,), (1399435807,), (1399435823,), (1399435824,), (1399435825,), (1399435828,), (1399435831,), (1399435833,), (1399435854,), (1399435857,), (1399435858,), (1399435859,), (1399435860,), (1399435864,), (1399435866,), (1399435882,), (1399435883,), (1399435884,), (1399435885,), (1399435888,), (1399435891,), (1399435912,), (1399435914,), (1399435916,), (1399435918,), (1399435921,), (1399435924,), (1399435935,), (1399435937,), (1399435938,), (1399435941,), (1399435944,), (1399435947,), (1399435964,), (1399435968,), (1399435975,), (1399435984,), (1399435987,), (1399435988,), (1399436006,), (1399436008,), (1399436010,), (1399436014,), (1399436018,), (1399436032,), (1399436034,), (1399436036,), (1399436039,), (1399436053,), (1399436055,), (1399436058,), (1399436062,), (1399436067,), (1399436069,), (1399436097,), (1399436090,), (1399436112,), (1399436114,), (1399436115,), (1399436116,), (1399436118,), (1399436121,), (1399436142,), (1399436143,), (1399436144,), (1399436145,), (1399436147,), (1399436150,), (1399436165,), (1399436167,), (1399436168,), (1399436169,), (1399436199,), (1399436200,), (1399436201,), (1399436214,), (1399436216,), (1399436218,), (1399436237,), (1399436238,), (1399436239,), (1399436240,), (1399436243,), (1399436261,), (1399436263,), (1399436265,), (1399436267,), (1399436293,), (1399436295,), (1399436296,), (1399436297,), (1399436299,), (1399436313,), (1399436314,), (1399436315,), (1399436316,), (1399436318,), (1399436321,), (1399436348,), (1399436351,), (1399436353,), (1399436355,), (1399436358,), (1399436376,), (1399436378,), (1399436381,), (1399436384,), (1399436387,), (1399436393,), (1399436402,), (1399436404,), (1399436406,), (1399436416,), (1399436417,), (1399436419,), (1399436422,), (1399436425,), (1399436428,), (1399436438,), (1399436444,), (1399436446,), (1399436448,), (1399436470,), (1399436471,), (1399436473,), (1399436501,), (1399436489,), (1399436491,), (1399436493,), (1399436495,), (1399436498,), (1399436521,), (1399436528,), (1399436529,), (1399436530,), (1399436533,), (1399436536,), (1399436553,), (1399436561,), (1399436563,), (1399436565,), (1399436568,), (1399436570,), (1399436590,), (1399436592,), (1399436594,), (1399436596,), (1399436598,), (1399436622,), (1399436623,), (1399436624,), (1399436625,), (1399436627,), (1399436656,), (1399436661,), (1399436663,), (1399436665,), (1399436668,), (1399436671,), (1399436684,), (1399436685,), (1399436686,), (1399436689,), (1399436692,), (1399436695,), (1399436714,), (1399436716,), (1399436724,), (1399436729,), (1399436732,), (1399436734,), (1399436736,), (1399436738,), (1399436741,), (1399436749,), (1399436750,), (1399436757,), (1399436762,), (1399436765,), (1399436768,), (1399436794,), (1399436796,), (1399436812,), (1399436815,), (1399436817,), (1399436821,), (1399436824,), (1399436831,), (1399436840,), (1399436842,), (1399436844,), (1399436893,), (1399436898,), (1399436899,), (1399436900,), (1399436935,), (1399436947,), (1399436951,), (1399436967,), (1399436969,), (1399436971,), (1399436973,), (1399436976,), (1399437024,), (1399437013,), (1399437022,), (1399437044,), (1399437046,), (1399437048,), (1399437051,), (1399437078,), (1399437079,), (1399437080,), (1399437081,), (1399437084,), (1399437086,), (1399437099,), (1399437101,), (1399437103,), (1399437134,), (1399437135,), (1399437136,), (1399437137,), (1399437139,), (1399437142,), (1399437165,), (1399437166,), (1399437168,), (1399437170,), (1399437172,), (1399437173,), (1399437182,), (1399437184,), (1399437187,), (1399437190,), (1399437199,), (1399437201,), (1399437204,), (1399437219,), (1399437221,), (1399437222,), (1399437224,), (1399437227,), (1399437230,), (1399437257,), (1399437258,), (1399437259,), (1399437260,), (1399437263,), (1399437265,), (1399437281,), (1399437284,), (1399437286,), (1399437325,), (1399437326,), (1399437327,), (1399437328,), (1399437331,), (1399437333,), (1399437347,), (1399437350,), (1399437353,), (1399437358,), (1399437361,), (1399437364,), (1399437372,), (1399437374,), (1399437375,), (1399437377,), (1399437379,), (1399437436,), (1399437472,), (1399437506,), (1399437543,), (1399437625,), (1399437629,), (1399437633,), (1399437636,), (1399437639,), (1399437643,), (1399437872,), (1399437743,), (1399437776,), (1399437807,), (1399437840,), (1399438224,), (1399438247,), (1399438249,), (1399438421,), (1399438430,), (1399438451,), (1399438452,), (1399438455,), (1399438486,), (1399438815,), (1399438845,), (1399438877,), (1399439303,), (1399439336,), (1399439342,), (1399439344,), (1399439347,), (1399439350,), (1399439379,), (1399439413,), (1399439444,), (1399439476,), (1399439737,), (1399439743,), (1399439745,), (1399439761,), (1399439794,), (1399439838,), (1399439842,), (1399439843,), (1399439870,), (1399439872,), (1399439874,), (1399439898,), (1399439922,), (1399439924,), (1399439926,), (1399439961,), (1399439963,), (1399439965,), (1399439967,), (1399439985,), (1399439986,), (1399439987,), (1399439988,), (1399440009,), (1399440011,), (1399440013,), (1399440015,), (1399440040,), (1399440044,), (1399440046,), (1399440047,), (1399440050,), (1399440054,), (1399440084,), (1399440078,), (1399440080,), (1399440082,), (1399440102,), (1399440103,), (1399440104,), (1399440105,), (1399440108,), (1399440111,), (1399440124,), (1399440125,), (1399440127,), (1399440129,), (1399440132,), (1399440135,), (1399440149,), (1399440151,), (1399440153,), (1399440180,), (1399440182,), (1399440184,), (1399440186,), (1399440189,), (1399440191,), (1399440201,), (1399440203,), (1399440205,), (1399440207,), (1399440226,), (1399440227,), (1399440228,), (1399440229,), (1399440253,), (1399440259,), (1399440261,), (1399440263,), (1399440266,), (1399440271,), (1399440288,), (1399440290,), (1399440292,), (1399440294,), (1399440297,), (1399440300,), (1399440311,), (1399440312,), (1399440313,), (1399440314,), (1399440341,), (1399440344,), (1399440346,), (1399440369,), (1399440371,), (1399440373,), (1399440377,), (1399440397,), (1399440399,), (1399440401,), (1399440403,), (1399440420,), (1399440421,), (1399440441,), (1399440443,), (1399440445,), (1399440447,), (1399440450,), (1399440482,), (1399440479,), (1399440480,), (1399440520,), (1399440521,), (1399440522,), (1399440536,), (1399440538,), (1399440540,), (1399440542,), (1399440545,), (1399440546,), (1399440572,), (1399440573,), (1399440574,), (1399440575,), (1399440578,), (1399440581,), (1399440596,), (1399440598,), (1399440600,), (1399440626,), (1399440628,), (1399440630,), (1399440632,), (1399440635,), (1399440638,), (1399440649,), (1399440651,), (1399440655,), (1399440659,), (1399440667,), (1399440671,), (1399440676,), (1399440677,), (1399440678,), (1399440685,), (1399440688,), (1399440692,), (1399440694,), (1399440697,), (1399440710,), (1399440711,), (1399440713,), (1399440714,), (1399440717,), (1399440749,), (1399440751,), (1399440753,), (1399440755,), (1399440758,), (1399440773,), (1399440775,), (1399440777,), (1399440798,), (1399440799,), (1399440800,), (1399440809,), (1399440847,), (1399440855,), (1399440857,), (1399440859,), (1399440891,), (1399440894,), (1399440895,), (1399440914,), (1399440916,), (1399440918,), (1399440922,), (1399440926,), (1399440963,), (1399440983,), (1399440984,), (1399440986,), (1399440988,), (1399441012,), (1399441014,), (1399441016,), (1399441018,), (1399441021,), (1399441041,), (1399441042,), (1399441043,), (1399441044,), (1399441066,), (1399441068,), (1399441070,), (1399441072,), (1399441090,), (1399441091,), (1399441092,), (1399441118,), (1399441122,), (1399441124,), (1399441146,), (1399441148,), (1399441150,), (1399441155,), (1399441159,), (1399441163,), (1399441177,), (1399441179,), (1399441181,), (1399441183,), (1399441186,), (1399441202,), (1399441205,), (1399441210,), (1399441214,), (1399441221,), (1399441227,), (1399441234,), (1399441237,), (1399441240,), (1399441242,), (1399441247,), (1399441249,), (1399441251,), (1399441274,), (1399441275,), (1399441278,), (1399441283,), (1399441288,), (1399441293,), (1399441297,), (1399441299,), (1399441300,), (1399441304,), (1399441306,), (1399441309,), (1399441312,), (1399441337,), (1399441339,), (1399441342,), (1399441344,), (1399441704,), (1399441572,), (1399441605,), (1399441637,), (1399441668,), (1399442096,), (1399442124,), (1399442171,), (1399442225,), (1399442286,), (1399442825,), (1399442858,), (1399442890,), (1399443000,), (1399443002,), (1399443004,), (1399443006,), (1399443375,), (1399443381,), (1399443389,), (1399443390,), (1399443415,), (1399443573,), (1399443579,), (1399443580,), (1399443596,), (1399443598,), (1399443599,), (1399443601,), (1399443621,), (1399443622,), (1399443623,), (1399443646,), (1399443670,), (1399443691,), (1399443696,), (1399443954,), (1399443969,), (1399444076,), (1399444074,), (1399444075,), (1399444295,), (1399444329,), (1399444335,), (1399444337,), (1399444355,), (1399444470,), (1399444473,), (1399444475,), (1399444477,), (1399444480,), (1399444497,), (1399444500,), (1399444503,), (1399444506,), (1399444510,), (1399444528,), (1399444541,), (1399444629,), (1399444649,), (1399444652,), (1399444654,), (1399444665,), (1399444667,), (1399444670,), (1399444841,), (1399444842,), (1399444843,), (1399444844,), (1399444858,), (1399444860,), (1399444862,), (1399444898,), (1399444899,), (1399444900,), (1399444914,), (1399444916,), (1399444919,), (1399444921,), (1399444924,), (1399444951,), (1399444953,), (1399444955,), (1399444957,), (1399444972,), (1399444973,), (1399444974,), (1399444975,), (1399444996,), (1399444999,), (1399445001,), (1399445003,), (1399445006,), (1399445031,), (1399445023,), (1399445024,), (1399445026,), (1399445028,), (1399445056,), (1399445058,), (1399445060,), (1399445076,), (1399445078,), (1399445079,), (1399445080,), (1399445102,), (1399445103,), (1399445104,), (1399445105,), (1399445108,), (1399445111,), (1399445122,), (1399445124,), (1399445126,), (1399445128,), (1399445131,), (1399445153,), (1399445154,), (1399445155,), (1399445182,), (1399445184,), (1399445186,), (1399445188,), (1399445228,), (1399445247,), (1399445251,), (1399445254,), (1399445264,), (1399445267,), (1399445320,), (1399445323,), (1399445327,), (1399445332,), (1399445336,), (1399445343,), (1399445370,), (1399445374,), (1399445375,), (1399445602,), (1399445628,), (1399445664,), (1399445697,), (1399445731,), (1399445739,), (1399445759,), (1399445760,), (1399445761,), (1399445762,), (1399445765,), (1399445788,), (1399445789,), (1399445790,), (1399445791,), (1399445794,), (1399445797,), (1399445844,), (1399445853,), (1399445855,), (1399446035,), (1399446038,), (1399446040,), (1399446065,), (1399446252,), (1399446229,), (1399446248,), (1399446250,), (1399446278,), (1399446289,), (1399446329,), (1399446356,), (1399446359,), (1399446363,), (1399446379,), (1399446381,), (1399446383,), (1399446385,), (1399446388,), (1399446406,), (1399446408,), (1399446410,), (1399446414,), (1399446418,), (1399446421,), (1399446644,), (1399446680,), (1399446713,), (1399446747,), (1399446776,), (1399446787,), (1399446790,), (1399446793,), (1399446797,), (1399446801,), (1399446827,), (1399446829,), (1399446831,), (1399446833,), (1399446836,), (1399446838,), (1399446876,), (1399446884,), (1399446885,), (1399446886,), (1399446944,), (1399446951,), (1399446953,), (1399446955,), (1399446975,), (1399446977,), (1399446979,), (1399446981,), (1399446984,), (1399446987,), (1399447007,), (1399447008,), (1399447009,), (1399447012,), (1399447015,), (1399447018,), (1399447035,), (1399447037,), (1399447039,), (1399447042,), (1399447048,), (1399447050,), (1399447064,), (1399447065,), (1399447067,), (1399447069,), (1399447070,), (1399447071,), (1399447078,), (1399447079,), (1399447081,), (1399447082,), (1399447085,), (1399447086,), (1399447089,), (1399447090,), (1399447093,), (1399447094,), (1399452528,), (1399452527,), (1399452545,), (1399452546,), (1399452548,), (1399452550,), (1399452695,), (1399452697,), (1399452699,), (1399452701,), (1399452704,), (1399452743,), (1399452746,), (1399452757,), (1399452766,), (1399452774,), (1399452778,), (1399452881,), (1399452945,), (1399453013,), (1399453110,), (1399453396,), (1399453429,), (1399453440,), (1399453783,), (1399453824,), (1399453772,), (1399453774,), (1399453777,), (1399453780,), (1399453798,), (1399453799,), (1399453800,), (1399453803,), (1399453806,), (1399453809,), (1399453817,), (1399453819,), (1399453821,), (1399453829,), (1399453831,), (1399453834,), (1399453836,), (1399453857,), (1399453859,), (1399453861,), (1399454199,), (1399454203,), (1399454208,), (1399454224,), (1399454226,), (1399454228,), (1399454232,), (1399454236,), (1399454259,), (1399454261,), (1399454263,), (1399454265,), (1399454268,), (1399454282,), (1399454284,), (1399454285,), (1399454287,), (1399454326,), (1399454328,), (1399454329,), (1399454330,), (1399454352,), (1399454353,), (1399454354,), (1399454355,), (1399454372,), (1399454374,), (1399454381,), (1399454458,), (1399454459,), (1399454460,), (1399454461,), (1399454464,), (1399454465,), (1399454561,), (1399454595,), (1399454633,), (1399454929,), (1399454934,), (1399454939,), (1399454943,), (1399455355,), (1399455327,), (1399455349,), (1399455352,), (1399455523,), (1399455547,), (1399455571,), (1399455604,), (1399455934,), (1399455937,), (1399455941,), (1399455945,), (1399455949,), (1399455954,), (1399455971,), (1399455972,), (1399456006,), (1399456040,), (1399456077,), (1399456114,), (1399456212,), (1399456214,), (1399456216,), (1399456270,), (1399456272,), (1399456273,), (1399456274,), (1399456442,), (1399456443,), (1399456444,), (1399456445,), (1399456447,), (1399456449,), (1399456481,), (1399456483,), (1399456485,), (1399456487,), (1399456490,), (1399456504,), (1399456505,), (1399456507,), (1399456514,), (1399456519,), (1399456522,), (1399456591,), (1399456613,), (1399456615,), (1399456617,), (1399456620,), (1399456858,), (1399456859,), (1399456860,), (1399457001,), (1399457003,), (1399457010,), (1399457012,), (1399457015,), (1399457018,), (1399457109,), (1399457110,), (1399457113,), (1399457203,), (1399457287,), (1399457378,), (1399457458,), (1399457462,), (1399457472,), (1399457496,), (1399457498,), (1399457499,), (1399457500,), (1399457502,), (1399457504,), (1399457543,), (1399457538,), (1399457541,), (1399457586,), (1399457587,), (1399457610,), (1399457650,), (1399457693,), (1399457728,), (1399458077,), (1399458100,), (1399458102,), (1399458104,), (1399458107,), (1399458194,), (1399458214,), (1399458262,), (1399458285,), (1399458316,), (1399458330,), (1399458339,), (1399458340,), (1399458343,), (1399458356,), (1399458366,), (1399458399,), (1399458430,), (1399458462,), (1399458495,), (1399458764,), (1399458807,), (1399458816,), (1399458822,), (1399459076,), (1399459077,), (1399459078,), (1399459079,), (1399459082,), (1399459085,), (1399459109,), (1399459110,), (1399459111,), (1399459112,), (1399459156,), (1399459157,), (1399459159,), (1399459192,), (1399459193,), (1399459194,), (1399459195,), (1399459215,), (1399459217,), (1399459219,), (1399459221,), (1399459223,), (1399459266,), (1399459267,), (1399459282,), (1399459284,), (1399459286,), (1399459288,), (1399459347,), (1399459357,), (1399459360,), (1399459362,), (1399459365,), (1399459368,), (1399459396,), (1399459387,), (1399459389,), (1399459391,), (1399459394,), (1399459412,), (1399459414,), (1399459416,), (1399459417,), (1399459435,), (1399459437,), (1399459439,), (1399459441,), (1399459444,), (1399459447,), (1399459467,), (1399459468,), (1399459469,), (1399459470,), (1399459472,), (1399459488,), (1399459535,), (1399459536,), (1399459537,), (1399459538,), (1399459540,), (1399459561,), (1399459563,), (1399459564,), (1399459566,), (1399459569,), (1399459572,), (1399459587,), (1399459589,), (1399459594,), (1399459597,), (1399459600,), (1399459603,), (1399459612,), (1399459613,), (1399459614,), (1399459615,), (1399459693,), (1399459725,), (1399459755,), (1399459769,), (1399459783,), (1399459789,), (1399459830,), (1399459832,), (1399459834,), (1399459838,), (1399459841,), (1399459845,), (1399459877,), (1399459879,), (1399459881,), (1399459883,), (1399459986,), (1399459992,), (1399460001,), (1399460002,), (1399460005,), (1399460008,), (1399460020,), (1399460022,), (1399460024,), (1399460026,), (1399460028,), (1399460031,), (1399460103,), (1399460104,), (1399460105,), (1399460213,), (1399460218,), (1399460239,), (1399460242,), (1399460251,), (1399460258,), (1399460277,), (1399460278,), (1399460280,), (1399460282,), (1399460285,), (1399460383,), (1399460736,), (1399460372,), (1399460374,), (1399460376,), (1399460378,), (1399460381,), (1399460396,), (1399460397,), (1399460398,), (1399460401,), (1399460404,), (1399460407,), (1399460455,), (1399460545,), (1399460636,), (1399460729,), (1399460733,), (1399460808,), (1399460810,), (1399460863,), (1399460867,), (1399460936,), (1399460937,), (1399460938,), (1399460973,), (1399460975,), (1399460977,), (1399460979,), (1399460982,), (1399460996,), (1399461001,), (1399461009,), (1399461012,), (1399461049,), (1399461050,), (1399461070,), (1399461072,), (1399461074,), (1399461076,), (1399461079,), (1399461098,), (1399461099,), (1399461100,), (1399461101,), (1399461102,), (1399461105,), (1399461123,), (1399461125,), (1399461127,), (1399461129,), (1399461132,), (1399461151,), (1399461152,), (1399461154,), (1399461170,), (1399461171,), (1399461172,), (1399461173,), (1399461176,), (1399461179,), (1399461193,), (1399461195,), (1399461197,), (1399461199,), (1399461202,), (1399461545,), (1399461579,), (1399461613,), (1399461646,), (1399461680,), (1399461831,), (1399461832,), (1399461838,), (1399461996,), (1399461851,), (1399461887,), (1399461919,), (1399461955,), (1399462595,), (1399462665,), (1399462725,), (1399462789,), (1399462858,), (1399463633,), (1399463696,), (1399463758,), (1399463831,), (1399464668,), (1399464867,), (1399464917,), (1399464933,), (1399464943,), (1399464976,), (1399465186,), (1399465246,), (1399465309,), (1399465368,), (1399465752,), (1399465765,), (1399465780,), (1399465788,), (1399465792,), (1399465812,), (1399465834,), (1399465837,), (1399465838,), (1399465841,), (1399465844,), (1399465847,), (1399465856,), (1399465857,), (1399465860,), (1399465864,), (1399466011,), (1399466074,), (1399466302,), (1399466304,), (1399466306,), (1399466307,), (1399466310,), (1399466341,), (1399466342,), (1399466343,), (1399466411,), (1399466444,), (1399466499,), (1399466551,), (1399466553,), (1399466571,), (1399466626,), (1399466738,), (1399466742,), (1399466744,), (1399466871,), (1399466890,), (1399466898,), (1399466900,), (1399466902,), (1399466967,), (1399466984,), (1399466986,), (1399466987,), (1399466990,), (1399467027,), (1399467089,), (1399467018,), (1399467020,), (1399467022,), (1399467024,), (1399467041,), (1399467043,), (1399467046,), (1399467053,), (1399467058,), (1399467059,), (1399467067,), (1399467070,), (1399467085,), (1399467096,), (1399467136,), (1399467176,), (1399467240,), (1399467304,), (1399467695,), (1399467758,), (1399467829,), (1399467916,), (1399468028,), (1399469020,), (1399469114,), (1399469209,), (1399470213,), (1399470289,), (1399470344,), (1399470363,), (1399470367,), (1399470370,), (1399470428,), (1399470476,), (1399470514,), (1399470552,), (1399470588,), (1399470654,), (1399471445,), (1399471506,), (1399471599,), (1399472193,), (1399472273,), (1399472331,), (1399472371,), (1399472408,), (1399472441,), (1399472772,), (1399472805,), (1399472837,), (1399472872,), (1399472905,), (1399472942,), (1399473257,), (1399473291,), (1399473332,), (1399473342,), (1399473422,), (1399473458,), (1399473491,), (1399473572,), (1399473661,), (1399473783,), (1399474092,), (1399474162,), (1399474246,), (1399474315,), (1399474403,), (1399474816,), (1399474844,), (1399474863,), (1399474899,), (1399474903,), (1399474913,), (1399474953,), (1399474987,), (1399475025,), (1399475437,), (1399475318,), (1399475353,), (1399475394,), (1399475412,), (1399475451,), (1399475452,), (1399475453,), (1399475454,), (1399475471,), (1399475472,), (1399475474,), (1399475476,), (1399475516,), (1399475622,), (1399476381,), (1399476434,), (1399476435,), (1399476436,), (1399476438,), (1399476743,), (1399476789,), (1399476820,), (1399477634,), (1399477689,), (1399477847,), (1399477931,), (1399477967,), (1399478002,), (1399478427,), (1399478459,), (1399478473,), (1399478476,), (1399478487,), (1399478537,), (1399478760,), (1399478821,), (1399478874,), (1399479006,), (1399479129,), (1399479568,), (1399479569,), (1399479678,), (1399479693,), (1399479795,), (1399479804,), (1399479901,), (1399479917,), (1399480352,), (1399480390,), (1399480426,), (1399480456,), (1399480491,), (1399480922,), (1399481062,), (1399481172,), (1399481294,), (1399481350,), (1399481613,), (1399481614,), (1399481615,), (1399481616,), (1399481650,), (1399481651,), (1399481652,), (1399481653,), (1399481655,), (1399482532,), (1399482548,), (1399482551,), (1399482553,), (1399482555,), (1399482575,), (1399482580,), (1399482585,), (1399482644,), (1399482741,), (1399482828,), (1399482970,), (1399483008,), (1399483076,), (1399483287,), (1399483322,), (1399483360,), (1399483399,), (1399483435,), (1399483848,), (1399483736,), (1399483773,), (1399483809,), (1399483989,), (1399483991,), (1399483993,), (1399484089,), (1399484131,), (1399484173,), (1399484222,), (1399484256,), (1399484655,), (1399484695,), (1399484729,), (1399484791,), (1399484827,), (1399485331,), (1399485369,), (1399485401,), (1399485435,), (1399485468,), (1399486466,), (1399486611,), (1399486764,), (1399486917,), (1399487035,), (1399487810,), (1399487857,), (1399487892,), (1399487915,), (1399487917,), (1399487919,), (1399487941,), (1399487943,), (1399487971,), (1399488024,), (1399488091,), (1399489224,), (1399489352,), (1399489500,), (1399490144,), (1399490146,), (1399490148,), (1399490285,), (1399490379,), (1399490406,), (1399490439,), (1399490441,), (1399490443,), (1399490445,), (1399490448,), (1399490450,), (1399490459,), (1399490461,), (1399490463,), (1399490466,), (1399490469,), (1399490473,), (1399490481,), (1399490482,), (1399490484,), (1399490488,), (1399490543,), (1399490579,), (1399491791,), (1399491826,), (1399491861,), (1399491896,), (1399491931,), (1399492282,), (1399492370,), (1399492439,), (1399492527,), (1399492659,), (1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,), (1399507486,), (1399507524,), (1399507526,), (1399507527,), (1399507528,), (1399507544,), (1399507545,), (1399507547,), (1399507549,), (1399507552,), (1399507555,), (1399507569,), (1399507570,), (1399507571,), (1399507572,), (1399507593,), (1399507594,), (1399507595,), (1399507596,), (1399507599,), (1399507602,), (1399507614,), (1399507616,), (1399507618,), (1399507620,), (1399507622,), (1399507640,), (1399507642,), (1399507644,), (1399507646,), (1399507667,), (1399507687,), (1399507720,), (1399507755,), (1399507788,), (1399507815,), (1399507817,), (1399507821,), (1399507856,), (1399507896,), (1399508332,), (1399508337,), (1399508342,), (1399508345,), (1399508348,), (1399508354,), (1399508355,), (1399508359,), (1399508362,), (1399508666,), (1399508495,), (1399508530,), (1399508563,), (1399508596,), (1399508631,), (1399508968,), (1399509057,), (1399509352,), (1399509354,), (1399509356,), (1399509358,), (1399509361,), (1399509457,), (1399509488,), (1399509518,), (1399509551,), (1399509586,), (1399509620,), (1399509963,), (1399509983,), (1399509985,), (1399510100,), (1399510134,), (1399510164,), (1399510195,), (1399510227,), (1399510366,), (1399510367,), (1399510369,), (1399510372,), (1399510375,), (1399510377,), (1399510388,), (1399510397,), (1399510401,), (1399510405,), (1399510532,), (1399510591,), (1399510664,), (1399510722,), (1399510903,), (1399510939,), (1399510978,), (1399511194,), (1399511196,), (1399511198,), (1399511293,), (1399511313,), (1399511315,), (1399511366,), (1399511368,), (1399511384,), (1399511421,), (1399511425,), (1399511518,), (1399511617,), (1399511658,), (1399511857,), (1399511859,), (1399511885,), (1399511879,), (1399511881,), (1399511883,), (1399512010,), (1399512012,), (1399512014,), (1399512018,), (1399512026,), (1399512044,), (1399512051,), (1399512053,), (1399512055,), (1399512059,), (1399512084,), (1399512085,), (1399512086,), (1399512087,), (1399512119,), (1399512122,), (1399512124,), (1399512131,), (1399512406,), (1399512408,), (1399512410,), (1399512412,), (1399512415,), (1399512417,), (1399512449,), (1399512451,), (1399512453,), (1399512455,), (1399512466,), (1399512468,), (1399512470,), (1399512472,), (1399512475,), (1399512492,), (1399512493,), (1399512494,), (1399512495,), (1399512498,), (1399512514,), (1399512517,), (1399512520,), (1399512523,), (1399512525,), (1399512573,), (1399512575,), (1399512577,), (1399512579,), (1399512601,), (1399512636,), (1399512788,), (1399512789,), (1399512790,), (1399512792,), (1399512820,), (1399512822,), (1399512850,), (1399512854,), (1399512856,), (1399512863,), (1399512864,), (1399512867,), (1399512964,), (1399512969,), (1399512971,), (1399512981,), (1399512982,), (1399512983,), (1399513015,), (1399513018,), (1399513020,), (1399513022,), (1399513045,), (1399513034,), (1399513035,), (1399513036,), (1399513038,), (1399513042,), (1399513070,), (1399513072,), (1399513074,), (1399513076,), (1399513116,), (1399513117,), (1399513118,), (1399513119,), (1399513150,), (1399513152,), (1399513154,), (1399513156,), (1399513174,), (1399513178,), (1399513238,), (1399513273,), (1399513308,), (1399513317,), (1399513338,), (1399513345,), (1399513426,), (1399513428,), (1399513430,), (1399513431,), (1399513488,), (1399513489,), (1399513491,), (1399513493,), (1399513495,), (1399513498,), (1399513520,), (1399513526,), (1399513538,), (1399513539,), (1399513746,), (1399513765,), (1399513766,), (1399513767,), (1399513770,), (1399513795,), (1399513798,), (1399513800,), (1399513802,), (1399513805,), (1399513830,), (1399513831,), (1399513832,), (1399513854,), (1399513856,), (1399513858,), (1399513860,), (1399513863,), (1399513898,), (1399513899,), (1399513900,), (1399513901,), (1399513904,), (1399513906,), (1399514000,), (1399514010,), (1399514020,), (1399514023,), (1399514202,), (1399514205,), (1399514207,), (1399514603,), (1399514458,), (1399514490,), (1399514552,), (1399514723,), (1399514732,), (1399514747,), (1399514779,), (1399514815,), (1399515038,), (1399515039,), (1399515040,), (1399515041,), (1399515043,), (1399515075,), (1399515076,), (1399515077,), (1399515127,), (1399515132,), (1399515134,), (1399515136,), (1399515139,), (1399515142,), (1399515173,), (1399515175,), (1399515177,), (1399515210,), (1399515261,), (1399515282,), (1399515317,), (1399515318,), (1399515319,), (1399515360,), (1399515365,), (1399515367,), (1399515370,), (1399515373,), (1399515376,), (1399515412,), (1399515415,), (1399515416,), (1399515417,), (1399515420,), (1399515423,), (1399515437,), (1399515448,), (1399515453,), (1399515481,), (1399515490,), (1399515492,), (1399515494,), (1399515497,), (1399515582,), (1399515584,), (1399515599,), (1399515602,), (1399515605,), (1399515608,), (1399515622,), (1399515623,), (1399515627,), (1399515633,), (1399515635,), (1399515640,), (1399515643,), (1399515645,), (1399515665,), (1399515668,), (1399515672,), (1399515677,), (1399515680,), (1399515686,), (1399515687,), (1399515692,), (1399515701,), (1399515703,), (1399515732,), (1399515720,), (1399515731,), (1399515746,), (1399515769,), (1399515836,), (1399515900,), (1399515965,), (1399516002,), (1399516148,), (1399516150,), (1399516153,), (1399516156,), (1399516177,), (1399516178,), (1399516179,), (1399516180,), (1399516183,), (1399516229,), (1399516231,), (1399516233,), (1399516235,), (1399516239,), (1399516275,), (1399516277,), (1399516279,), (1399516281,), (1399516312,), (1399516314,), (1399516348,), (1399516350,), (1399516352,), (1399516354,), (1399516357,), (1399516378,), (1399516379,), (1399516380,), (1399516381,), (1399516384,), (1399516387,), (1399516413,), (1399516415,), (1399516417,), (1399516419,), (1399516437,), (1399516438,), (1399516439,), (1399516440,), (1399516442,), (1399516472,), (1399516475,), (1399516478,), (1399516480,), (1399516484,), (1399516487,), (1399516534,), (1399516536,), (1399516538,), (1399516540,), (1399516566,), (1399516567,), (1399516568,), (1399516569,), (1399516572,), (1399516575,), (1399516593,), (1399516595,), (1399516598,), (1399516600,), (1399516604,), (1399516608,), (1399516672,), (1399516663,), (1399516668,), (1399516670,), (1399516683,), (1399516684,), (1399516686,), (1399516688,), (1399516691,), (1399516701,), (1399516704,), (1399516790,), (1399517145,), (1399526276,), (1399526273,), (1399526292,), (1399526293,), (1399526294,), (1399526295,), (1399526298,), (1399526311,), (1399526317,), (1399526319,), (1399526320,), (1399526337,), (1399526350,), (1399526353,), (1399526386,), (1399526388,), (1399526389,), (1399526420,), (1399526422,), (1399526424,), (1399526427,), (1399526430,), (1399526440,), (1399526442,), (1399526444,), (1399526446,), (1399526450,), (1399526453,), (1399526487,), (1399526525,), (1399526532,), (1399526533,), (1399526534,), (1399526563,), (1399526567,), (1399526571,), (1399526574,), (1399526580,), (1399526581,), (1399526582,), (1399526586,), (1399526590,), (1399526601,), (1399526599,), (1399526600,), (1399526630,), (1399526632,), (1399526634,), (1399526651,), (1399526652,), (1399526653,), (1399526654,), (1399526657,), (1399526674,), (1399526676,), (1399526678,), (1399526680,), (1399526682,), (1399526692,), (1399526694,), (1399526696,), (1399526720,), (1399526721,), (1399526728,), (1399526734,), (1399526742,), (1399526758,), (1399526759,), (1399526762,), (1399526765,), (1399526768,), (1399526771,), (1399526791,), (1399526792,), (1399526797,), (1399526829,), (1399528304,), (1399528342,), (1399528343,), (1399528344,), (1399528345,), (1399528640,), (1399528641,), (1399528642,), (1399528643,), (1399528646,), (1399528647,), (1399528663,), (1399528665,), (1399528668,), (1399528672,), (1399528676,), (1399528689,), (1399528691,), (1399528705,), (1399528707,), (1399528708,), (1399528710,), (1399528741,), (1399528744,), (1399528745,), (1399528746,), (1399528749,), (1399528752,), (1399528765,), (1399528766,), (1399528768,), (1399528770,), (1399530780,), (1399530656,), (1399530714,), (1399531389,), (1399531400,), (1399531424,), (1399531490,), (1399531556,), (1399531821,), (1399531823,), (1399532242,), (1399532275,), (1399532311,), (1399532344,), (1399532533,), (1399532563,), (1399532588,), (1399532591,), (1399532616,), (1399532620,), (1399532665,), (1399532671,), (1399532679,), (1399532689,), (1399532691,), (1399532692,), (1399532972,), (1399533014,), (1399533048,), (1399533083,), (1399533455,), (1399533488,), (1399533519,), (1399533543,), (1399533548,), (1399533551,), (1399533651,), (1399533653,), (1399533654,), (1399533656,), (1399533659,), (1399533684,), (1399533686,), (1399533688,), (1399533690,), (1399533803,), (1399533813,), (1399533903,), (1399533977,), (1399534012,), (1399534045,), (1399534077,), (1399534110,), (1399534270,), (1399534315,), (1399534356,), (1399534393,), (1399534433,), (1399534619,), (1399534652,), (1399534687,), (1399535156,), (1399535216,), (1399535286,), (1399535351,), (1399535833,), (1399535977,), (1399536030,), (1399536213,), (1399536214,), (1399536215,), (1399536216,), (1399536219,), (1399536612,), (1399536808,), (1399536888,), (1399536889,), (1399536890,), (1399536891,), (1399536893,), (1399536915,), (1399536916,), (1399536917,), (1399536918,), (1399536921,), (1399536933,), (1399536935,), (1399536937,), (1399536939,), (1399536942,), (1399536964,), (1399536966,), (1399536968,), (1399536984,), (1399536980,), (1399536981,), (1399536982,), (1399537006,), (1399537007,), (1399537008,), (1399537009,), (1399537012,), (1399537025,), (1399537027,), (1399537029,), (1399537031,), (1399537034,), (1399537037,), (1399537075,), (1399537076,), (1399537077,), (1399537078,), (1399537081,), (1399537108,), (1399537265,), (1399537267,), (1399537269,), (1399537371,), (1399537373,), (1399537375,), (1399537377,), (1399537380,), (1399537404,), (1399537410,), (1399537411,), (1399537418,), (1399537427,), (1399537432,), (1399537449,), (1399537450,), (1399537452,), (1399537459,), (1399537475,), (1399537477,), (1399537480,), (1399537482,), (1399537484,), (1399537495,), (1399537496,), (1399537497,), (1399537498,), (1399537501,), (1399537714,), (1399537746,), (1399537782,), (1399537805,), (1399537808,), (1399537904,), (1399537906,), (1399537924,), (1399537927,), (1399537929,), (1399537932,), (1399537936,), (1399537972,), (1399538019,), (1399537964,), (1399537966,), (1399537968,), (1399537990,), (1399537993,), (1399537996,), (1399537999,), (1399538006,), (1399538010,), (1399538017,), (1399538021,), (1399538022,), (1399538025,), (1399538028,), (1399538045,), (1399538047,), (1399538049,), (1399538165,), (1399538179,), (1399538193,), (1399538203,), (1399538219,), (1399538220,), (1399538221,), (1399538222,), (1399538225,), (1399538244,), (1399538245,), (1399538246,), (1399538247,), (1399538249,), (1399538251,), (1399538358,), (1399538360,), (1399538378,), (1399538382,), (1399538400,), (1399538401,), (1399538402,), (1399538403,), (1399538406,), (1399538409,), (1399538421,), (1399538422,), (1399538423,), (1399538424,), (1399538427,), (1399538430,), (1399538489,), (1399538521,), (1399538550,), (1399538625,), (1399538626,), (1399538627,), (1399538650,), (1399538684,), (1399538720,), (1399538837,), (1399540084,), (1399539837,), (1399539878,), (1399539944,), (1399540005,), (1399540532,), (1399540563,), (1399540627,), (1399540666,), (1399540673,), (1399540778,), (1399540779,), (1399540780,), (1399540781,), (1399540794,), (1399540825,), (1399540857,), (1399540887,), (1399540920,), (1399541022,), (1399541024,), (1399541025,), (1399541027,), (1399541038,), (1399541040,), (1399541042,), (1399541044,), (1399541048,), (1399541051,), (1399541072,), (1399541150,), (1399541184,), (1399541217,), (1399541299,), (1399541301,), (1399541303,), (1399541307,), (1399541311,), (1399541316,), (1399541339,), (1399541341,), (1399541343,), (1399541345,), (1399541360,), (1399541361,), (1399541362,), (1399541363,), (1399541366,), (1399541368,), (1399541399,), (1399541403,), (1399541405,), (1399541407,), (1399541428,), (1399541429,), (1399541430,), (1399541431,), (1399541433,), (1399541458,), (1399541460,), (1399541461,), (1399541462,), (1399541492,), (1399541498,), (1399541499,), (1399541501,), (1399541504,), (1399541508,), (1399541532,), (1399541570,), (1399541522,), (1399541524,), (1399541525,), (1399541526,), (1399541529,), (1399541544,), (1399541546,), (1399541548,), (1399541551,), (1399541554,), (1399541556,), (1399541567,), (1399541568,), (1399541578,), (1399541579,), (1399541580,), (1399541583,), (1399541602,), (1399541604,), (1399541606,), (1399541608,), (1399541611,), (1399541613,), (1399541626,), (1399541628,), (1399541630,), (1399541632,), (1399541648,), (1399541650,), (1399541652,), (1399541655,), (1399541657,), (1399541677,), (1399541678,), (1399541679,), (1399541680,), (1399541698,), (1399541701,), (1399541746,), (1399541747,), (1399541771,), (1399541773,), (1399541775,), (1399541777,), (1399541780,), (1399541783,), (1399541799,), (1399541802,), (1399541806,), (1399541809,), (1399541812,), (1399541821,), (1399541837,), (1399541838,), (1399541841,), (1399541842,), (1399541845,), (1399541848,), (1399541862,), (1399541865,), (1399541868,), (1399541875,), (1399541878,), (1399541882,), (1399541886,), (1399541907,), (1399541915,), (1399541926,), (1399541930,), (1399541932,), (1399541947,), (1399541942,), (1399541944,), (1399541970,), (1399541972,), (1399541974,), (1399541976,), (1399541979,), (1399541981,), (1399541997,), (1399541999,), (1399542001,), (1399542003,), (1399542006,), (1399542009,), (1399542027,), (1399542029,), (1399542031,), (1399542033,), (1399542036,), (1399542050,), (1399542051,), (1399542052,), (1399542053,), (1399542056,), (1399542059,), (1399542073,), (1399542075,), (1399542077,), (1399542079,), (1399542082,), (1399542107,), (1399542112,), (1399542124,), (1399542130,), (1399542134,), (1399542138,), (1399542145,), (1399542146,), (1399542147,), (1399542190,), (1399542236,), (1399542238,), (1399542241,), (1399542244,), (1399542248,), (1399542251,), (1399542254,), (1399542256,), (1399542257,), (1399542270,), (1399542303,), (1399542304,), (1399542305,), (1399542310,), (1399542313,), (1399542316,), (1399542435,), (1399542468,), (1399542501,), (1399542553,), (1399542561,), (1399542568,), (1399542585,), (1399542587,), (1399542589,), (1399542593,), (1399542597,), (1399542601,), (1399542651,), (1399542653,), (1399542664,), (1399542674,), (1399542709,), (1399542710,), (1399542712,), (1399542713,), (1399542972,), (1399542930,), (1399542943,), (1399543331,), (1399543333,), (1399543335,), (1399543358,), (1399543359,), (1399543360,), (1399543361,), (1399543363,), (1399543366,), (1399543385,), (1399543386,), (1399543387,), (1399543388,), (1399543410,), (1399543412,), (1399543414,), (1399543416,), (1399543433,), (1399543434,), (1399543435,), (1399543436,), (1399543439,), (1399543442,), (1399543462,), (1399543483,), (1399543516,), (1399543818,), (1399543821,), (1399543823,), (1399543825,), (1399543828,), (1399543841,), (1399543842,), (1399543843,), (1399543844,), (1399543847,), (1399543850,), (1399544148,), (1399544151,), (1399544153,), (1399544169,), (1399544170,), (1399544171,), (1399544172,), (1399544175,), (1399544178,), (1399544207,), (1399544242,), (1399544274,), (1399544983,), (1399544981,), (1399545003,), (1399545004,), (1399545005,), (1399545006,), (1399545025,), (1399545026,), (1399545027,), (1399545043,), (1399545045,), (1399545046,), (1399545060,), (1399545061,), (1399545062,), (1399545078,), (1399545080,), (1399545082,), (1399545084,), (1399545086,), (1399545089,), (1399545104,), (1399545106,), (1399545108,), (1399545112,), (1399545116,), (1399545120,), (1399545136,), (1399545138,), (1399545140,), (1399545142,), (1399545158,), (1399545159,), (1399545160,), (1399545161,), (1399545183,), (1399545185,), (1399545186,), (1399545187,), (1399545189,), (1399545191,), (1399545213,), (1399545214,), (1399545215,), (1399545216,), (1399545218,), (1399545220,), (1399545244,), (1399545262,), (1399545271,), (1399545272,), (1399545286,), (1399545288,), (1399545291,), (1399545293,), (1399545296,), (1399545322,), (1399545316,), (1399545317,), (1399545318,), (1399545319,), (1399545338,), (1399545340,), (1399545342,), (1399545344,), (1399545373,), (1399545375,), (1399545377,), (1399545379,), (1399545382,), (1399545385,), (1399545396,), (1399545398,), (1399545400,), (1399545404,), (1399545408,), (1399545412,), (1399545435,), (1399545437,), (1399545439,), (1399545455,), (1399545456,), (1399545458,), (1399545460,), (1399545462,), (1399545465,), (1399545489,), (1399545491,), (1399545493,), (1399545495,), (1399545498,), (1399545512,), (1399545513,), (1399545514,), (1399545515,), (1399545548,), (1399545551,), (1399545553,), (1399545555,), (1399545558,), (1399545581,), (1399545588,), (1399545596,), (1399545598,), (1399545601,), (1399545604,), (1399545625,), (1399545627,), (1399545629,), (1399545631,), (1399545647,), (1399545648,), (1399545649,), (1399545650,), (1399545653,), (1399545656,), (1399545673,), (1399545675,), (1399545677,), (1399545679,), (1399545703,), (1399545704,), (1399545705,), (1399545706,), (1399545709,), (1399545712,), (1399545738,), (1399545741,), (1399545742,), (1399545771,), (1399545762,), (1399545764,), (1399545766,), (1399545768,), (1399545791,), (1399545793,), (1399545794,), (1399545795,), (1399545798,), (1399545801,), (1399545812,), (1399545814,), (1399545816,), (1399545846,), (1399545848,), (1399545850,), (1399545852,), (1399545855,), (1399545858,), (1399545877,), (1399545878,), (1399545879,), (1399545880,), (1399546118,), (1399546120,), (1399546148,), (1399546154,), (1399546170,), (1399546171,), (1399546172,), (1399546173,), (1399546176,), (1399546189,), (1399546190,), (1399546191,), (1399546192,), (1399546195,), (1399546218,), (1399546220,), (1399546222,), (1399546224,), (1399546226,), (1399546311,), (1399546331,), (1399546336,), (1399549656,), (1399549857,), (1399550139,), (1399550140,), (1399550141,), (1399550142,), (1399550151,), (1399550152,), (1399550153,), (1399550407,), (1399550433,), (1399550434,), (1399550466,), (1399550467,), (1399550468,), (1399550469,), (1399550486,), (1399550487,), (1399550503,), (1399550504,), (1399550505,), (1399550506,), (1399550508,), (1399550509,), (1399550528,), (1399550530,), (1399550531,), (1399550532,), (1399550535,), (1399550539,), (1399550555,), (1399550549,), (1399550550,), (1399550551,), (1399550552,), (1399550571,), (1399550572,), (1399550573,), (1399550574,), (1399550577,), (1399550589,), (1399550590,), (1399550591,), (1399550592,), (1399550618,), (1399550619,), (1399550620,), (1399550621,), (1399550624,), (1399550627,), (1399550637,), (1399550639,), (1399550641,), (1399550645,), (1399550658,), (1399550659,), (1399550660,), (1399550661,), (1399550664,), (1399550666,), (1399550677,), (1399550678,), (1399550679,), (1399550708,), (1399550709,), (1399550710,), (1399550711,), (1399550713,), (1399550716,), (1399550733,), (1399550734,), (1399550735,), (1399550736,), (1399550737,), (1399550740,), (1399550763,), (1399550771,), (1399550775,), (1399550793,), (1399550795,), (1399550796,), (1399550797,), (1399550799,), (1399550816,), (1399550817,), (1399550818,), (1399550819,), (1399550822,), (1399550836,), (1399550838,), (1399550840,), (1399550878,), (1399550879,), (1399550930,), (1399550929,), (1399550950,), (1399550973,), (1399550974,), (1399551008,), (1399551009,), (1399551024,), (1399551061,), (1399551099,), (1399551115,), (1399551117,), (1399551119,), (1399551123,), (1399551127,), (1399551140,), (1399551142,), (1399551144,), (1399551148,), (1399551152,), (1399551160,), (1399551161,), (1399551162,), (1399551178,), (1399551180,), (1399551182,), (1399551183,), (1399551185,), (1399551210,), (1399551214,), (1399551217,), (1399551221,), (1399551293,), (1399551239,), (1399551240,), (1399551262,), (1399551735,), (1399551796,), (1399551860,), (1399551928,), (1399551997,), (1399552516,), (1399552550,), (1399552582,), (1399552616,), (1399552651,), (1399552836,), (1399552903,), (1399553422,), (1399553423,), (1399553451,), (1399553481,), (1399553484,), (1399553572,), (1399553573,), (1399553574,), (1399553838,), (1399553870,), (1399553904,), (1399553937,), (1399553971,), (1399554184,), (1399554200,), (1399554204,), (1399554207,), (1399554210,), (1399554224,), (1399554225,), (1399554226,), (1399554227,), (1399554230,), (1399554255,), (1399554256,), (1399554257,), (1399554258,), (1399554274,), (1399554278,), (1399554292,), (1399554414,), (1399555639,), (1399555733,), (1399555765,), (1399555796,), (1399556178,), (1399556184,), (1399556187,), (1399556334,), (1399556335,), (1399556336,), (1399556337,), (1399556360,), (1399556361,), (1399556362,), (1399556374,), (1399556375,), (1399556376,), (1399556377,), (1399556380,), (1399556391,), (1399556394,), (1399556395,), (1399556396,), (1399556398,), (1399556413,), (1399556414,), (1399556441,), (1399556442,), (1399556443,), (1399556444,), (1399556455,), (1399556457,), (1399556459,), (1399556463,), (1399556467,), (1399556486,), (1399556487,), (1399556488,), (1399556489,), (1399556492,), (1399556495,), (1399556507,), (1399556508,), (1399556509,), (1399556510,), (1399556726,), (1399556759,), (1399556794,), (1399556826,), (1399556858,), (1399556892,), (1399557528,), (1399557391,), (1399557427,), (1399557461,), (1399557499,), (1399557525,), (1399557536,), (1399557539,), (1399557540,), (1399557800,), (1399557801,), (1399557802,), (1399557805,), (1399557808,), (1399557818,), (1399557902,), (1399557917,), (1399557951,), (1399557952,), (1399557953,), (1399557954,), (1399557964,), (1399557965,), (1399557966,), (1399557967,), (1399557970,), (1399557982,), (1399557983,), (1399557984,), (1399557985,), (1399557988,), (1399558002,), (1399558004,), (1399558006,), (1399558008,), (1399558029,), (1399558030,), (1399558031,), (1399558032,), (1399558042,), (1399558055,), (1399558414,), (1399558447,), (1399558479,), (1399558514,), (1399558851,), (1399558881,), (1399558917,), (1399558948,), (1399558972,), (1399558973,), (1399558974,), (1399558982,), (1399559014,), (1399559048,), (1399559290,), (1399559311,), (1399559321,), (1399559509,), (1399559542,), (1399559573,), (1399559607,), (1399559619,), (1399559622,), (1399559748,), (1399559757,), (1399559758,), (1399559763,), (1399559766,), (1399559769,), (1399559775,), (1399559777,), (1399559781,), (1399559819,), (1399559816,), (1399559817,), (1399559818,), (1399559983,), (1399560016,), (1399560046,), (1399560079,), (1399560110,), (1399560395,), (1399560661,), (1399560663,), (1399560665,), (1399560669,), (1399560690,), (1399560725,), (1399560848,), (1399560880,), (1399560914,), (1399560977,), (1399561036,), (1399561081,), (1399561118,), (1399561532,), (1399561564,), (1399561594,), (1399561925,), (1399561926,), (1399561927,), (1399561928,), (1399561931,), (1399562097,), (1399562129,), (1399562160,), (1399562192,), (1399562223,), (1399562240,), (1399562387,), (1399562390,), (1399562401,), (1399562402,), (1399562405,), (1399562423,), (1399562424,), (1399562426,), (1399562428,), (1399562443,), (1399562444,), (1399562446,), (1399562448,), (1399562451,), (1399562461,), (1399562462,), (1399562463,), (1399562464,), (1399562467,), (1399562501,), (1399562502,), (1399562503,), (1399562504,), (1399562507,), (1399562510,), (1399562661,), (1399562698,), (1399563543,), (1399563403,), (1399563435,), (1399563471,), (1399563506,), (1399563803,), (1399563804,), (1399563810,), (1399563812,), (1399563999,), (1399564063,), (1399564129,), (1399564193,), (1399564264,), (1399564309,), (1399564622,), (1399564658,), (1399564667,), (1399564668,), (1399564674,), (1399564709,), (1399564745,), (1399564746,), (1399564747,), (1399564767,), (1399564768,), (1399564769,), (1399564770,), (1399564773,), (1399564776,), (1399564792,), (1399564794,), (1399564796,), (1399564800,), (1399564804,), (1399564826,), (1399564828,), (1399564830,), (1399564834,), (1399564848,), (1399564849,), (1399564850,), (1399564851,), (1399564853,), (1399564855,), (1399564891,), (1399564892,), (1399564893,), (1399564895,), (1399564897,), (1399564898,), (1399564905,), (1399564908,), (1399564910,), (1399564916,), (1399564917,), (1399564918,), (1399564921,), (1399564924,), (1399564927,), (1399564936,), (1399564937,), (1399564938,), (1399564939,), (1399564942,), (1399564968,), (1399564971,), (1399564972,), (1399564994,), (1399564995,), (1399564996,), (1399564997,), (1399565000,), (1399565003,), (1399565011,), (1399565013,), (1399565014,), (1399565017,), (1399565019,), (1399565045,), (1399565040,), (1399565041,), (1399565042,), (1399565043,), (1399565071,), (1399565072,), (1399565073,), (1399565074,), (1399565076,), (1399565078,), (1399565093,), (1399565094,), (1399565095,), (1399565096,), (1399565118,), (1399565119,), (1399565120,), (1399565121,), (1399565122,), (1399565124,), (1399565156,), (1399565157,), (1399565158,), (1399565159,), (1399565176,), (1399565183,), (1399565184,), (1399565185,), (1399565188,), (1399565191,), (1399565208,), (1399565209,), (1399565210,), (1399565211,), (1399565214,), (1399565216,), (1399565234,), (1399565236,), (1399565237,), (1399565265,), (1399565273,), (1399565285,), (1399565286,), (1399565289,), (1399565292,), (1399565310,), (1399565314,), (1399565317,), (1399565321,), (1399565325,), (1399565331,), (1399565333,), (1399565334,), (1399565372,), (1399565373,), (1399565374,), (1399565375,), (1399565377,), (1399565380,), (1399565424,), (1399565425,), (1399565426,), (1399565445,), (1399565448,), (1399565450,), (1399565451,), (1399565453,), (1399565454,), (1399565479,), (1399565480,), (1399565482,), (1399565500,), (1399565555,), (1399565556,), (1399565557,), (1399565558,), (1399565581,), (1399565583,), (1399565584,), (1399565585,), (1399565587,), (1399565601,), (1399565624,), (1399565625,), (1399565626,), (1399565627,), (1399565630,), (1399565633,), (1399565649,), (1399565650,), (1399565651,), (1399565667,), (1399565702,), (1399565737,), (1399566048,), (1399566077,), (1399566109,), (1399566140,), (1399566310,), (1399566312,), (1399566313,), (1399566339,), (1399566372,), (1399566591,), (1399566592,), (1399566609,), (1399566633,), (1399566640,), (1399566642,), (1399566654,), (1399566658,), (1399566660,), (1399566697,), (1399566699,), (1399566701,), (1399566705,), (1399566709,), (1399566723,), (1399566726,), (1399566730,), (1399566734,), (1399566736,), (1399566764,), (1399566765,), (1399566766,), (1399566767,), (1399566770,), (1399566784,), (1399566786,), (1399566788,), (1399566792,), (1399567219,), (1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15122025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29430268]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] map_info['map_portfolio_photo'] : {29430268: [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648]} final : True mtd_id 4302 list_pids : [1399506887, 1399496435, 1399496432, 1399496411, 1399495618, 1399495589, 1399494852, 1399494820, 1399494769, 1399493593, 1399493590, 1399493577, 1399493573, 1399493555, 1399493329, 1399493327, 1399493324, 1399492992, 1399492956, 1399492923, 1399492882, 1399492846, 1399492784, 1399492776, 1399492772, 1399492768, 1399492764, 1399492756, 1399492746, 1399492739, 1399492736, 1399492656, 1399492648] Looping around the photos to save general results len do output : 1 /29430268Didn'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, '4233543') ('4302', '29430268', '1399506887', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543') ('4302', None, None, None, None, None, None, None, '4233543') ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '29430268', 'None', None, None, None, None, '4233543'), ('4302', '29430268', '1399506887', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496435', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496432', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399496411', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399495618', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399495589', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494852', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494820', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399494769', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493593', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493590', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493577', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493573', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493555', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493329', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493327', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399493324', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492992', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492956', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492923', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492882', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492846', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492784', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492776', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492772', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492768', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492764', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492756', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492746', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492739', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492736', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492656', None, None, None, None, None, '4233543'), ('4302', '29430268', '1399492648', None, None, None, None, None, '4233543')] time used for this insertion : 0.02007603645324707 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.0536370277404785 time spend to save output : 0.020425796508789062 total time spend for step 5 : 6.074062824249268 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 (4233543) 3.23user 2.42system 0:17.94elapsed 31%CPU (0avgtext+0avgdata 174856maxresident)k 40inputs+23896outputs (0major+93688minor)pagefaults 0swaps