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 : 2182747 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 (4268322) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4268322) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654646 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4268322'] with mtr_portfolio_ids : ['29654646'] and first list_photo_ids : [] new path : /proc/2182747/ Name: python3 Umask: 0002 State: R (running) Tgid: 2182747 Ngid: 0 Pid: 2182747 PPid: 2182746 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2182747 NSpid: 2182747 NSpgid: 2181507 NSsid: 2181507 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104220 kB VmRSS: 104220 kB RssAnon: 66304 kB RssFile: 37916 kB RssShmem: 0 kB VmData: 872092 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: 40 nonvoluntary_ctxt_switches: 76 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2182747', 'Ngid': '0', 'Pid': '2182747', 'PPid': '2182746', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2182747', 'NSpid': '2182747', 'NSpgid': '2181507', 'NSsid': '2181507', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104220 kB', 'VmRSS': '104220 kB', 'RssAnon': '66304 kB', 'RssFile': '37916 kB', 'RssShmem': '0 kB', 'VmData': '872092 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': '40', 'nonvoluntary_ctxt_switches': '76'} ('datou_batch_current', '2182747', '1113364', '0', '1113364', '872092', '104220', b'', 'marlene', '4268322') 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 (29654646) 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 (4268322 ) ) 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 (29654646) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1400692067, 'portfolio_id': 29654646}, {'photo_id': 1400692066, 'portfolio_id': 29654646}, {'photo_id': 1400691626, 'portfolio_id': 29654646}, {'photo_id': 1400691611, 'portfolio_id': 29654646}, {'photo_id': 1400691607, 'portfolio_id': 29654646}, {'photo_id': 1400691604, 'portfolio_id': 29654646}, {'photo_id': 1400691601, 'portfolio_id': 29654646}, {'photo_id': 1400691597, 'portfolio_id': 29654646}, {'photo_id': 1400691593, 'portfolio_id': 29654646}, {'photo_id': 1400691585, 'portfolio_id': 29654646}, {'photo_id': 1400691581, 'portfolio_id': 29654646}, {'photo_id': 1400691578, 'portfolio_id': 29654646}, {'photo_id': 1400691575, 'portfolio_id': 29654646}, {'photo_id': 1400691573, 'portfolio_id': 29654646}, {'photo_id': 1400691570, 'portfolio_id': 29654646}, {'photo_id': 1400691559, 'portfolio_id': 29654646}, {'photo_id': 1400691556, 'portfolio_id': 29654646}, {'photo_id': 1400691552, 'portfolio_id': 29654646}, {'photo_id': 1400691549, 'portfolio_id': 29654646}, {'photo_id': 1400691547, 'portfolio_id': 29654646}, {'photo_id': 1400691545, 'portfolio_id': 29654646}, {'photo_id': 1400691538, 'portfolio_id': 29654646}, {'photo_id': 1400691536, 'portfolio_id': 29654646}, {'photo_id': 1400691534, 'portfolio_id': 29654646}, {'photo_id': 1400691532, 'portfolio_id': 29654646}, {'photo_id': 1400691528, 'portfolio_id': 29654646}, {'photo_id': 1400691525, 'portfolio_id': 29654646}, {'photo_id': 1400691514, 'portfolio_id': 29654646}, {'photo_id': 1400691511, 'portfolio_id': 29654646}, {'photo_id': 1400691508, 'portfolio_id': 29654646}, {'photo_id': 1400691505, 'portfolio_id': 29654646}, {'photo_id': 1400691502, 'portfolio_id': 29654646}, {'photo_id': 1400691499, 'portfolio_id': 29654646}, {'photo_id': 1400691489, 'portfolio_id': 29654646}, {'photo_id': 1400691485, 'portfolio_id': 29654646}, {'photo_id': 1400691482, 'portfolio_id': 29654646}, {'photo_id': 1400691479, 'portfolio_id': 29654646}, {'photo_id': 1400691478, 'portfolio_id': 29654646}, {'photo_id': 1400691475, 'portfolio_id': 29654646}] map_portfolio_id_photo_id: {29654646: [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475]} ##### 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.01696610450744629 #### 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 Wed Dec 24 09:51:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29654646) 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 : 29654646 get user id for portfolio 29654646 get sub ptf for main ptf 29654646, type 3726 and hashtags ['autre_refus', 'Carton_gris', 'Carton_brun', 'metal', 'Teint_Dans_La_Masse', 'environnement', 'kraft', 'plastique', 'mal_croppe', 'flou', 'cartonnette', 'papier'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29654646 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','Carton_brun','metal','Teint_Dans_La_Masse','environnement','kraft','plastique','mal_croppe','flou','cartonnette','papier')) 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`=29654646 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','Carton_brun','metal','Teint_Dans_La_Masse','environnement','kraft','plastique','mal_croppe','flou','cartonnette','papier')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 29654646, 'sub_port_id': 29654679, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251127, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'plastique': {'main_port_id': 29654646, 'sub_port_id': 29654680, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251128, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'papier': {'main_port_id': 29654646, 'sub_port_id': 29654681, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251129, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'environnement': {'main_port_id': 29654646, 'sub_port_id': 29654682, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251130, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 29654646, 'sub_port_id': 29654683, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251131, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'kraft': {'main_port_id': 29654646, 'sub_port_id': 29654684, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251132, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'metal': {'main_port_id': 29654646, 'sub_port_id': 29654685, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251133, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'Carton_brun': {'main_port_id': 29654646, 'sub_port_id': 29654686, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251134, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'cartonnette': {'main_port_id': 29654646, 'sub_port_id': 29654687, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251135, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'Carton_gris': {'main_port_id': 29654646, 'sub_port_id': 29654688, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251136, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'autre_refus': {'main_port_id': 29654646, 'sub_port_id': 29654689, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251137, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}, 'mal_croppe': {'main_port_id': 29654646, 'sub_port_id': 29654690, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251138, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 1)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29654679 , 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=29654646 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 (29654679) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654680 , 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=29654646 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 (29654680) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654681 , 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=29654646 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 (29654681) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654682 , 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=29654646 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 (29654682) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654683 , 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=29654646 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 (29654683) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654684 , 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=29654646 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 (29654684) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654685 , 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=29654646 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 (29654685) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654686 , 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=29654646 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 (29654686) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654687 , 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=29654646 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 (29654687) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654688 , 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=29654646 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 (29654688) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654689 , 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=29654646 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 (29654689) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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 29654690 , 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=29654646 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 (29654690) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29654646) result : ((1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,)) 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`=29654646 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','Carton_brun','metal','Teint_Dans_La_Masse','environnement','kraft','plastique','mal_croppe','flou','cartonnette','papier')) 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`=29654646 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','Carton_brun','metal','Teint_Dans_La_Masse','environnement','kraft','plastique','mal_croppe','flou','cartonnette','papier')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 29654646, 'sub_port_id': 29654692, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251139, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'plastique': {'main_port_id': 29654646, 'sub_port_id': 29654693, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251140, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'papier': {'main_port_id': 29654646, 'sub_port_id': 29654694, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251141, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'environnement': {'main_port_id': 29654646, 'sub_port_id': 29654695, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251142, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'Teint_Dans_La_Masse': {'main_port_id': 29654646, 'sub_port_id': 29654696, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251143, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'kraft': {'main_port_id': 29654646, 'sub_port_id': 29654697, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251144, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'metal': {'main_port_id': 29654646, 'sub_port_id': 29654698, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251145, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'Carton_brun': {'main_port_id': 29654646, 'sub_port_id': 29654699, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251146, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'cartonnette': {'main_port_id': 29654646, 'sub_port_id': 29654700, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251147, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'Carton_gris': {'main_port_id': 29654646, 'sub_port_id': 29654701, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251148, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'autre_refus': {'main_port_id': 29654646, 'sub_port_id': 29654702, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251149, 'last_updated_at': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_desc': datetime.datetime(2025, 12, 23, 18, 42, 6), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}, 'mal_croppe': {'main_port_id': 29654646, 'sub_port_id': 29654703, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20251150, 'last_updated_at': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 24, 6, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 23, 18, 42, 6)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654692,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654679 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654693,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654680 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654694,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654681 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654695,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654682 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654696,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654683 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654697,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654684 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654698,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654685 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654699,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654686 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654700,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654687 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654701,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654688 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654702,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654689 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29654703,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29654690 lien utilise dans velours : https://marlene.fotonower.com/velours/29654692,29654693,29654694,29654695,29654696,29654697,29654698,29654699,29654700,29654701,29654702,29654703?tags=flou,plastique,papier,environnement,Teint_Dans_La_Masse,kraft,metal,Carton_brun,cartonnette,Carton_gris,autre_refus,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29654646]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] map_info['map_portfolio_photo'] : {29654646: [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475]} final : False mtd_id 4302 list_pids : [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] Looping around the photos to save general results len do output : 1 /29654646. 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, '4268322') ('4302', '29654646', '1400692067', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '29654646', "{'flou': 29654679, 'plastique': 29654680, 'papier': 29654681, 'environnement': 29654682, 'Teint_Dans_La_Masse': 29654683, 'kraft': 29654684, 'metal': 29654685, 'Carton_brun': 29654686, 'cartonnette': 29654687, 'Carton_gris': 29654688, 'autre_refus': 29654689, 'mal_croppe': 29654690}", None, None, None, None, '4268322'), ('4302', '29654646', '1400692067', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322')] time used for this insertion : 0.021561145782470703 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.730278491973877 time spend to save output : 0.022199630737304688 total time spend for step 1 : 1.7524781227111816 step2:final Wed Dec 24 09:51:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29654646) 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 29654646 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1400691626,1400691611,1400691607,1400691604,1400691601,1400691597,1400691593,1400691585,1400691581,1400691578,1400691575,1400691573,1400691570,1400691559,1400691556,1400691552,1400691549,1400691547,1400691545,1400691538,1400691536,1400691534,1400691532,1400691528,1400691525,1400691514,1400691511,1400691508,1400691505,1400691502,1400691499,1400691489,1400691485,1400691482,1400691479,1400691478,1400691475,1400692066,1400692067); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29654646]) Inside saveOutput : final : False verbose : True original output for save of step final : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} new output for save of step final : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] map_info['map_portfolio_photo'] : {29654646: [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475]} final : False mtd_id 4302 list_pids : [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] Looping around the photos to save general results len do output : 39 /1400692067.Didn't retrieve data . /1400692066.Didn't retrieve data . /1400691626.Didn't retrieve data . /1400691611.Didn't retrieve data . /1400691607.Didn't retrieve data . /1400691604.Didn't retrieve data . /1400691601.Didn't retrieve data . /1400691597.Didn't retrieve data . /1400691593.Didn't retrieve data . /1400691585.Didn't retrieve data . /1400691581.Didn't retrieve data . /1400691578.Didn't retrieve data . /1400691575.Didn't retrieve data . /1400691573.Didn't retrieve data . /1400691570.Didn't retrieve data . /1400691559.Didn't retrieve data . /1400691556.Didn't retrieve data . /1400691552.Didn't retrieve data . /1400691549.Didn't retrieve data . /1400691547.Didn't retrieve data . /1400691545.Didn't retrieve data . /1400691538.Didn't retrieve data . /1400691536.Didn't retrieve data . /1400691534.Didn't retrieve data . /1400691532.Didn't retrieve data . /1400691528.Didn't retrieve data . /1400691525.Didn't retrieve data . /1400691514.Didn't retrieve data . /1400691511.Didn't retrieve data . /1400691508.Didn't retrieve data . /1400691505.Didn't retrieve data . /1400691502.Didn't retrieve data . /1400691499.Didn't retrieve data . /1400691489.Didn't retrieve data . /1400691485.Didn't retrieve data . /1400691482.Didn't retrieve data . /1400691479.Didn't retrieve data . /1400691478.Didn't retrieve data . /1400691475.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, '4268322') ('4302', '29654646', '1400692067', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '29654646', '1400692067', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400692066', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691626', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691611', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691607', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691604', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691601', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691597', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691593', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691585', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691581', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691578', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691575', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691573', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691570', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691559', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691556', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691552', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691549', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691547', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691545', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691538', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691536', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691534', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691532', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691528', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691525', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691514', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691511', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691508', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691505', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691502', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691499', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691489', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691485', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691482', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691479', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691478', '0.0', None, None, None, None, '4268322'), ('4302', '29654646', '1400691475', '0.0', None, None, None, None, '4268322')] time used for this insertion : 0.02579665184020996 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06318235397338867 time spend to save output : 0.027439594268798828 total time spend for step 2 : 0.0906219482421875 step3:velours_tree Wed Dec 24 09:51:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29654646: [{'flou': 29654679, 'plastique': 29654680, 'papier': 29654681, 'environnement': 29654682, 'Teint_Dans_La_Masse': 29654683, 'kraft': 29654684, 'metal': 29654685, 'Carton_brun': 29654686, 'cartonnette': 29654687, 'Carton_gris': 29654688, 'autre_refus': 29654689, 'mal_croppe': 29654690}]} input_args_next_step : {29654646: ()} output_args : {29654646: [{'flou': 29654679, 'plastique': 29654680, 'papier': 29654681, 'environnement': 29654682, 'Teint_Dans_La_Masse': 29654683, 'kraft': 29654684, 'metal': 29654685, 'Carton_brun': 29654686, 'cartonnette': 29654687, 'Carton_gris': 29654688, 'autre_refus': 29654689, 'mal_croppe': 29654690}]} args : 29654646 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 : ({'flou': 29654679, 'plastique': 29654680, 'papier': 29654681, 'environnement': 29654682, 'Teint_Dans_La_Masse': 29654683, 'kraft': 29654684, 'metal': 29654685, 'Carton_brun': 29654686, 'cartonnette': 29654687, 'Carton_gris': 29654688, 'autre_refus': 29654689, 'mal_croppe': 29654690},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29654646) 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([29654646]) 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.27149319648742676 time spend to save output : 4.9591064453125e-05 total time spend for step 3 : 0.2715427875518799 step4:send_mail_cod Wed Dec 24 09:52:00 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 : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} input_args_next_step : {1400692067: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400692067 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400692066 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691626 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691611 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691607 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691604 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691601 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691597 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691593 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691585 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691581 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691578 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691575 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691573 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691570 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691559 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691556 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691552 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691549 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691547 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691545 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691538 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691536 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691534 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691532 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691528 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691525 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691514 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691511 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691508 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691505 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691502 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691499 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691489 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691485 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691482 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691479 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691478 depend.output_id : 0 input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ()} output_args : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',)} args : 1400691475 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 : {29654646: [{'flou': 29654679, 'plastique': 29654680, 'papier': 29654681, 'environnement': 29654682, 'Teint_Dans_La_Masse': 29654683, 'kraft': 29654684, 'metal': 29654685, 'Carton_brun': 29654686, 'cartonnette': 29654687, 'Carton_gris': 29654688, 'autre_refus': 29654689, 'mal_croppe': 29654690}]} input_args_next_step : {1400692067: ('0.0',), 1400692066: ('0.0',), 1400691626: ('0.0',), 1400691611: ('0.0',), 1400691607: ('0.0',), 1400691604: ('0.0',), 1400691601: ('0.0',), 1400691597: ('0.0',), 1400691593: ('0.0',), 1400691585: ('0.0',), 1400691581: ('0.0',), 1400691578: ('0.0',), 1400691575: ('0.0',), 1400691573: ('0.0',), 1400691570: ('0.0',), 1400691559: ('0.0',), 1400691556: ('0.0',), 1400691552: ('0.0',), 1400691549: ('0.0',), 1400691547: ('0.0',), 1400691545: ('0.0',), 1400691538: ('0.0',), 1400691536: ('0.0',), 1400691534: ('0.0',), 1400691532: ('0.0',), 1400691528: ('0.0',), 1400691525: ('0.0',), 1400691514: ('0.0',), 1400691511: ('0.0',), 1400691508: ('0.0',), 1400691505: ('0.0',), 1400691502: ('0.0',), 1400691499: ('0.0',), 1400691489: ('0.0',), 1400691485: ('0.0',), 1400691482: ('0.0',), 1400691479: ('0.0',), 1400691478: ('0.0',), 1400691475: ('0.0',), 29654646: ()} output_args : {29654646: [{'flou': 29654679, 'plastique': 29654680, 'papier': 29654681, 'environnement': 29654682, 'Teint_Dans_La_Masse': 29654683, 'kraft': 29654684, 'metal': 29654685, 'Carton_brun': 29654686, 'cartonnette': 29654687, 'Carton_gris': 29654688, 'autre_refus': 29654689, 'mal_croppe': 29654690}]} args : 29654646 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 :40, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29654646) 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 (1400692067,1400692066,1400691626,1400691611,1400691607,1400691604,1400691601,1400691597,1400691593,1400691585,1400691581,1400691578,1400691575,1400691573,1400691570,1400691559,1400691556,1400691552,1400691549,1400691547,1400691545,1400691538,1400691536,1400691534,1400691532,1400691528,1400691525,1400691514,1400691511,1400691508,1400691505,1400691502,1400691499,1400691489,1400691485,1400691482,1400691479,1400691478,1400691475) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1400691475 begin to download photo : 1400691505 begin to download photo : 1400691536 begin to download photo : 1400691570 begin to download photo : 1400691601 download finish for photo 1400691601 begin to download photo : 1400691604 download finish for photo 1400691570 begin to download photo : 1400691573 download finish for photo 1400691536 begin to download photo : 1400691538 download finish for photo 1400691505 begin to download photo : 1400691508 download finish for photo 1400691475 begin to download photo : 1400691478 download finish for photo 1400691604 begin to download photo : 1400691607 download finish for photo 1400691573 begin to download photo : 1400691575 download finish for photo 1400691508 begin to download photo : 1400691511 download finish for photo 1400691538 begin to download photo : 1400691545 download finish for photo 1400691478 begin to download photo : 1400691479 download finish for photo 1400691607 begin to download photo : 1400691611 download finish for photo 1400691575 begin to download photo : 1400691578 download finish for photo 1400691511 begin to download photo : 1400691514 download finish for photo 1400691545 begin to download photo : 1400691547 download finish for photo 1400691611 begin to download photo : 1400691626 download finish for photo 1400691479 begin to download photo : 1400691482 download finish for photo 1400691514 begin to download photo : 1400691525 download finish for photo 1400691578 begin to download photo : 1400691581 download finish for photo 1400691547 begin to download photo : 1400691549 download finish for photo 1400691626 begin to download photo : 1400692066 download finish for photo 1400691525 begin to download photo : 1400691528 download finish for photo 1400691482 begin to download photo : 1400691485 download finish for photo 1400691581 begin to download photo : 1400691585 download finish for photo 1400691549 begin to download photo : 1400691552 download finish for photo 1400691485 begin to download photo : 1400691489 download finish for photo 1400691528 begin to download photo : 1400691532 download finish for photo 1400692066 begin to download photo : 1400692067 download finish for photo 1400691552 begin to download photo : 1400691556 download finish for photo 1400691489 begin to download photo : 1400691499 download finish for photo 1400691585 begin to download photo : 1400691593 download finish for photo 1400691532 begin to download photo : 1400691534 download finish for photo 1400692067 download finish for photo 1400691556 begin to download photo : 1400691559 download finish for photo 1400691499 begin to download photo : 1400691502 download finish for photo 1400691593 begin to download photo : 1400691597 download finish for photo 1400691534 download finish for photo 1400691559 download finish for photo 1400691502 download finish for photo 1400691597 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette296546791766566321/ imagette296546801766566321/ imagette296546841766566321/ imagette296546851766566321/ imagette296546871766566321/ imagette296546891766566321/ imagette296546901766566321/ imagette296546831766566321/ imagette296546861766566321/ imagette296546881766566321/ length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P29654646_24-12-2025_09_52_01.pdf 29654679 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=29654679 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546791766566321 29654680 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=29654680 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546801766566321 29654684 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=29654684 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546841766566321 29654685 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=29654685 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546851766566321 29654687 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=29654687 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546871766566321 29654689 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=29654689 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546891766566321 29654690 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=29654690 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546901766566321 29654683 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=29654683 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546831766566321 29654686 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=29654686 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546861766566321 29654688 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=29654688 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette296546881766566321 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29654646 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29654692,29654693,29654694,29654695,29654696,29654697,29654698,29654699,29654700,29654701,29654702,29654703?tags=flou,plastique,papier,environnement,Teint_Dans_La_Masse,kraft,metal,Carton_brun,cartonnette,Carton_gris,autre_refus,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1400692067] : ('0.0',) no score found for photo 1400692067 We are sending mail with results at report@fotonower.com args[1400692066] : ('0.0',) no score found for photo 1400692066 We are sending mail with results at report@fotonower.com args[1400691626] : ('0.0',) no score found for photo 1400691626 We are sending mail with results at report@fotonower.com args[1400691611] : ('0.0',) no score found for photo 1400691611 We are sending mail with results at report@fotonower.com args[1400691607] : ('0.0',) no score found for photo 1400691607 We are sending mail with results at report@fotonower.com args[1400691604] : ('0.0',) no score found for photo 1400691604 We are sending mail with results at report@fotonower.com args[1400691601] : ('0.0',) no score found for photo 1400691601 We are sending mail with results at report@fotonower.com args[1400691597] : ('0.0',) no score found for photo 1400691597 We are sending mail with results at report@fotonower.com args[1400691593] : ('0.0',) no score found for photo 1400691593 We are sending mail with results at report@fotonower.com args[1400691585] : ('0.0',) no score found for photo 1400691585 We are sending mail with results at report@fotonower.com args[1400691581] : ('0.0',) no score found for photo 1400691581 We are sending mail with results at report@fotonower.com args[1400691578] : ('0.0',) no score found for photo 1400691578 We are sending mail with results at report@fotonower.com args[1400691575] : ('0.0',) no score found for photo 1400691575 We are sending mail with results at report@fotonower.com args[1400691573] : ('0.0',) no score found for photo 1400691573 We are sending mail with results at report@fotonower.com args[1400691570] : ('0.0',) no score found for photo 1400691570 We are sending mail with results at report@fotonower.com args[1400691559] : ('0.0',) no score found for photo 1400691559 We are sending mail with results at report@fotonower.com args[1400691556] : ('0.0',) no score found for photo 1400691556 We are sending mail with results at report@fotonower.com args[1400691552] : ('0.0',) no score found for photo 1400691552 We are sending mail with results at report@fotonower.com args[1400691549] : ('0.0',) no score found for photo 1400691549 We are sending mail with results at report@fotonower.com args[1400691547] : ('0.0',) no score found for photo 1400691547 We are sending mail with results at report@fotonower.com args[1400691545] : ('0.0',) no score found for photo 1400691545 We are sending mail with results at report@fotonower.com args[1400691538] : ('0.0',) no score found for photo 1400691538 We are sending mail with results at report@fotonower.com args[1400691536] : ('0.0',) no score found for photo 1400691536 We are sending mail with results at report@fotonower.com args[1400691534] : ('0.0',) no score found for photo 1400691534 We are sending mail with results at report@fotonower.com args[1400691532] : ('0.0',) no score found for photo 1400691532 We are sending mail with results at report@fotonower.com args[1400691528] : ('0.0',) no score found for photo 1400691528 We are sending mail with results at report@fotonower.com args[1400691525] : ('0.0',) no score found for photo 1400691525 We are sending mail with results at report@fotonower.com args[1400691514] : ('0.0',) no score found for photo 1400691514 We are sending mail with results at report@fotonower.com args[1400691511] : ('0.0',) no score found for photo 1400691511 We are sending mail with results at report@fotonower.com args[1400691508] : ('0.0',) no score found for photo 1400691508 We are sending mail with results at report@fotonower.com args[1400691505] : ('0.0',) no score found for photo 1400691505 We are sending mail with results at report@fotonower.com args[1400691502] : ('0.0',) no score found for photo 1400691502 We are sending mail with results at report@fotonower.com args[1400691499] : ('0.0',) no score found for photo 1400691499 We are sending mail with results at report@fotonower.com args[1400691489] : ('0.0',) no score found for photo 1400691489 We are sending mail with results at report@fotonower.com args[1400691485] : ('0.0',) no score found for photo 1400691485 We are sending mail with results at report@fotonower.com args[1400691482] : ('0.0',) no score found for photo 1400691482 We are sending mail with results at report@fotonower.com args[1400691479] : ('0.0',) no score found for photo 1400691479 We are sending mail with results at report@fotonower.com args[1400691478] : ('0.0',) no score found for photo 1400691478 We are sending mail with results at report@fotonower.com args[1400691475] : ('0.0',) no score found for photo 1400691475 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=29654646 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_P29654646_24-12-2025_09_52_01.pdf results_Auto_P29654646_24-12-2025_09_52_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654646_24-12-2025_09_52_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29654646','results_Auto_P29654646_24-12-2025_09_52_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654646_24-12-2025_09_52_01.pdf','pdf','','0.29','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29654646]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] map_info['map_portfolio_photo'] : {29654646: [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475]} final : False mtd_id 4302 list_pids : [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] 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, '4268322') ('4302', '29654646', '1400692067', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29654646', '1400692067', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322')] time used for this insertion : 0.02063727378845215 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6902501583099365 time spend to save output : 0.020956039428710938 total time spend for step 4 : 3.7112061977386475 step5:split_time_score Wed Dec 24 09:52:03 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 : ['29654646'] 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 : [('29654646',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29654646) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1400691601: {'path': 'temp/1766566320_2182747_1400691601_49d6b39cbb32e292878b6142bb2b3782.jpg', 'extension': 'jpg'}, 1400691604: {'path': 'temp/1766566320_2182747_1400691604_77628620344cf685f4d8c2d0feb5854a.jpg', 'extension': 'jpg'}, 1400691607: {'path': 'temp/1766566320_2182747_1400691607_6650e139f0f9e1d8cede20e2f3111110.jpg', 'extension': 'jpg'}, 1400691611: {'path': 'temp/1766566320_2182747_1400691611_a317825a03e49f4d750c043b649cee10.jpg', 'extension': 'jpg'}, 1400691626: {'path': 'temp/1766566320_2182747_1400691626_28b390ff8fb5b9840a01fefcea630222.jpg', 'extension': 'jpg'}, 1400692066: {'path': 'temp/1766566320_2182747_1400692066_6e0c62ab2c6cffecd8b9d847fec0e885.jpg', 'extension': 'jpg'}, 1400692067: {'path': 'temp/1766566320_2182747_1400692067_a73c0787d3c2ec63db268ccbd0b2acfc.jpg', 'extension': 'jpg'}, 1400691505: {'path': 'temp/1766566320_2182747_1400691505_61304f65e49d64f58166eb4d5980ca5b.jpg', 'extension': 'jpg'}, 1400691508: {'path': 'temp/1766566320_2182747_1400691508_e536d38ce2537e2ec2bff2138b8a63bd.jpg', 'extension': 'jpg'}, 1400691511: {'path': 'temp/1766566320_2182747_1400691511_208953849b56ce39d9515d46a2a656c8.jpg', 'extension': 'jpg'}, 1400691514: {'path': 'temp/1766566320_2182747_1400691514_a02bbb5e32c90fa1c1c9f20c98f25a37.jpg', 'extension': 'jpg'}, 1400691525: {'path': 'temp/1766566320_2182747_1400691525_a1c584921b8ee908f9395fcafdfec0ca.jpg', 'extension': 'jpg'}, 1400691528: {'path': 'temp/1766566320_2182747_1400691528_420d35e1916b4c420bdc7116844e9591.jpg', 'extension': 'jpg'}, 1400691532: {'path': 'temp/1766566320_2182747_1400691532_a0bc3d86e1f125467d1f9d756029c0cd.jpg', 'extension': 'jpg'}, 1400691534: {'path': 'temp/1766566320_2182747_1400691534_937fe1d57ec401130609b606e6443f89.jpg', 'extension': 'jpg'}, 1400691536: {'path': 'temp/1766566320_2182747_1400691536_5364a6e7c5c59b070042f11d5b539219.jpg', 'extension': 'jpg'}, 1400691538: {'path': 'temp/1766566320_2182747_1400691538_a4443241d6b5c42ea3daaee145c76d40.jpg', 'extension': 'jpg'}, 1400691545: {'path': 'temp/1766566320_2182747_1400691545_66fb7d96a71ba37dcce33807a85ae52f.jpg', 'extension': 'jpg'}, 1400691547: {'path': 'temp/1766566320_2182747_1400691547_2876cb28e8d3b0c006598fcab350e1cb.jpg', 'extension': 'jpg'}, 1400691549: {'path': 'temp/1766566320_2182747_1400691549_4b7412c3784d63064b9e4572b1580d2c.jpg', 'extension': 'jpg'}, 1400691552: {'path': 'temp/1766566320_2182747_1400691552_f019734f90aef944b6a848f0e75f6ce2.jpg', 'extension': 'jpg'}, 1400691556: {'path': 'temp/1766566320_2182747_1400691556_402ab777a87f036a66858779ad4224c0.jpg', 'extension': 'jpg'}, 1400691559: {'path': 'temp/1766566320_2182747_1400691559_624f3851844c8e598ff14f87cfa7be7c.jpg', 'extension': 'jpg'}, 1400691475: {'path': 'temp/1766566320_2182747_1400691475_51c70807cddf580053691c81f99d00f8.jpg', 'extension': 'jpg'}, 1400691478: {'path': 'temp/1766566320_2182747_1400691478_f28162bb64a5e908678ec3839529dbf4.jpg', 'extension': 'jpg'}, 1400691479: {'path': 'temp/1766566320_2182747_1400691479_eed494ee49e28c57a08f884ca468d116.jpg', 'extension': 'jpg'}, 1400691482: {'path': 'temp/1766566320_2182747_1400691482_538b06e3638ba798ad5c89d1b2f33f3b.jpg', 'extension': 'jpg'}, 1400691485: {'path': 'temp/1766566320_2182747_1400691485_4cfd643136d6ac73e554bfbafca5d695.jpg', 'extension': 'jpg'}, 1400691489: {'path': 'temp/1766566320_2182747_1400691489_2d7f463cb09c2ec3fa7d1dc9a441b394.jpg', 'extension': 'jpg'}, 1400691499: {'path': 'temp/1766566320_2182747_1400691499_931636ca3b9bd9ec2c77bec7d22faf50.jpg', 'extension': 'jpg'}, 1400691502: {'path': 'temp/1766566320_2182747_1400691502_30bf47172ddf75594d1709a4cd905c70.jpg', 'extension': 'jpg'}, 1400691570: {'path': 'temp/1766566320_2182747_1400691570_92a86dd4e0500f35ddd9ee47a45c19a8.jpg', 'extension': 'jpg'}, 1400691573: {'path': 'temp/1766566320_2182747_1400691573_82257a874e4d6fcfe0fd0a46fff84baa.jpg', 'extension': 'jpg'}, 1400691575: {'path': 'temp/1766566320_2182747_1400691575_c605fe410e7fac63ce54c345fa7fa973.jpg', 'extension': 'jpg'}, 1400691578: {'path': 'temp/1766566320_2182747_1400691578_e4543d7dedae03e38e7e38b8ed03fd1e.jpg', 'extension': 'jpg'}, 1400691581: {'path': 'temp/1766566320_2182747_1400691581_38637bd4ef5e732cb5a0a33cf165c7aa.jpg', 'extension': 'jpg'}, 1400691585: {'path': 'temp/1766566320_2182747_1400691585_65f7fc2915237c7d31b7b1f74a5996c7.jpg', 'extension': 'jpg'}, 1400691593: {'path': 'temp/1766566320_2182747_1400691593_f81ac106e1afca77325a08acc063c8fc.jpg', 'extension': 'jpg'}, 1400691597: {'path': 'temp/1766566320_2182747_1400691597_a4078104dea13529b8577af58d67b073.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 = 29654646; (('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 = 29654646 group by h (('17', 39),) 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=29654646 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 (29654646) 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 (29654646) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 23122025 29654646 Nombre de photos uploadées : 39 / 23040 (0%) 23122025 29654646 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 23122025 29654646 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1400691626, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/23/28b390ff8fb5b9840a01fefcea630222.jpg', 'username': None, 'uploaded_at': 1766508648, 'text': 'image_23122025_17_15_05_10134.jpg'}, {'photo_id': 1400691611, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/23/a317825a03e49f4d750c043b649cee10.jpg', 'username': None, 'uploaded_at': 1766508603, 'text': 'image_23122025_17_15_15_10136.jpg'}, {'photo_id': 1400691607, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/23/6650e139f0f9e1d8cede20e2f3111110.jpg', 'username': None, 'uploaded_at': 1766508603, 'text': 'image_23122025_17_15_25_10136.jpg'}, {'photo_id': 1400691604, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/23/77628620344cf685f4d8c2d0feb5854a.jpg', 'username': None, 'uploaded_at': 1766508603, 'text': 'image_23122025_17_15_34_9128.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016751289367675781 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29654646, '2025-12-23' ) 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-23' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2776859,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2716820240020752 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= 2776859 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29636316, 'dashboard_result_id': 18686272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636316_24-12-2025_05_34_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29636321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29636322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29636323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29636324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29636325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29636326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29636327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29636328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29636329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29636330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29636331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29636332, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29636749, 'dashboard_result_id': 18686273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636749_24-12-2025_05_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29636751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29636752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29636753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29636754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29636755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29636756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29636757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29636758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29636759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29636760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29636761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29636762, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29637002, 'dashboard_result_id': 18686274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637002_24-12-2025_05_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29637006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29637007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29637008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29637009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29637010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29637011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29637012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29637013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29637014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29637015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29637016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29637017, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29637369, 'dashboard_result_id': 18686275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637369_24-12-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29637374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29637375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29637376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29637377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29637378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29637379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29637380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29637381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29637382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29637383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29637384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29637385, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29638070, 'dashboard_result_id': 18686276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638070_24-12-2025_05_36_15.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29638072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638083, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29638385, 'dashboard_result_id': 18686277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638385_24-12-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29638396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638401, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29638771, 'dashboard_result_id': 18686278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638771_24-12-2025_05_37_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638797, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29638805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638807, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29639188, 'dashboard_result_id': 18686279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639188_24-12-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29639196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29639197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29639198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29639199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29639200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29639201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29639202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29639203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29639204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29639205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29639206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29639207, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29639703, 'dashboard_result_id': 18686280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639703_24-12-2025_05_38_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29639712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29639713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29639714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29639715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29639716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29639717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29639718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29639719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29639720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29639721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29639722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29639723, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29640097, 'dashboard_result_id': 18686281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640097_24-12-2025_05_39_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29640123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29640124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29640125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29640126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29640127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29640128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29640129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29640130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29640131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29640132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29640133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29640134, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29640520, 'dashboard_result_id': 18686282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640520_24-12-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29640552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29640553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29640554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29640555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29640556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29640557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29640558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29640559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29640560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29640561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29640562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29640563, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29641030, 'dashboard_result_id': 18686283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641030_24-12-2025_05_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29641037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641047, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641049, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29641457, 'dashboard_result_id': 18686284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641457_24-12-2025_05_41_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29641467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641475, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29641822, 'dashboard_result_id': 18686285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641822_24-12-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29641857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641859, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29642134, 'dashboard_result_id': 18686286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29642134_24-12-2025_05_42_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29642187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29642188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29642189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29642190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29642191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29642192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29642193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29642194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29642195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29642196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29642197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29642198, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29643214, 'dashboard_result_id': 18686287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643214_24-12-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29643220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643226, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29643562, 'dashboard_result_id': 18686288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643562_24-12-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29643585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643588, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29643930, 'dashboard_result_id': 18686289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643930_24-12-2025_05_44_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29643934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643945, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29644377, 'dashboard_result_id': 18686290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644377_24-12-2025_05_44_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29644382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29644383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29644384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29644385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29644386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29644387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29644388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29644389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29644390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29644391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29644392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29644393, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29644726, 'dashboard_result_id': 18686291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644726_24-12-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29644730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29644731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29644732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29644733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29644734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29644735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29644736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29644737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29644738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29644739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29644740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29644741, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29645305, 'dashboard_result_id': 18686292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645305_24-12-2025_05_46_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29645313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29645314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29645315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29645316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29645317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29645318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29645319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29645320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29645321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29645322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29645323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29645324, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29645753, 'dashboard_result_id': 18686293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645753_24-12-2025_05_46_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29645761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29645762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29645763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29645764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29645765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29645766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29645767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29645768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29645769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29645770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29645771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29645772, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29646216, 'dashboard_result_id': 18686294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646216_24-12-2025_05_46_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29646248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29646249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29646250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29646251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29646252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29646253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29646254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29646255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29646256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29646257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29646258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29646259, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29646665, 'dashboard_result_id': 18686295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646665_24-12-2025_05_48_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29646672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29646673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29646674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29646675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29646676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29646677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29646678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29646679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29646680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29646681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29646682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29646683, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29647197, 'dashboard_result_id': 18686296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647197_24-12-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29647252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29647253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29647254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29647255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29647256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29647257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29647258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29647259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29647260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29647261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29647262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29647263, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29647945, 'dashboard_result_id': 18686297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647945_24-12-2025_05_49_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29647946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29647947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29647948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29647949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29647950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29647951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29647952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29647953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29647954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29647955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29647956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29647957, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29648452, 'dashboard_result_id': 18686298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648452_24-12-2025_05_50_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29648474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29648475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29648476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29648477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29648478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29648479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29648480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29648481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29648482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29648483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29648484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29648485, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29648806, 'dashboard_result_id': 18686299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648806_24-12-2025_05_50_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29648808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29648809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29648810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29648811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29648812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29648813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29648814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29648815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29648816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29648817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29648818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29648819, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29649587, 'dashboard_result_id': 18686300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649587_24-12-2025_05_50_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29649588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29649589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29649590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29649591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29649592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29649593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29649594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29649595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29649596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29649597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29649598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29649599, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29649877, 'dashboard_result_id': 18686301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649877_24-12-2025_05_51_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29649913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29649914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29649915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29649916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29649917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29649918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29649919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29649920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29649921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29649922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29649923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29649924, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29650516, 'dashboard_result_id': 18686302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29650516_24-12-2025_05_51_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29650520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29650521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29650522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29650523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29650524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29650525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29650526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29650527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29650528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29650529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29650530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29650531, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29651272, 'dashboard_result_id': 18686303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651272_24-12-2025_05_52_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29651275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29651276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29651277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29651278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29651279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29651280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29651281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29651282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29651283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29651284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29651285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29651286, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29651655, 'dashboard_result_id': 18686304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651655_24-12-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29651659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29651660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29651661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29651662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29651663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29651664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29651665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29651666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29651667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29651668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29651669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29651670, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29652027, 'dashboard_result_id': 18686305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652027_24-12-2025_05_53_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29652055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29652056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29652057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29652058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29652059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29652060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29652061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29652062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29652063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29652064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29652065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29652066, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29652573, 'dashboard_result_id': 18686306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652573_24-12-2025_05_54_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29652580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29652581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29652582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29652583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29652584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29652585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29652586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29652587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29652588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29652589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29652590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29652591, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29660939, 'dashboard_result_id': 18686307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29660939_24-12-2025_09_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29660987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29660988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29660990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29660991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29660992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29660994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29660995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29660997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29660998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29660999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661001, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29660941, 'dashboard_result_id': 18686308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29660941_24-12-2025_09_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29660942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29660943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29660944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29660945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29660946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29660947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29660948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29660949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29660950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29660951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29660952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29660953, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29658244, 'dashboard_result_id': 18686309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658244_24-12-2025_09_44_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658428, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29658253, 'dashboard_result_id': 18686310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658253_24-12-2025_09_46_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658383, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29658261, 'dashboard_result_id': 18686311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658261_24-12-2025_09_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658296, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29658263, 'dashboard_result_id': 18686312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658263_24-12-2025_09_47_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29658322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658340, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29658266, 'dashboard_result_id': 18686313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658266_24-12-2025_09_48_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658344, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29655574, 'dashboard_result_id': 18686314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655574_24-12-2025_09_48_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29655672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655683, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29655589, 'dashboard_result_id': 18686315, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655589_24-12-2025_09_49_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655653, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654632, 'dashboard_result_id': 18686316, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654632_24-12-2025_09_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654963, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654635, 'dashboard_result_id': 18686317, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654635_24-12-2025_09_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654927, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654639, 'dashboard_result_id': 18686318, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654639_24-12-2025_09_51_11.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654831, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654835, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654642, 'dashboard_result_id': 18686319, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654642_24-12-2025_09_51_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654757, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654646, 'dashboard_result_id': 18686320, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654646_24-12-2025_06_02_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29654679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654690, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654305, 'dashboard_result_id': 18686321, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654305_24-12-2025_06_02_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654375, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654379, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654307, 'dashboard_result_id': 18686322, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654307_24-12-2025_06_03_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654351, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29654309, 'dashboard_result_id': 18686323, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654309_24-12-2025_06_04_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29654310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654321, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29655129, 'dashboard_result_id': 18686324, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655129_24-12-2025_06_04_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655197, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29655750, 'dashboard_result_id': 18686325, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655750_24-12-2025_06_05_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655797, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29656592, 'dashboard_result_id': 18686326, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29656592_24-12-2025_06_05_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29656598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29656599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29656600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29656601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29656602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29656603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29656604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29656605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29656606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29656607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29656608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29656609, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29657197, 'dashboard_result_id': 18686327, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657197_24-12-2025_06_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29657237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29657238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29657239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29657240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29657241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29657243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29657244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29657245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29657246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29657247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29657248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29657249, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29657812, 'dashboard_result_id': 18686328, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657812_24-12-2025_06_06_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29657843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29657844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29657845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29657846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29657847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29657848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29657849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29657850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29657851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29657852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29657853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29657854, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29658442, 'dashboard_result_id': 18686329, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658442_24-12-2025_06_06_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29658449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658460, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29659244, 'dashboard_result_id': 18686330, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659244_24-12-2025_06_07_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29659252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29659253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29659254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29659255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29659256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29659257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29659258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29659259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29659260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29659261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29659262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29659263, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29659893, 'dashboard_result_id': 18686331, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659893_24-12-2025_06_07_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29659923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29659924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29659925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29659926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29659927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29659928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29659929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29659930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29659931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29659932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29659933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29659934, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29661175, 'dashboard_result_id': 18686332, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661175_24-12-2025_06_08_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29661178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661189, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29661444, 'dashboard_result_id': 18686333, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661444_24-12-2025_06_09_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29661454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661456, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29661880, 'dashboard_result_id': 18686334, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661880_24-12-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29661900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661905, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29662352, 'dashboard_result_id': 18686335, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662352_24-12-2025_06_10_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29662359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29662360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29662361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29662362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29662363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29662364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29662365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29662366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29662368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29662369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29662370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29662371, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29662739, 'dashboard_result_id': 18686336, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662739_24-12-2025_06_11_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29662771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29662772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29662773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29662774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29662775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29662776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29662777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29662778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29662779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29662780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29662781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29662783, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29663561, 'dashboard_result_id': 18686337, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29663561_24-12-2025_06_11_14.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29663592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29663594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29663595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29663596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29663597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29663598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29663599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29663600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29663601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29663602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29663603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29663604, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29664257, 'dashboard_result_id': 18686338, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664257_24-12-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29664304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29664305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29664306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29664308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29664309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29664310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29664311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29664312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29664313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29664314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29664315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29664316, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29664997, 'dashboard_result_id': 18686339, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664997_24-12-2025_06_12_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29665029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29665030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29665031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29665032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29665033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29665034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29665035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29665036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29665037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29665038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29665039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29665040, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29665431, 'dashboard_result_id': 18686340, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29665431_24-12-2025_06_12_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29665432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29665433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29665434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29665435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29665436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29665437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29665438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29665439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29665440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29665441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29665442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29665443, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29666258, 'dashboard_result_id': 18686341, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29666258_24-12-2025_06_13_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29666320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29666321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29666322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29666323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29666324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29666325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29666326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29666327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29666328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29666329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29666330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29666331, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29667131, 'dashboard_result_id': 18686342, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667131_24-12-2025_06_14_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29667228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29667229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29667230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29667231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29667232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29667233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29667234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29667235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29667236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29667237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29667238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29667239, 'pht': 3726}}"}, {'dashboat_entry_day': 2776859, 'dashboard_run_id': 2790206, 'mtr_portfolio_id': 29667547, 'dashboard_result_id': 18686343, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667547_24-12-2025_06_14_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29667566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29667567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29667568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29667569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29667570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29667571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29667572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29667573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29667574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29667575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29667576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29667577, '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 = 29636316 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': 4267014, 'mtr_portfolio_id': 29636316, 'created_at': datetime.datetime(2025, 12, 24, 5, 34, 33), 'result': '0.03940876924268868', 'result_long': None, 'result_double': None}] Qualite : 0.03940876924268868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29636316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636316_24-12-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29636316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636316_24-12-2025_05_34_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29636321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29636322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29636323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29636324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29636325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29636326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29636327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29636328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29636329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29636330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29636331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29636332, 'pht': 3726}}" where mtr_portfolio_id = 29636316 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29636316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686272, 0.03940876924268868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636316_24-12-2025_05_34_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29636321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29636322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29636323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29636324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29636325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29636326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29636327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29636328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29636329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29636330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29636331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29636332, '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 = 29636749 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': 4267015, 'mtr_portfolio_id': 29636749, 'created_at': datetime.datetime(2025, 12, 24, 5, 34, 58), 'result': '0.16902849484634944', 'result_long': None, 'result_double': None}] Qualite : 0.16902849484634944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29636749 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636749_24-12-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29636749 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636749_24-12-2025_05_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29636751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29636752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29636753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29636754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29636755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29636756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29636757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29636758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29636759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29636760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29636761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29636762, 'pht': 3726}}" where mtr_portfolio_id = 29636749 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29636749 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686273, 0.16902849484634944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29636749_24-12-2025_05_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29636751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29636752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29636753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29636754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29636755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29636756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29636757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29636758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29636759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29636760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29636761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29636762, '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 = 29637002 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': 4267016, 'mtr_portfolio_id': 29637002, 'created_at': datetime.datetime(2025, 12, 24, 5, 35, 29), 'result': '0.06047722273103851', 'result_long': None, 'result_double': None}] Qualite : 0.06047722273103851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29637002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637002_24-12-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29637002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637002_24-12-2025_05_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29637006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29637007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29637008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29637009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29637010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29637011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29637012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29637013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29637014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29637015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29637016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29637017, 'pht': 3726}}" where mtr_portfolio_id = 29637002 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29637002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686274, 0.06047722273103851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637002_24-12-2025_05_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29637006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29637007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29637008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29637009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29637010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29637011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29637012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29637013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29637014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29637015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29637016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29637017, '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 = 29637369 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': 4267017, 'mtr_portfolio_id': 29637369, 'created_at': datetime.datetime(2025, 12, 24, 5, 36), 'result': '0.057042701013973615', 'result_long': None, 'result_double': None}] Qualite : 0.057042701013973615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29637369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637369_24-12-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29637369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637369_24-12-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29637374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29637375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29637376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29637377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29637378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29637379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29637380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29637381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29637382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29637383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29637384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29637385, 'pht': 3726}}" where mtr_portfolio_id = 29637369 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29637369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686275, 0.057042701013973615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29637369_24-12-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29637374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29637375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29637376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29637377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29637378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29637379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29637380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29637381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29637382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29637383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29637384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29637385, '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 = 29638070 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': 4267018, 'mtr_portfolio_id': 29638070, 'created_at': datetime.datetime(2025, 12, 24, 5, 36, 12), 'result': '0.03987673048739972', 'result_long': None, 'result_double': None}] Qualite : 0.03987673048739972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29638070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638070_24-12-2025_05_36_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29638070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638070_24-12-2025_05_36_15.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29638072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638083, 'pht': 3726}}" where mtr_portfolio_id = 29638070 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29638070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686276, 0.03987673048739972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638070_24-12-2025_05_36_15.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29638072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638083, '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 = 29638385 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': 4267019, 'mtr_portfolio_id': 29638385, 'created_at': datetime.datetime(2025, 12, 24, 5, 36, 29), 'result': '0.04077658368513079', 'result_long': None, 'result_double': None}] Qualite : 0.04077658368513079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29638385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638385_24-12-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29638385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638385_24-12-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29638396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638401, 'pht': 3726}}" where mtr_portfolio_id = 29638385 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29638385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686277, 0.04077658368513079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638385_24-12-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29638396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638401, '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 = 29638771 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': 4267020, 'mtr_portfolio_id': 29638771, 'created_at': datetime.datetime(2025, 12, 24, 5, 37, 27), 'result': '0.056661082471385', 'result_long': None, 'result_double': None}] Qualite : 0.056661082471385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29638771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638771_24-12-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29638771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638771_24-12-2025_05_37_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638797, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29638805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638807, 'pht': 3726}}" where mtr_portfolio_id = 29638771 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29638771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686278, 0.056661082471385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29638771_24-12-2025_05_37_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29638796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29638797, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29638798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29638799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29638800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29638801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29638802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29638803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29638804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29638805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29638806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29638807, '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 = 29639188 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': 4267021, 'mtr_portfolio_id': 29639188, 'created_at': datetime.datetime(2025, 12, 24, 5, 37, 58), 'result': '0.05022872528762333', 'result_long': None, 'result_double': None}] Qualite : 0.05022872528762333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29639188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639188_24-12-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29639188 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639188_24-12-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29639196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29639197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29639198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29639199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29639200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29639201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29639202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29639203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29639204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29639205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29639206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29639207, 'pht': 3726}}" where mtr_portfolio_id = 29639188 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29639188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686279, 0.05022872528762333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639188_24-12-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29639196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29639197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29639198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29639199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29639200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29639201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29639202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29639203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29639204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29639205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29639206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29639207, '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 = 29639703 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': 4267022, 'mtr_portfolio_id': 29639703, 'created_at': datetime.datetime(2025, 12, 24, 5, 38, 28), 'result': '0.046713944844588226', 'result_long': None, 'result_double': None}] Qualite : 0.046713944844588226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29639703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639703_24-12-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29639703 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639703_24-12-2025_05_38_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29639712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29639713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29639714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29639715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29639716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29639717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29639718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29639719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29639720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29639721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29639722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29639723, 'pht': 3726}}" where mtr_portfolio_id = 29639703 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29639703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686280, 0.046713944844588226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29639703_24-12-2025_05_38_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29639712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29639713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29639714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29639715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29639716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29639717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29639718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29639719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29639720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29639721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29639722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29639723, '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 = 29640097 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': 4267023, 'mtr_portfolio_id': 29640097, 'created_at': datetime.datetime(2025, 12, 24, 5, 39, 27), 'result': '0.03675939625086917', 'result_long': None, 'result_double': None}] Qualite : 0.03675939625086917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29640097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640097_24-12-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29640097 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640097_24-12-2025_05_39_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29640123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29640124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29640125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29640126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29640127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29640128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29640129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29640130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29640131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29640132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29640133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29640134, 'pht': 3726}}" where mtr_portfolio_id = 29640097 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29640097 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686281, 0.03675939625086917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640097_24-12-2025_05_39_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29640123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29640124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29640125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29640126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29640127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29640128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29640129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29640130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29640131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29640132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29640133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29640134, '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 = 29640520 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': 4267024, 'mtr_portfolio_id': 29640520, 'created_at': datetime.datetime(2025, 12, 24, 5, 40), 'result': '0.06299501049786141', 'result_long': None, 'result_double': None}] Qualite : 0.06299501049786141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29640520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640520_24-12-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29640520 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640520_24-12-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29640552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29640553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29640554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29640555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29640556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29640557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29640558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29640559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29640560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29640561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29640562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29640563, 'pht': 3726}}" where mtr_portfolio_id = 29640520 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29640520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686282, 0.06299501049786141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29640520_24-12-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29640552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29640553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29640554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29640555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29640556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29640557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29640558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29640559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29640560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29640561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29640562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29640563, '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 = 29641030 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': 4267025, 'mtr_portfolio_id': 29641030, 'created_at': datetime.datetime(2025, 12, 24, 5, 40, 58), 'result': '0.0583930712361426', 'result_long': None, 'result_double': None}] Qualite : 0.0583930712361426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29641030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641030_24-12-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29641030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641030_24-12-2025_05_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29641037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641047, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641049, 'pht': 3726}}" where mtr_portfolio_id = 29641030 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29641030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686283, 0.0583930712361426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641030_24-12-2025_05_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29641037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641047, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641049, '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 = 29641457 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': 4267026, 'mtr_portfolio_id': 29641457, 'created_at': datetime.datetime(2025, 12, 24, 5, 41, 8), 'result': '0.04179461171972966', 'result_long': None, 'result_double': None}] Qualite : 0.04179461171972966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29641457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641457_24-12-2025_05_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29641457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641457_24-12-2025_05_41_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29641467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641475, 'pht': 3726}}" where mtr_portfolio_id = 29641457 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29641457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686284, 0.04179461171972966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641457_24-12-2025_05_41_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29641467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641475, '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 = 29641822 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': 4267027, 'mtr_portfolio_id': 29641822, 'created_at': datetime.datetime(2025, 12, 24, 5, 41, 29), 'result': '0.041627689957212666', 'result_long': None, 'result_double': None}] Qualite : 0.041627689957212666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29641822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641822_24-12-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29641822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641822_24-12-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29641857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641859, 'pht': 3726}}" where mtr_portfolio_id = 29641822 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29641822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686285, 0.041627689957212666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29641822_24-12-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29641848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29641849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29641850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29641851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29641852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29641853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29641854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29641855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29641856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29641857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29641858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29641859, '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 = 29642134 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': 4267028, 'mtr_portfolio_id': 29642134, 'created_at': datetime.datetime(2025, 12, 24, 5, 41, 59), 'result': '0.05594789448702286', 'result_long': None, 'result_double': None}] Qualite : 0.05594789448702286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29642134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29642134_24-12-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29642134 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29642134_24-12-2025_05_42_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29642187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29642188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29642189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29642190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29642191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29642192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29642193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29642194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29642195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29642196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29642197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29642198, 'pht': 3726}}" where mtr_portfolio_id = 29642134 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29642134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686286, 0.05594789448702286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29642134_24-12-2025_05_42_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29642187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29642188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29642189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29642190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29642191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29642192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29642193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29642194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29642195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29642196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29642197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29642198, '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 = 29643214 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': 4267029, 'mtr_portfolio_id': 29643214, 'created_at': datetime.datetime(2025, 12, 24, 5, 42, 29), 'result': '0.04925766423598088', 'result_long': None, 'result_double': None}] Qualite : 0.04925766423598088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29643214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643214_24-12-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29643214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643214_24-12-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29643220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643226, 'pht': 3726}}" where mtr_portfolio_id = 29643214 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29643214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686287, 0.04925766423598088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643214_24-12-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29643220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643226, '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 = 29643562 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': 4267030, 'mtr_portfolio_id': 29643562, 'created_at': datetime.datetime(2025, 12, 24, 5, 43, 28), 'result': '0.04532272203748461', 'result_long': None, 'result_double': None}] Qualite : 0.04532272203748461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29643562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643562_24-12-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29643562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643562_24-12-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29643585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643588, 'pht': 3726}}" where mtr_portfolio_id = 29643562 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29643562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686288, 0.04532272203748461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643562_24-12-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29643585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643588, '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 = 29643930 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': 4267031, 'mtr_portfolio_id': 29643930, 'created_at': datetime.datetime(2025, 12, 24, 5, 43, 57), 'result': '0.04693422801131294', 'result_long': None, 'result_double': None}] Qualite : 0.04693422801131294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29643930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643930_24-12-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29643930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643930_24-12-2025_05_44_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29643934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643945, 'pht': 3726}}" where mtr_portfolio_id = 29643930 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29643930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686289, 0.04693422801131294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29643930_24-12-2025_05_44_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29643934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29643935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29643936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29643937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29643938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29643939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29643940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29643941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29643942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29643943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29643944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29643945, '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 = 29644377 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': 4267032, 'mtr_portfolio_id': 29644377, 'created_at': datetime.datetime(2025, 12, 24, 5, 44, 29), 'result': '0.04504237557958739', 'result_long': None, 'result_double': None}] Qualite : 0.04504237557958739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29644377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644377_24-12-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29644377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644377_24-12-2025_05_44_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29644382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29644383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29644384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29644385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29644386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29644387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29644388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29644389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29644390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29644391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29644392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29644393, 'pht': 3726}}" where mtr_portfolio_id = 29644377 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29644377 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686290, 0.04504237557958739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644377_24-12-2025_05_44_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29644382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29644383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29644384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29644385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29644386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29644387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29644388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29644389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29644390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29644391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29644392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29644393, '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 = 29644726 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': 4267033, 'mtr_portfolio_id': 29644726, 'created_at': datetime.datetime(2025, 12, 24, 5, 45, 31), 'result': '0.04741970597469706', 'result_long': None, 'result_double': None}] Qualite : 0.04741970597469706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29644726 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644726_24-12-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29644726 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644726_24-12-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29644730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29644731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29644732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29644733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29644734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29644735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29644736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29644737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29644738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29644739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29644740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29644741, 'pht': 3726}}" where mtr_portfolio_id = 29644726 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29644726 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686291, 0.04741970597469706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29644726_24-12-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29644730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29644731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29644732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29644733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29644734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29644735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29644736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29644737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29644738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29644739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29644740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29644741, '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 = 29645305 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': 4267034, 'mtr_portfolio_id': 29645305, 'created_at': datetime.datetime(2025, 12, 24, 5, 45, 58), 'result': '0.03768937194166588', 'result_long': None, 'result_double': None}] Qualite : 0.03768937194166588 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29645305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645305_24-12-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29645305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645305_24-12-2025_05_46_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29645313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29645314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29645315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29645316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29645317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29645318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29645319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29645320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29645321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29645322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29645323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29645324, 'pht': 3726}}" where mtr_portfolio_id = 29645305 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29645305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686292, 0.03768937194166588, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645305_24-12-2025_05_46_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29645313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29645314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29645315, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29645316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29645317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29645318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29645319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29645320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29645321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29645322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29645323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29645324, '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 = 29645753 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': 4267035, 'mtr_portfolio_id': 29645753, 'created_at': datetime.datetime(2025, 12, 24, 5, 46, 12), 'result': '0.04396396542272578', 'result_long': None, 'result_double': None}] Qualite : 0.04396396542272578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29645753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645753_24-12-2025_05_46_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29645753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645753_24-12-2025_05_46_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29645761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29645762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29645763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29645764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29645765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29645766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29645767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29645768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29645769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29645770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29645771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29645772, 'pht': 3726}}" where mtr_portfolio_id = 29645753 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29645753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686293, 0.04396396542272578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29645753_24-12-2025_05_46_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29645761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29645762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29645763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29645764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29645765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29645766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29645767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29645768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29645769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29645770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29645771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29645772, '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 = 29646216 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': 4267036, 'mtr_portfolio_id': 29646216, 'created_at': datetime.datetime(2025, 12, 24, 5, 46, 29), 'result': '0.0639929658086895', 'result_long': None, 'result_double': None}] Qualite : 0.0639929658086895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29646216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646216_24-12-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29646216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646216_24-12-2025_05_46_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29646248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29646249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29646250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29646251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29646252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29646253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29646254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29646255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29646256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29646257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29646258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29646259, 'pht': 3726}}" where mtr_portfolio_id = 29646216 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29646216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686294, 0.0639929658086895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646216_24-12-2025_05_46_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29646248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29646249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29646250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29646251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29646252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29646253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29646254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29646255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29646256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29646257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29646258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29646259, '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 = 29646665 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': 4267037, 'mtr_portfolio_id': 29646665, 'created_at': datetime.datetime(2025, 12, 24, 5, 47, 58), 'result': '0.0435015709871107', 'result_long': None, 'result_double': None}] Qualite : 0.0435015709871107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29646665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646665_24-12-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29646665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646665_24-12-2025_05_48_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29646672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29646673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29646674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29646675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29646676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29646677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29646678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29646679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29646680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29646681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29646682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29646683, 'pht': 3726}}" where mtr_portfolio_id = 29646665 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29646665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686295, 0.0435015709871107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29646665_24-12-2025_05_48_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29646672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29646673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29646674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29646675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29646676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29646677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29646678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29646679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29646680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29646681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29646682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29646683, '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 = 29647197 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': 4267038, 'mtr_portfolio_id': 29647197, 'created_at': datetime.datetime(2025, 12, 24, 5, 48, 28), 'result': '0.05924987992362668', 'result_long': None, 'result_double': None}] Qualite : 0.05924987992362668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29647197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647197_24-12-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29647197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647197_24-12-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29647252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29647253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29647254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29647255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29647256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29647257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29647258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29647259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29647260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29647261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29647262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29647263, 'pht': 3726}}" where mtr_portfolio_id = 29647197 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29647197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686296, 0.05924987992362668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647197_24-12-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29647252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29647253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29647254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29647255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29647256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29647257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29647258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29647259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29647260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29647261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29647262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29647263, '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 = 29647945 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': 4267039, 'mtr_portfolio_id': 29647945, 'created_at': datetime.datetime(2025, 12, 24, 5, 49, 29), 'result': '0.0544481057105987', 'result_long': None, 'result_double': None}] Qualite : 0.0544481057105987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29647945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647945_24-12-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29647945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647945_24-12-2025_05_49_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29647946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29647947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29647948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29647949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29647950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29647951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29647952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29647953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29647954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29647955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29647956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29647957, 'pht': 3726}}" where mtr_portfolio_id = 29647945 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29647945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686297, 0.0544481057105987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29647945_24-12-2025_05_49_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29647946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29647947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29647948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29647949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29647950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29647951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29647952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29647953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29647954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29647955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29647956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29647957, '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 = 29648452 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': 4267040, 'mtr_portfolio_id': 29648452, 'created_at': datetime.datetime(2025, 12, 24, 5, 49, 58), 'result': '0.0406557749469601', 'result_long': None, 'result_double': None}] Qualite : 0.0406557749469601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29648452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648452_24-12-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29648452 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648452_24-12-2025_05_50_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29648474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29648475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29648476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29648477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29648478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29648479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29648480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29648481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29648482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29648483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29648484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29648485, 'pht': 3726}}" where mtr_portfolio_id = 29648452 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29648452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686298, 0.0406557749469601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648452_24-12-2025_05_50_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29648474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29648475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29648476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29648477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29648478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29648479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29648480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29648481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29648482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29648483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29648484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29648485, '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 = 29648806 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': 4267041, 'mtr_portfolio_id': 29648806, 'created_at': datetime.datetime(2025, 12, 24, 5, 50, 32), 'result': '0.040514394716696225', 'result_long': None, 'result_double': None}] Qualite : 0.040514394716696225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29648806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648806_24-12-2025_05_50_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29648806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648806_24-12-2025_05_50_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29648808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29648809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29648810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29648811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29648812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29648813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29648814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29648815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29648816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29648817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29648818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29648819, 'pht': 3726}}" where mtr_portfolio_id = 29648806 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29648806 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686299, 0.040514394716696225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29648806_24-12-2025_05_50_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29648808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29648809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29648810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29648811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29648812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29648813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29648814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29648815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29648816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29648817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29648818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29648819, '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 = 29649587 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': 4267042, 'mtr_portfolio_id': 29649587, 'created_at': datetime.datetime(2025, 12, 24, 5, 50, 41), 'result': '0.05173881124472529', 'result_long': None, 'result_double': None}] Qualite : 0.05173881124472529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29649587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649587_24-12-2025_05_50_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29649587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649587_24-12-2025_05_50_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29649588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29649589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29649590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29649591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29649592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29649593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29649594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29649595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29649596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29649597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29649598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29649599, 'pht': 3726}}" where mtr_portfolio_id = 29649587 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29649587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686300, 0.05173881124472529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649587_24-12-2025_05_50_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29649588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29649589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29649590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29649591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29649592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29649593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29649594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29649595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29649596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29649597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29649598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29649599, '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 = 29649877 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': 4267043, 'mtr_portfolio_id': 29649877, 'created_at': datetime.datetime(2025, 12, 24, 5, 51, 7), 'result': '0.06921377264350054', 'result_long': None, 'result_double': None}] Qualite : 0.06921377264350054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29649877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649877_24-12-2025_05_51_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29649877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649877_24-12-2025_05_51_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29649913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29649914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29649915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29649916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29649917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29649918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29649919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29649920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29649921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29649922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29649923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29649924, 'pht': 3726}}" where mtr_portfolio_id = 29649877 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29649877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686301, 0.06921377264350054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29649877_24-12-2025_05_51_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29649913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29649914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29649915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29649916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29649917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29649918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29649919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29649920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29649921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29649922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29649923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29649924, '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 = 29650516 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': 4267044, 'mtr_portfolio_id': 29650516, 'created_at': datetime.datetime(2025, 12, 24, 5, 51, 30), 'result': '0.05711358508843476', 'result_long': None, 'result_double': None}] Qualite : 0.05711358508843476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29650516 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29650516_24-12-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29650516 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29650516_24-12-2025_05_51_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29650520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29650521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29650522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29650523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29650524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29650525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29650526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29650527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29650528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29650529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29650530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29650531, 'pht': 3726}}" where mtr_portfolio_id = 29650516 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29650516 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686302, 0.05711358508843476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29650516_24-12-2025_05_51_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29650520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29650521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29650522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29650523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29650524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29650525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29650526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29650527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29650528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29650529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29650530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29650531, '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 = 29651272 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': 4267045, 'mtr_portfolio_id': 29651272, 'created_at': datetime.datetime(2025, 12, 24, 5, 52), 'result': '0.06266458541653318', 'result_long': None, 'result_double': None}] Qualite : 0.06266458541653318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29651272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651272_24-12-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29651272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651272_24-12-2025_05_52_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29651275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29651276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29651277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29651278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29651279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29651280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29651281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29651282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29651283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29651284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29651285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29651286, 'pht': 3726}}" where mtr_portfolio_id = 29651272 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29651272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686303, 0.06266458541653318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651272_24-12-2025_05_52_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29651275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29651276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29651277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29651278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29651279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29651280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29651281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29651282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29651283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29651284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29651285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29651286, '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 = 29651655 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': 4267046, 'mtr_portfolio_id': 29651655, 'created_at': datetime.datetime(2025, 12, 24, 5, 52, 28), 'result': '0.04381395064028129', 'result_long': None, 'result_double': None}] Qualite : 0.04381395064028129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29651655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651655_24-12-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29651655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651655_24-12-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29651659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29651660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29651661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29651662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29651663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29651664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29651665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29651666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29651667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29651668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29651669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29651670, 'pht': 3726}}" where mtr_portfolio_id = 29651655 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29651655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686304, 0.04381395064028129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29651655_24-12-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29651659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29651660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29651661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29651662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29651663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29651664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29651665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29651666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29651667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29651668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29651669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29651670, '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 = 29652027 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': 4267047, 'mtr_portfolio_id': 29652027, 'created_at': datetime.datetime(2025, 12, 24, 5, 53, 28), 'result': '0.041481039440521325', 'result_long': None, 'result_double': None}] Qualite : 0.041481039440521325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29652027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652027_24-12-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29652027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652027_24-12-2025_05_53_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29652055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29652056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29652057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29652058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29652059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29652060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29652061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29652062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29652063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29652064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29652065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29652066, 'pht': 3726}}" where mtr_portfolio_id = 29652027 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29652027 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686305, 0.041481039440521325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652027_24-12-2025_05_53_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29652055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29652056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29652057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29652058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29652059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29652060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29652061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29652062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29652063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29652064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29652065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29652066, '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 = 29652573 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': 4267048, 'mtr_portfolio_id': 29652573, 'created_at': datetime.datetime(2025, 12, 24, 5, 53, 59), 'result': '0.05471604875690472', 'result_long': None, 'result_double': None}] Qualite : 0.05471604875690472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29652573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652573_24-12-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29652573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652573_24-12-2025_05_54_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29652580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29652581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29652582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29652583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29652584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29652585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29652586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29652587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29652588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29652589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29652590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29652591, 'pht': 3726}}" where mtr_portfolio_id = 29652573 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29652573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686306, 0.05471604875690472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29652573_24-12-2025_05_54_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29652580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29652581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29652582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29652583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29652584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29652585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29652586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29652587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29652588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29652589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29652590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29652591, '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 = 29660939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29660939 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660939 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29660939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29660939_24-12-2025_09_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29660939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29660939_24-12-2025_09_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29660987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29660988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29660990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29660991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29660992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29660994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29660995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29660997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29660998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29660999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661001, 'pht': 3726}}" where mtr_portfolio_id = 29660939 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660941 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29660941 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29660941 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29660941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29660941_24-12-2025_09_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29660941 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29660941_24-12-2025_09_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29660942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29660943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29660944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29660945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29660946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29660947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29660948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29660949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29660950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29660951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29660952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29660953, 'pht': 3726}}" where mtr_portfolio_id = 29660941 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658244 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658244 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29658244 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658244 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658244 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29658244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658244_24-12-2025_09_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29658244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658244_24-12-2025_09_44_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658417, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658428, 'pht': 3726}}" where mtr_portfolio_id = 29658244 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658253 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29658253 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658253 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658253 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29658253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658253_24-12-2025_09_46_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29658253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658253_24-12-2025_09_46_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658383, 'pht': 3726}}" where mtr_portfolio_id = 29658253 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29658261 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29658261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658261_24-12-2025_09_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29658261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658261_24-12-2025_09_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658296, 'pht': 3726}}" where mtr_portfolio_id = 29658261 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658263 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658263 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29658263 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658263 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658263 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29658263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658263_24-12-2025_09_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29658263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658263_24-12-2025_09_47_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29658322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658340, 'pht': 3726}}" where mtr_portfolio_id = 29658263 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658266 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658266 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29658266 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658266 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29658266 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29658266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658266_24-12-2025_09_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29658266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658266_24-12-2025_09_48_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29658344, 'pht': 3726}}" where mtr_portfolio_id = 29658266 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655574 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655574 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29655574 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655574 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655574 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29655574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655574_24-12-2025_09_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29655574 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655574_24-12-2025_09_48_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29655672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655683, 'pht': 3726}}" where mtr_portfolio_id = 29655574 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655589 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655589 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29655589 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655589 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29655589 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29655589 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655589_24-12-2025_09_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29655589 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655589_24-12-2025_09_49_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655653, 'pht': 3726}}" where mtr_portfolio_id = 29655589 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654632 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654632 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29654632 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654632 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654632 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654632_24-12-2025_09_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654632_24-12-2025_09_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654963, 'pht': 3726}}" where mtr_portfolio_id = 29654632 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654635 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29654635 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654635 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654635 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654635_24-12-2025_09_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654635_24-12-2025_09_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654927, 'pht': 3726}}" where mtr_portfolio_id = 29654635 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654639 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29654639 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654639 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654639 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654639_24-12-2025_09_51_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654639_24-12-2025_09_51_11.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654831, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654835, 'pht': 3726}}" where mtr_portfolio_id = 29654639 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654642 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29654642 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654642 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654642 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654642_24-12-2025_09_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654642_24-12-2025_09_51_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654757, 'pht': 3726}}" where mtr_portfolio_id = 29654642 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654646 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29654646 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654646 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654646 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654646_24-12-2025_09_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654646_24-12-2025_09_52_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29654679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654690, 'pht': 3726}}" where mtr_portfolio_id = 29654646 and dashboard_run_id = 2790206 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29654305 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': 4267063, 'mtr_portfolio_id': 29654305, 'created_at': datetime.datetime(2025, 12, 24, 6, 2, 31), 'result': '0.0502389265307383', 'result_long': None, 'result_double': None}] Qualite : 0.0502389265307383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654305_24-12-2025_06_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654305_24-12-2025_06_02_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654375, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654379, 'pht': 3726}}" where mtr_portfolio_id = 29654305 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29654305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686321, 0.0502389265307383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654305_24-12-2025_06_02_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654375, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654379, '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 = 29654307 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': 4267064, 'mtr_portfolio_id': 29654307, 'created_at': datetime.datetime(2025, 12, 24, 6, 3, 28), 'result': '0.06449410357216664', 'result_long': None, 'result_double': None}] Qualite : 0.06449410357216664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654307_24-12-2025_06_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654307_24-12-2025_06_03_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654351, 'pht': 3726}}" where mtr_portfolio_id = 29654307 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29654307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686322, 0.06449410357216664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654307_24-12-2025_06_03_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29654348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654351, '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 = 29654309 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': 4267065, 'mtr_portfolio_id': 29654309, 'created_at': datetime.datetime(2025, 12, 24, 6, 4), 'result': '0.06245487999184296', 'result_long': None, 'result_double': None}] Qualite : 0.06245487999184296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29654309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654309_24-12-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29654309 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654309_24-12-2025_06_04_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29654310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654321, 'pht': 3726}}" where mtr_portfolio_id = 29654309 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29654309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686323, 0.06245487999184296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29654309_24-12-2025_06_04_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29654310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29654311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29654312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29654313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29654314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29654315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29654316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29654317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29654318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29654319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29654320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29654321, '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 = 29655129 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': 4267066, 'mtr_portfolio_id': 29655129, 'created_at': datetime.datetime(2025, 12, 24, 6, 4, 28), 'result': '0.05849193735391781', 'result_long': None, 'result_double': None}] Qualite : 0.05849193735391781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29655129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655129_24-12-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29655129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655129_24-12-2025_06_04_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655197, 'pht': 3726}}" where mtr_portfolio_id = 29655129 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29655129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686324, 0.05849193735391781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655129_24-12-2025_06_04_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655185, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655197, '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 = 29655750 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': 4267067, 'mtr_portfolio_id': 29655750, 'created_at': datetime.datetime(2025, 12, 24, 6, 5, 28), 'result': '0.050320786941649105', 'result_long': None, 'result_double': None}] Qualite : 0.050320786941649105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29655750 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655750_24-12-2025_06_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29655750 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655750_24-12-2025_06_05_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655797, 'pht': 3726}}" where mtr_portfolio_id = 29655750 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29655750 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686325, 0.050320786941649105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29655750_24-12-2025_06_05_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29655786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29655787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29655788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29655789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29655790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29655791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29655792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29655793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29655794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29655795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29655796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29655797, '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 = 29656592 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': 4267068, 'mtr_portfolio_id': 29656592, 'created_at': datetime.datetime(2025, 12, 24, 6, 5, 38), 'result': '0.04210971547903521', 'result_long': None, 'result_double': None}] Qualite : 0.04210971547903521 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29656592 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29656592_24-12-2025_06_05_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29656592 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29656592_24-12-2025_06_05_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29656598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29656599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29656600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29656601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29656602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29656603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29656604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29656605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29656606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29656607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29656608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29656609, 'pht': 3726}}" where mtr_portfolio_id = 29656592 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29656592 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686326, 0.04210971547903521, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29656592_24-12-2025_06_05_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29656598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29656599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29656600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29656601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29656602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29656603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29656604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29656605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29656606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29656607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29656608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29656609, '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 = 29657197 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': 4267069, 'mtr_portfolio_id': 29657197, 'created_at': datetime.datetime(2025, 12, 24, 6, 5, 59), 'result': '0.049149485241787506', 'result_long': None, 'result_double': None}] Qualite : 0.049149485241787506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29657197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657197_24-12-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29657197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657197_24-12-2025_06_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29657237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29657238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29657239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29657240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29657241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29657243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29657244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29657245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29657246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29657247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29657248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29657249, 'pht': 3726}}" where mtr_portfolio_id = 29657197 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29657197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686327, 0.049149485241787506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657197_24-12-2025_06_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29657237, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29657238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29657239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29657240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29657241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29657243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29657244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29657245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29657246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29657247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29657248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29657249, '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 = 29657812 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': 4267070, 'mtr_portfolio_id': 29657812, 'created_at': datetime.datetime(2025, 12, 24, 6, 6, 8), 'result': '0.07779318539706928', 'result_long': None, 'result_double': None}] Qualite : 0.07779318539706928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29657812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657812_24-12-2025_06_06_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29657812 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657812_24-12-2025_06_06_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29657843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29657844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29657845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29657846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29657847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29657848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29657849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29657850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29657851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29657852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29657853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29657854, 'pht': 3726}}" where mtr_portfolio_id = 29657812 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29657812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686328, 0.07779318539706928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29657812_24-12-2025_06_06_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29657843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29657844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29657845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29657846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29657847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29657848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29657849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29657850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29657851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29657852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29657853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29657854, '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 = 29658442 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': 4267071, 'mtr_portfolio_id': 29658442, 'created_at': datetime.datetime(2025, 12, 24, 6, 6, 27), 'result': '0.0464077647644548', 'result_long': None, 'result_double': None}] Qualite : 0.0464077647644548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29658442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658442_24-12-2025_06_06_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29658442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658442_24-12-2025_06_06_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29658449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658460, 'pht': 3726}}" where mtr_portfolio_id = 29658442 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29658442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686329, 0.0464077647644548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29658442_24-12-2025_06_06_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29658449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29658450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29658451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29658452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29658453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29658454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29658455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29658456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29658457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29658458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29658459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29658460, '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 = 29659244 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': 4267072, 'mtr_portfolio_id': 29659244, 'created_at': datetime.datetime(2025, 12, 24, 6, 7, 28), 'result': '0.04686701564107338', 'result_long': None, 'result_double': None}] Qualite : 0.04686701564107338 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29659244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659244_24-12-2025_06_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29659244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659244_24-12-2025_06_07_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29659252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29659253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29659254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29659255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29659256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29659257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29659258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29659259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29659260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29659261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29659262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29659263, 'pht': 3726}}" where mtr_portfolio_id = 29659244 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29659244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686330, 0.04686701564107338, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659244_24-12-2025_06_07_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29659252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29659253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29659254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29659255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29659256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29659257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29659258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29659259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29659260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29659261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29659262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29659263, '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 = 29659893 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': 4267073, 'mtr_portfolio_id': 29659893, 'created_at': datetime.datetime(2025, 12, 24, 6, 7, 57), 'result': '0.04241123868062123', 'result_long': None, 'result_double': None}] Qualite : 0.04241123868062123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29659893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659893_24-12-2025_06_07_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29659893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659893_24-12-2025_06_07_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29659923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29659924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29659925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29659926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29659927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29659928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29659929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29659930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29659931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29659932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29659933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29659934, 'pht': 3726}}" where mtr_portfolio_id = 29659893 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29659893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686331, 0.04241123868062123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29659893_24-12-2025_06_07_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29659923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29659924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29659925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29659926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29659927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29659928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29659929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29659930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29659931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29659932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29659933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29659934, '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 = 29661175 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': 4267074, 'mtr_portfolio_id': 29661175, 'created_at': datetime.datetime(2025, 12, 24, 6, 8, 30), 'result': '0.050547798713838396', 'result_long': None, 'result_double': None}] Qualite : 0.050547798713838396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29661175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661175_24-12-2025_06_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29661175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661175_24-12-2025_06_08_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29661178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661189, 'pht': 3726}}" where mtr_portfolio_id = 29661175 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29661175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686332, 0.050547798713838396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661175_24-12-2025_06_08_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29661178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661189, '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 = 29661444 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': 4267075, 'mtr_portfolio_id': 29661444, 'created_at': datetime.datetime(2025, 12, 24, 6, 9, 29), 'result': '0.038554832233040875', 'result_long': None, 'result_double': None}] Qualite : 0.038554832233040875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29661444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661444_24-12-2025_06_09_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29661444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661444_24-12-2025_06_09_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29661454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661456, 'pht': 3726}}" where mtr_portfolio_id = 29661444 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29661444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686333, 0.038554832233040875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661444_24-12-2025_06_09_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29661454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661456, '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 = 29661880 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': 4267076, 'mtr_portfolio_id': 29661880, 'created_at': datetime.datetime(2025, 12, 24, 6, 9, 58), 'result': '0.06244110770330331', 'result_long': None, 'result_double': None}] Qualite : 0.06244110770330331 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29661880 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661880_24-12-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29661880 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661880_24-12-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29661900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661905, 'pht': 3726}}" where mtr_portfolio_id = 29661880 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29661880 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686334, 0.06244110770330331, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29661880_24-12-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29661893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29661894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29661895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29661896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29661897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29661898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29661899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29661900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29661901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29661902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29661904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29661905, '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 = 29662352 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': 4267077, 'mtr_portfolio_id': 29662352, 'created_at': datetime.datetime(2025, 12, 24, 6, 10, 40), 'result': '0.03317688391876484', 'result_long': None, 'result_double': None}] Qualite : 0.03317688391876484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29662352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662352_24-12-2025_06_10_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29662352 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662352_24-12-2025_06_10_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29662359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29662360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29662361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29662362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29662363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29662364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29662365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29662366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29662368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29662369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29662370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29662371, 'pht': 3726}}" where mtr_portfolio_id = 29662352 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29662352 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686335, 0.03317688391876484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662352_24-12-2025_06_10_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29662359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29662360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29662361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29662362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29662363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29662364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29662365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29662366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29662368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29662369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29662370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29662371, '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 = 29662739 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': 4267078, 'mtr_portfolio_id': 29662739, 'created_at': datetime.datetime(2025, 12, 24, 6, 10, 58), 'result': '0.03801065583478498', 'result_long': None, 'result_double': None}] Qualite : 0.03801065583478498 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29662739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662739_24-12-2025_06_11_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29662739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662739_24-12-2025_06_11_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29662771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29662772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29662773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29662774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29662775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29662776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29662777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29662778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29662779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29662780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29662781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29662783, 'pht': 3726}}" where mtr_portfolio_id = 29662739 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29662739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686336, 0.03801065583478498, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29662739_24-12-2025_06_11_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29662771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29662772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29662773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29662774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29662775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29662776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29662777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29662778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29662779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29662780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29662781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29662783, '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 = 29663561 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': 4267079, 'mtr_portfolio_id': 29663561, 'created_at': datetime.datetime(2025, 12, 24, 6, 11, 11), 'result': '0.057248725166108676', 'result_long': None, 'result_double': None}] Qualite : 0.057248725166108676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29663561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29663561_24-12-2025_06_11_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29663561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29663561_24-12-2025_06_11_14.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29663592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29663594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29663595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29663596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29663597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29663598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29663599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29663600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29663601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29663602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29663603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29663604, 'pht': 3726}}" where mtr_portfolio_id = 29663561 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29663561 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686337, 0.057248725166108676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29663561_24-12-2025_06_11_14.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29663592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29663594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29663595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29663596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29663597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29663598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29663599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29663600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29663601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29663602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29663603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29663604, '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 = 29664257 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': 4267080, 'mtr_portfolio_id': 29664257, 'created_at': datetime.datetime(2025, 12, 24, 6, 11, 28), 'result': '0.04998779030955694', 'result_long': None, 'result_double': None}] Qualite : 0.04998779030955694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29664257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664257_24-12-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29664257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664257_24-12-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29664304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29664305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29664306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29664308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29664309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29664310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29664311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29664312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29664313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29664314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29664315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29664316, 'pht': 3726}}" where mtr_portfolio_id = 29664257 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29664257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686338, 0.04998779030955694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664257_24-12-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29664304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29664305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29664306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29664308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29664309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29664310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29664311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29664312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29664313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29664314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29664315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29664316, '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 = 29664997 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': 4267081, 'mtr_portfolio_id': 29664997, 'created_at': datetime.datetime(2025, 12, 24, 6, 12), 'result': '0.03599132407210219', 'result_long': None, 'result_double': None}] Qualite : 0.03599132407210219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29664997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664997_24-12-2025_06_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29664997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664997_24-12-2025_06_12_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29665029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29665030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29665031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29665032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29665033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29665034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29665035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29665036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29665037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29665038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29665039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29665040, 'pht': 3726}}" where mtr_portfolio_id = 29664997 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29664997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686339, 0.03599132407210219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29664997_24-12-2025_06_12_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29665029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29665030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29665031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29665032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29665033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29665034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29665035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29665036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29665037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29665038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29665039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29665040, '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 = 29665431 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': 4267082, 'mtr_portfolio_id': 29665431, 'created_at': datetime.datetime(2025, 12, 24, 6, 12, 29), 'result': '0.04176497353163754', 'result_long': None, 'result_double': None}] Qualite : 0.04176497353163754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29665431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29665431_24-12-2025_06_12_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29665431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29665431_24-12-2025_06_12_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29665432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29665433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29665434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29665435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29665436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29665437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29665438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29665439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29665440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29665441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29665442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29665443, 'pht': 3726}}" where mtr_portfolio_id = 29665431 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29665431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686340, 0.04176497353163754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29665431_24-12-2025_06_12_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29665432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29665433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29665434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29665435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29665436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29665437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29665438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29665439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29665440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29665441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29665442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29665443, '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 = 29666258 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': 4267083, 'mtr_portfolio_id': 29666258, 'created_at': datetime.datetime(2025, 12, 24, 6, 13, 32), 'result': '0.04745749297543759', 'result_long': None, 'result_double': None}] Qualite : 0.04745749297543759 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29666258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29666258_24-12-2025_06_13_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29666258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29666258_24-12-2025_06_13_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29666320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29666321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29666322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29666323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29666324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29666325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29666326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29666327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29666328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29666329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29666330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29666331, 'pht': 3726}}" where mtr_portfolio_id = 29666258 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29666258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686341, 0.04745749297543759, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29666258_24-12-2025_06_13_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29666320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29666321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29666322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29666323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29666324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29666325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29666326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29666327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29666328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29666329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29666330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29666331, '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 = 29667131 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': 4267084, 'mtr_portfolio_id': 29667131, 'created_at': datetime.datetime(2025, 12, 24, 6, 14, 2), 'result': '0.0574202820287476', 'result_long': None, 'result_double': None}] Qualite : 0.0574202820287476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29667131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667131_24-12-2025_06_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29667131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667131_24-12-2025_06_14_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29667228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29667229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29667230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29667231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29667232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29667233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29667234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29667235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29667236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29667237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29667238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29667239, 'pht': 3726}}" where mtr_portfolio_id = 29667131 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29667131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686342, 0.0574202820287476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667131_24-12-2025_06_14_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29667228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29667229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29667230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29667231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29667232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29667233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29667234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29667235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29667236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29667237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29667238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29667239, '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 = 29667547 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': 4267085, 'mtr_portfolio_id': 29667547, 'created_at': datetime.datetime(2025, 12, 24, 6, 14, 31), 'result': '0.0641645188386513', 'result_long': None, 'result_double': None}] Qualite : 0.0641645188386513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29667547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667547_24-12-2025_06_14_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29667547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667547_24-12-2025_06_14_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29667566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29667567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29667568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29667569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29667570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29667571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29667572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29667573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29667574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29667575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29667576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29667577, 'pht': 3726}}" where mtr_portfolio_id = 29667547 and dashboard_run_id = 2790206 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=29667547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18686343, 0.0641645188386513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29667547_24-12-2025_06_14_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29667566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29667567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29667568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29667569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29667570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29667571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29667572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29667573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29667574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29667575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29667576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29667577, '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 (29636316,29636749,29637002,29637369,29638070,29638385,29638771,29639188,29639703,29640097,29640520,29641030,29641457,29641822,29642134,29643214,29643562,29643930,29644377,29644726,29645305,29645753,29646216,29646665,29647197,29647945,29648452,29648806,29649587,29649877,29650516,29651272,29651655,29652027,29652573,29660939,29660941,29658244,29658253,29658261,29658263,29658266,29655574,29655589,29654632,29654635,29654639,29654642,29654646,29654305,29654307,29654309,29655129,29655750,29656592,29657197,29657812,29658442,29659244,29659893,29661175,29661444,29661880,29662352,29662739,29663561,29664257,29664997,29665431,29666258,29667131,29667547) result : ((1400619724,), (1400619761,), (1400619795,), (1400619831,), (1400620155,), (1400620158,), (1400620162,), (1400620784,), (1400620848,), (1400620936,), (1400620977,), (1400621034,), (1400621529,), (1400621566,), (1400621601,), (1400621636,), (1400621861,), (1400621863,), (1400621865,), (1400621868,), (1400621872,), (1400621875,), (1400621941,), (1400621976,), (1400622114,), (1400622141,), (1400622147,), (1400622251,), (1400622252,), (1400622253,), (1400622255,), (1400622259,), (1400622277,), (1400622278,), (1400622279,), (1400622280,), (1400622296,), (1400622298,), (1400622428,), (1400622430,), (1400622432,), (1400622437,), (1400622471,), (1400622495,), (1400622678,), (1400622679,), (1400622682,), (1400622714,), (1400622732,), (1400622737,), (1400622771,), (1400622774,), (1400623012,), (1400623007,), (1400623010,), (1400623033,), (1400623035,), (1400623053,), (1400623054,), (1400623217,), (1400623220,), (1400623223,), (1400623243,), (1400623246,), (1400623247,), (1400623249,), (1400623265,), (1400623267,), (1400623268,), (1400623270,), (1400623273,), (1400623310,), (1400623313,), (1400623339,), (1400623341,), (1400623344,), (1400623335,), (1400623337,), (1400623338,), (1400623362,), (1400623364,), (1400623365,), (1400623382,), (1400623384,), (1400623386,), (1400623388,), (1400623392,), (1400623395,), (1400623411,), (1400623413,), (1400623414,), (1400623428,), (1400623454,), (1400623455,), (1400623456,), (1400623458,), (1400623472,), (1400623474,), (1400623476,), (1400623494,), (1400623495,), (1400623496,), (1400623497,), (1400623500,), (1400623513,), (1400623514,), (1400623535,), (1400623536,), (1400623557,), (1400623559,), (1400623561,), (1400623565,), (1400623568,), (1400623570,), (1400623576,), (1400623579,), (1400623583,), (1400623584,), (1400623586,), (1400623588,), (1400623601,), (1400623604,), (1400623606,), (1400623609,), (1400623612,), (1400623620,), (1400623622,), (1400623623,), (1400623629,), (1400623632,), (1400623640,), (1400623643,), (1400623644,), (1400623650,), (1400623652,), (1400623655,), (1400623688,), (1400623686,), (1400623702,), (1400623703,), (1400623704,), (1400623706,), (1400623730,), (1400623731,), (1400623732,), (1400623734,), (1400623737,), (1400623754,), (1400623756,), (1400623758,), (1400623760,), (1400623779,), (1400623797,), (1400623799,), (1400623800,), (1400623801,), (1400623803,), (1400623804,), (1400623821,), (1400623822,), (1400623823,), (1400623825,), (1400623838,), (1400623839,), (1400623840,), (1400623842,), (1400623865,), (1400623867,), (1400623870,), (1400623871,), (1400623889,), (1400623891,), (1400623892,), (1400623893,), (1400623910,), (1400623911,), (1400623912,), (1400623929,), (1400623931,), (1400623934,), (1400623936,), (1400623955,), (1400623958,), (1400623959,), (1400623982,), (1400623986,), (1400623990,), (1400623995,), (1400623999,), (1400624341,), (1400624377,), (1400624410,), (1400624431,), (1400624434,), (1400624437,), (1400627807,), (1400627824,), (1400627825,), (1400627826,), (1400627844,), (1400627846,), (1400627848,), (1400627865,), (1400627867,), (1400627868,), (1400627869,), (1400627872,), (1400627887,), (1400627888,), (1400627889,), (1400627890,), (1400627895,), (1400627917,), (1400627918,), (1400627919,), (1400627941,), (1400627943,), (1400627945,), (1400627949,), (1400627952,), (1400627954,), (1400627974,), (1400627978,), (1400627979,), (1400627980,), (1400627983,), (1400627986,), (1400627998,), (1400627999,), (1400628021,), (1400628023,), (1400628025,), (1400628027,), (1400628043,), (1400628044,), (1400628045,), (1400628046,), (1400628073,), (1400628074,), (1400628075,), (1400628091,), (1400628097,), (1400628099,), (1400628103,), (1400628106,), (1400628129,), (1400628122,), (1400628124,), (1400628125,), (1400628126,), (1400628143,), (1400628144,), (1400628183,), (1400628184,), (1400628185,), (1400628208,), (1400628209,), (1400628210,), (1400628212,), (1400628239,), (1400628241,), (1400628263,), (1400628264,), (1400628265,), (1400628268,), (1400628271,), (1400628275,), (1400628289,), (1400628290,), (1400628291,), (1400628307,), (1400628309,), (1400628311,), (1400628312,), (1400628337,), (1400628338,), (1400628339,), (1400628340,), (1400628359,), (1400628362,), (1400628393,), (1400628396,), (1400628398,), (1400628400,), (1400628404,), (1400628418,), (1400628420,), (1400628421,), (1400628454,), (1400628457,), (1400628497,), (1400628501,), (1400628504,), (1400628509,), (1400628513,), (1400628685,), (1400628719,), (1400628755,), (1400628985,), (1400629050,), (1400629124,), (1400629186,), (1400629255,), (1400628574,), (1400628610,), (1400628644,), (1400629551,), (1400629649,), (1400629717,), (1400629789,), (1400629870,), (1400630303,), (1400630307,), (1400630310,), (1400630317,), (1400630319,), (1400630332,), (1400630453,), (1400630480,), (1400630485,), (1400630487,), (1400630634,), (1400630636,), (1400630692,), (1400630700,), (1400630759,), (1400630768,), (1400630866,), (1400630869,), (1400631220,), (1400631274,), (1400631308,), (1400631837,), (1400631840,), (1400631843,), (1400631846,), (1400631991,), (1400631994,), (1400632005,), (1400632039,), (1400632154,), (1400632155,), (1400632157,), (1400632159,), (1400632175,), (1400632177,), (1400632180,), (1400632183,), (1400632186,), (1400632189,), (1400632204,), (1400632207,), (1400632210,), (1400632212,), (1400632215,), (1400633129,), (1400633132,), (1400633134,), (1400633163,), (1400633165,), (1400633166,), (1400633168,), (1400633616,), (1400633640,), (1400633672,), (1400633695,), (1400633704,), (1400633707,), (1400633733,), (1400633756,), (1400633758,), (1400633760,), (1400633764,), (1400633797,), (1400633792,), (1400633795,), (1400633813,), (1400633815,), (1400633817,), (1400633820,), (1400633824,), (1400633839,), (1400633842,), (1400633845,), (1400633866,), (1400633868,), (1400633870,), (1400633872,), (1400633874,), (1400633904,), (1400633907,), (1400633909,), (1400633912,), (1400633916,), (1400633919,), (1400633932,), (1400633935,), (1400633938,), (1400633941,), (1400633944,), (1400633946,), (1400633949,), (1400633951,), (1400633953,), (1400633956,), (1400633962,), (1400633964,), (1400633966,), (1400633986,), (1400633988,), (1400633993,), (1400633997,), (1400634018,), (1400634021,), (1400634024,), (1400634027,), (1400634037,), (1400634040,), (1400634062,), (1400634064,), (1400634066,), (1400634068,), (1400634090,), (1400634092,), (1400634094,), (1400634097,), (1400634125,), (1400634128,), (1400634131,), (1400634133,), (1400634137,), (1400634156,), (1400634158,), (1400634189,), (1400634192,), (1400634194,), (1400634232,), (1400634235,), (1400634244,), (1400634246,), (1400634222,), (1400634224,), (1400634226,), (1400634230,), (1400634252,), (1400634255,), (1400634256,), (1400634257,), (1400634259,), (1400634273,), (1400634276,), (1400634280,), (1400634284,), (1400634287,), (1400634299,), (1400634300,), (1400634326,), (1400634328,), (1400634330,), (1400634332,), (1400634336,), (1400634349,), (1400634351,), (1400634352,), (1400634417,), (1400634438,), (1400634440,), (1400634441,), (1400634461,), (1400634462,), (1400634463,), (1400634484,), (1400634486,), (1400634488,), (1400634492,), (1400634495,), (1400634498,), (1400634522,), (1400634542,), (1400634544,), (1400634545,), (1400634546,), (1400634549,), (1400634566,), (1400634567,), (1400634568,), (1400634593,), (1400634612,), (1400634616,), (1400634619,), (1400634648,), (1400634638,), (1400634642,), (1400634645,), (1400634670,), (1400634673,), (1400634675,), (1400634696,), (1400634698,), (1400634700,), (1400634703,), (1400634713,), (1400634722,), (1400634724,), (1400634727,), (1400634744,), (1400634747,), (1400634766,), (1400634767,), (1400634769,), (1400634772,), (1400634775,), (1400634796,), (1400634799,), (1400634802,), (1400634805,), (1400634809,), (1400634812,), (1400634822,), (1400634825,), (1400634827,), (1400634828,), (1400634830,), (1400634846,), (1400634848,), (1400634850,), (1400634874,), (1400634879,), (1400634883,), (1400634903,), (1400634905,), (1400634907,), (1400634909,), (1400634922,), (1400634924,), (1400634926,), (1400634929,), (1400634933,), (1400634937,), (1400634945,), (1400634953,), (1400634955,), (1400634981,), (1400634985,), (1400635001,), (1400635039,), (1400635075,), (1400635457,), (1400635488,), (1400635491,), (1400635539,), (1400635543,), (1400635547,), (1400635550,), (1400635552,), (1400635554,), (1400635566,), (1400635414,), (1400635416,), (1400635425,), (1400635559,), (1400635562,), (1400635845,), (1400635877,), (1400635912,), (1400636289,), (1400636328,), (1400636358,), (1400636388,), (1400636422,), (1400636767,), (1400636801,), (1400636833,), (1400636868,), (1400636901,), (1400636928,), (1400636930,), (1400636932,), (1400636935,), (1400636938,), (1400636940,), (1400636956,), (1400637077,), (1400637110,), (1400637460,), (1400637470,), (1400637473,), (1400637640,), (1400637641,), (1400637643,), (1400637645,), (1400637647,), (1400637672,), (1400637674,), (1400637676,), (1400637678,), (1400637681,), (1400637696,), (1400637699,), (1400637702,), (1400637707,), (1400637710,), (1400637713,), (1400637720,), (1400637721,), (1400637724,), (1400637739,), (1400637740,), (1400637742,), (1400637744,), (1400637746,), (1400637749,), (1400637759,), (1400637761,), (1400637803,), (1400637810,), (1400637812,), (1400637830,), (1400637833,), (1400637836,), (1400637837,), (1400637906,), (1400637888,), (1400637897,), (1400637900,), (1400637902,), (1400637920,), (1400637922,), (1400637924,), (1400637926,), (1400637943,), (1400637966,), (1400637967,), (1400637989,), (1400637991,), (1400637993,), (1400638014,), (1400638016,), (1400638018,), (1400638022,), (1400638026,), (1400638053,), (1400638054,), (1400638055,), (1400638057,), (1400638080,), (1400638081,), (1400638116,), (1400638118,), (1400638119,), (1400638135,), (1400638137,), (1400638139,), (1400638163,), (1400638166,), (1400638168,), (1400638171,), (1400638173,), (1400638187,), (1400638190,), (1400638192,), (1400638194,), (1400638197,), (1400638224,), (1400638226,), (1400638245,), (1400638247,), (1400638249,), (1400638251,), (1400638273,), (1400638276,), (1400638280,), (1400638320,), (1400638322,), (1400638340,), (1400638342,), (1400638312,), (1400638313,), (1400638315,), (1400638317,), (1400638358,), (1400638360,), (1400638361,), (1400638363,), (1400638382,), (1400638406,), (1400638408,), (1400638410,), (1400638463,), (1400638465,), (1400638467,), (1400638469,), (1400638473,), (1400638476,), (1400638480,), (1400638482,), (1400638488,), (1400638490,), (1400638491,), (1400638492,), (1400638524,), (1400638526,), (1400638527,), (1400638528,), (1400638544,), (1400638545,), (1400638547,), (1400638551,), (1400638555,), (1400638568,), (1400638570,), (1400638571,), (1400638574,), (1400638578,), (1400638590,), (1400638592,), (1400638593,), (1400638594,), (1400638621,), (1400638622,), (1400638623,), (1400638625,), (1400638640,), (1400638642,), (1400638644,), (1400638646,), (1400638682,), (1400638684,), (1400638685,), (1400638700,), (1400638703,), (1400638704,), (1400638706,), (1400638738,), (1400638736,), (1400638737,), (1400638753,), (1400638755,), (1400638757,), (1400638759,), (1400638762,), (1400638766,), (1400638783,), (1400638785,), (1400638786,), (1400638787,), (1400638790,), (1400638805,), (1400638806,), (1400638829,), (1400638831,), (1400638833,), (1400638835,), (1400638839,), (1400638863,), (1400638864,), (1400638865,), (1400638868,), (1400638871,), (1400638876,), (1400638886,), (1400638888,), (1400638893,), (1400638895,), (1400638896,), (1400638898,), (1400638901,), (1400638912,), (1400638914,), (1400638916,), (1400638936,), (1400638938,), (1400638939,), (1400638940,), (1400638943,), (1400638956,), (1400638958,), (1400638959,), (1400638961,), (1400638978,), (1400638980,), (1400638997,), (1400638999,), (1400639001,), (1400639004,), (1400639021,), (1400639024,), (1400639374,), (1400639407,), (1400639448,), (1400639482,), (1400639518,), (1400639554,), (1400639791,), (1400639661,), (1400639684,), (1400639719,), (1400639754,), (1400640253,), (1400640304,), (1400640341,), (1400640757,), (1400640791,), (1400640849,), (1400640913,), (1400640999,), (1400641441,), (1400641509,), (1400641575,), (1400641628,), (1400641667,), (1400642140,), (1400642176,), (1400642209,), (1400642242,), (1400642276,), (1400642447,), (1400642448,), (1400642449,), (1400642451,), (1400642455,), (1400642482,), (1400642483,), (1400642496,), (1400642532,), (1400642940,), (1400642978,), (1400642982,), (1400642984,), (1400642998,), (1400643155,), (1400643157,), (1400643158,), (1400643159,), (1400643162,), (1400643164,), (1400643195,), (1400643197,), (1400643198,), (1400643199,), (1400643222,), (1400643223,), (1400643225,), (1400643229,), (1400643233,), (1400643237,), (1400643246,), (1400646839,), (1400646859,), (1400646837,), (1400646858,), (1400646897,), (1400646898,), (1400646917,), (1400646919,), (1400646921,), (1400646950,), (1400646952,), (1400646954,), (1400646955,), (1400646970,), (1400646972,), (1400646974,), (1400646976,), (1400646980,), (1400646983,), (1400646997,), (1400646999,), (1400647000,), (1400647012,), (1400647013,), (1400647014,), (1400647016,), (1400647019,), (1400647022,), (1400647042,), (1400647047,), (1400647049,), (1400647051,), (1400647055,), (1400647065,), (1400647067,), (1400647068,), (1400647069,), (1400647103,), (1400647104,), (1400647106,), (1400647109,), (1400647112,), (1400647115,), (1400647127,), (1400647129,), (1400647133,), (1400647137,), (1400647141,), (1400647148,), (1400647154,), (1400647156,), (1400647163,), (1400647166,), (1400647168,), (1400647170,), (1400647179,), (1400647182,), (1400647185,), (1400647176,), (1400647197,), (1400647225,), (1400647277,), (1400647278,), (1400647279,), (1400647302,), (1400647305,), (1400647306,), (1400647309,), (1400647313,), (1400647316,), (1400647327,), (1400647328,), (1400647329,), (1400647331,), (1400647333,), (1400647341,), (1400647350,), (1400647352,), (1400647355,), (1400647356,), (1400647357,), (1400647359,), (1400647364,), (1400647368,), (1400647370,), (1400647373,), (1400647376,), (1400647387,), (1400647389,), (1400647393,), (1400647397,), (1400647460,), (1400647463,), (1400647468,), (1400647480,), (1400647489,), (1400647492,), (1400647506,), (1400647509,), (1400647512,), (1400647514,), (1400647520,), (1400647522,), (1400647530,), (1400647531,), (1400647538,), (1400647545,), (1400647547,), (1400647549,), (1400647556,), (1400647558,), (1400647561,), (1400647562,), (1400647564,), (1400647567,), (1400647568,), (1400647571,), (1400647573,), (1400647574,), (1400647575,), (1400647577,), (1400647578,), (1400647579,), (1400647581,), (1400647584,), (1400647588,), (1400647592,), (1400647602,), (1400647630,), (1400647633,), (1400647635,), (1400647637,), (1400647652,), (1400647654,), (1400647655,), (1400647656,), (1400647659,), (1400647661,), (1400647678,), (1400647680,), (1400647681,), (1400647683,), (1400647686,), (1400647748,), (1400647752,), (1400647755,), (1400647767,), (1400647772,), (1400647780,), (1400647733,), (1400647735,), (1400647739,), (1400647785,), (1400647787,), (1400647791,), (1400647795,), (1400647799,), (1400647803,), (1400647806,), (1400647807,), (1400647808,), (1400647810,), (1400647814,), (1400647843,), (1400647845,), (1400647847,), (1400647851,), (1400647854,), (1400647857,), (1400647862,), (1400647864,), (1400647866,), (1400647872,), (1400647874,), (1400647876,), (1400647880,), (1400647884,), (1400647886,), (1400647912,), (1400647914,), (1400647916,), (1400647918,), (1400647922,), (1400647938,), (1400647940,), (1400647941,), (1400647942,), (1400647945,), (1400647948,), (1400647982,), (1400647983,), (1400647984,), (1400647986,), (1400647990,), (1400648007,), (1400648010,), (1400648015,), (1400648019,), (1400648022,), (1400648024,), (1400648037,), (1400648039,), (1400648040,), (1400648041,), (1400648057,), (1400648058,), (1400648059,), (1400648061,), (1400648064,), (1400648068,), (1400648100,), (1400648107,), (1400648108,), (1400648111,), (1400648129,), (1400648131,), (1400648133,), (1400648134,), (1400648136,), (1400648164,), (1400648166,), (1400648168,), (1400648171,), (1400648173,), (1400648176,), (1400648181,), (1400648183,), (1400648184,), (1400648186,), (1400648192,), (1400648194,), (1400648196,), (1400648200,), (1400648204,), (1400648255,), (1400648257,), (1400648258,), (1400648260,), (1400648262,), (1400648264,), (1400648240,), (1400648243,), (1400648246,), (1400648250,), (1400648253,), (1400648273,), (1400648274,), (1400648276,), (1400648277,), (1400648284,), (1400648287,), (1400648292,), (1400648293,), (1400648307,), (1400648309,), (1400648310,), (1400648311,), (1400648314,), (1400648329,), (1400648330,), (1400648331,), (1400648333,), (1400648337,), (1400648339,), (1400648360,), (1400648362,), (1400648364,), (1400648366,), (1400648382,), (1400648384,), (1400648388,), (1400648392,), (1400648397,), (1400648401,), (1400648415,), (1400648417,), (1400648418,), (1400648420,), (1400648434,), (1400648438,), (1400648440,), (1400648445,), (1400648456,), (1400648458,), (1400648459,), (1400648461,), (1400648463,), (1400648491,), (1400648492,), (1400648493,), (1400648496,), (1400648499,), (1400648502,), (1400648509,), (1400648511,), (1400648513,), (1400648514,), (1400648515,), (1400648519,), (1400648521,), (1400648525,), (1400648529,), (1400648554,), (1400648556,), (1400648557,), (1400648559,), (1400648564,), (1400648567,), (1400648581,), (1400648582,), (1400648583,), (1400648584,), (1400648603,), (1400648604,), (1400648605,), (1400648607,), (1400648631,), (1400648669,), (1400648902,), (1400648940,), (1400648976,), (1400649013,), (1400649604,), (1400649611,), (1400649647,), (1400649681,), (1400649715,), (1400649753,), (1400649786,), (1400649817,), (1400650294,), (1400650458,), (1400649455,), (1400649494,), (1400649530,), (1400649568,), (1400649974,), (1400650034,), (1400650099,), (1400650163,), (1400650230,), (1400650629,), (1400650668,), (1400650710,), (1400650746,), (1400650755,), (1400650901,), (1400650931,), (1400650963,), (1400650981,), (1400650986,), (1400650988,), (1400651052,), (1400651069,), (1400651081,), (1400651102,), (1400651112,), (1400651115,), (1400651118,), (1400651125,), (1400651133,), (1400651135,), (1400651139,), (1400651141,), (1400651142,), (1400651144,), (1400651148,), (1400651163,), (1400651165,), (1400651166,), (1400651167,), (1400651170,), (1400651194,), (1400651195,), (1400651196,), (1400651226,), (1400651227,), (1400651230,), (1400651232,), (1400651234,), (1400651237,), (1400651263,), (1400651265,), (1400651266,), (1400651267,), (1400651270,), (1400651273,), (1400651290,), (1400651291,), (1400651293,), (1400651296,), (1400651299,), (1400651302,), (1400651318,), (1400651319,), (1400651320,), (1400651328,), (1400651333,), (1400651335,), (1400651338,), (1400651340,), (1400651342,), (1400651344,), (1400651362,), (1400651364,), (1400651365,), (1400651366,), (1400651398,), (1400651399,), (1400651401,), (1400651405,), (1400651409,), (1400651413,), (1400651421,), (1400651422,), (1400651423,), (1400651429,), (1400651431,), (1400651435,), (1400651437,), (1400651440,), (1400651462,), (1400651452,), (1400651454,), (1400651456,), (1400651458,), (1400651487,), (1400651488,), (1400651489,), (1400651490,), (1400651493,), (1400651495,), (1400651519,), (1400651520,), (1400651521,), (1400651533,), (1400651555,), (1400651560,), (1400651562,), (1400651566,), (1400651568,), (1400651586,), (1400651588,), (1400651589,), (1400651590,), (1400651593,), (1400651618,), (1400651621,), (1400651626,), (1400651631,), (1400651636,), (1400651640,), (1400651649,), (1400651650,), (1400651653,), (1400651668,), (1400651670,), (1400651673,), (1400651676,), (1400651680,), (1400651685,), (1400651693,), (1400651695,), (1400651696,), (1400651697,), (1400651700,), (1400651702,), (1400651722,), (1400651723,), (1400651724,), (1400651727,), (1400651730,), (1400651733,), (1400651746,), (1400651748,), (1400651751,), (1400651754,), (1400651757,), (1400651761,), (1400651770,), (1400651771,), (1400651773,), (1400651790,), (1400651792,), (1400651793,), (1400651820,), (1400651825,), (1400651827,), (1400651831,), (1400651836,), (1400651839,), (1400651846,), (1400651857,), (1400651859,), (1400651884,), (1400651887,), (1400651888,), (1400651889,), (1400651892,), (1400651896,), (1400651954,), (1400651967,), (1400651968,), (1400651969,), (1400651971,), (1400651973,), (1400651975,), (1400651939,), (1400651940,), (1400651942,), (1400651946,), (1400651950,), (1400651982,), (1400651984,), (1400651986,), (1400651990,), (1400651995,), (1400652004,), (1400652006,), (1400652007,), (1400652008,), (1400652011,), (1400652014,), (1400652037,), (1400652043,), (1400652045,), (1400652049,), (1400652053,), (1400652056,), (1400652063,), (1400652064,), (1400652065,), (1400652066,), (1400652068,), (1400652080,), (1400652090,), (1400652093,), (1400652095,), (1400652097,), (1400652099,), (1400652120,), (1400652122,), (1400652125,), (1400652127,), (1400652142,), (1400652148,), (1400652150,), (1400652152,), (1400652154,), (1400652157,), (1400652181,), (1400652183,), (1400652185,), (1400652188,), (1400652209,), (1400652212,), (1400652215,), (1400652219,), (1400652223,), (1400652226,), (1400652249,), (1400652252,), (1400652255,), (1400652258,), (1400652275,), (1400652278,), (1400652280,), (1400652282,), (1400652285,), (1400652288,), (1400652319,), (1400652321,), (1400652323,), (1400652325,), (1400652328,), (1400652331,), (1400652350,), (1400652353,), (1400652356,), (1400652361,), (1400652391,), (1400652392,), (1400652395,), (1400652398,), (1400652402,), (1400652405,), (1400652417,), (1400652421,), (1400652424,), (1400652427,), (1400652430,), (1400652433,), (1400652437,), (1400652448,), (1400652456,), (1400652458,), (1400652460,), (1400652464,), (1400652481,), (1400652483,), (1400652485,), (1400652474,), (1400652475,), (1400652479,), (1400652507,), (1400652508,), (1400652511,), (1400652513,), (1400652516,), (1400652518,), (1400652542,), (1400652546,), (1400652548,), (1400652575,), (1400652578,), (1400652579,), (1400652580,), (1400652582,), (1400652607,), (1400652608,), (1400652609,), (1400652611,), (1400652614,), (1400652632,), (1400652634,), (1400652636,), (1400652640,), (1400652642,), (1400652644,), (1400652659,), (1400652662,), (1400652664,), (1400652670,), (1400652672,), (1400652676,), (1400652677,), (1400652679,), (1400652682,), (1400652685,), (1400652694,), (1400652696,), (1400652699,), (1400652704,), (1400652709,), (1400652744,), (1400652746,), (1400652750,), (1400652753,), (1400652756,), (1400652758,), (1400652766,), (1400652768,), (1400652771,), (1400652775,), (1400652777,), (1400652782,), (1400652784,), (1400652789,), (1400652793,), (1400652802,), (1400652803,), (1400652805,), (1400652814,), (1400652824,), (1400652826,), (1400652837,), (1400652839,), (1400652841,), (1400652843,), (1400652856,), (1400652857,), (1400652858,), (1400652860,), (1400652864,), (1400652868,), (1400652898,), (1400652902,), (1400652905,), (1400652909,), (1400652919,), (1400652920,), (1400652921,), (1400652924,), (1400652927,), (1400652940,), (1400652934,), (1400652936,), (1400652938,), (1400653051,), (1400653099,), (1400653134,), (1400653167,), (1400653203,), (1400653240,), (1400653517,), (1400653549,), (1400653584,), (1400653617,), (1400654293,), (1400654445,), (1400654553,), (1400654617,), (1400654689,), (1400654761,), (1400655056,), (1400655119,), (1400655216,), (1400655286,), (1400655288,), (1400655292,), (1400655301,), (1400655334,), (1400655500,), (1400655501,), (1400655502,), (1400655504,), (1400655565,), (1400655568,), (1400655571,), (1400655577,), (1400655580,), (1400655585,), (1400655606,), (1400655608,), (1400655609,), (1400655610,), (1400655630,), (1400655631,), (1400655632,), (1400655634,), (1400655638,), (1400655640,), (1400655677,), (1400655679,), (1400655681,), (1400655684,), (1400655687,), (1400655689,), (1400655697,), (1400655699,), (1400655701,), (1400655713,), (1400655720,), (1400655721,), (1400655723,), (1400655727,), (1400655731,), (1400655733,), (1400655743,), (1400655745,), (1400655747,), (1400655748,), (1400655763,), (1400655764,), (1400655765,), (1400655767,), (1400655770,), (1400655772,), (1400655802,), (1400655804,), (1400655806,), (1400655809,), (1400655811,), (1400655813,), (1400655819,), (1400655821,), (1400655826,), (1400655828,), (1400655830,), (1400655834,), (1400655836,), (1400655840,), (1400655843,), (1400655845,), (1400655869,), (1400655864,), (1400655866,), (1400655867,), (1400655889,), (1400655891,), (1400655894,), (1400655899,), (1400655904,), (1400655963,), (1400655968,), (1400655969,), (1400655971,), (1400655975,), (1400656038,), (1400656156,), (1400656165,), (1400656166,), (1400656224,), (1400656227,), (1400656230,), (1400656234,), (1400656238,), (1400656270,), (1400656278,), (1400656285,), (1400656308,), (1400656311,), (1400656316,), (1400656539,), (1400656540,), (1400656542,), (1400656546,), (1400656550,), (1400656554,), (1400656566,), (1400656567,), (1400656569,), (1400656571,), (1400656573,), (1400656576,), (1400656647,), (1400656649,), (1400656651,), (1400656654,), (1400656659,), (1400656665,), (1400656798,), (1400656832,), (1400656866,), (1400656900,), (1400656935,), (1400656972,), (1400656973,), (1400656974,), (1400656976,), (1400656980,), (1400656983,), (1400656999,), (1400657001,), (1400657002,), (1400657004,), (1400657007,), (1400657023,), (1400657025,), (1400657029,), (1400657031,), (1400657034,), (1400657037,), (1400657053,), (1400657056,), (1400657059,), (1400657062,), (1400657083,), (1400657084,), (1400657085,), (1400657049,), (1400657050,), (1400657090,), (1400657092,), (1400657095,), (1400657098,), (1400657101,), (1400657103,), (1400657107,), (1400657108,), (1400657109,), (1400657111,), (1400657142,), (1400657149,), (1400657151,), (1400657154,), (1400657157,), (1400657160,), (1400657169,), (1400657170,), (1400657172,), (1400657180,), (1400657190,), (1400657193,), (1400657195,), (1400657198,), (1400657200,), (1400657209,), (1400657211,), (1400657212,), (1400657213,), (1400657228,), (1400657235,), (1400657273,), (1400657275,), (1400657276,), (1400657277,), (1400657280,), (1400657339,), (1400657344,), (1400657345,), (1400657347,), (1400657364,), (1400657366,), (1400657368,), (1400657371,), (1400657376,), (1400657380,), (1400657398,), (1400657400,), (1400657402,), (1400657425,), (1400657426,), (1400657427,), (1400657431,), (1400657435,), (1400657440,), (1400657453,), (1400657455,), (1400657456,), (1400657468,), (1400657470,), (1400657475,), (1400657478,), (1400657483,), (1400657485,), (1400657504,), (1400657506,), (1400657543,), (1400657544,), (1400657545,), (1400657548,), (1400657551,), (1400657555,), (1400657562,), (1400657564,), (1400657577,), (1400657578,), (1400657580,), (1400657582,), (1400657586,), (1400657627,), (1400657614,), (1400657620,), (1400657622,), (1400657624,), (1400657641,), (1400657643,), (1400657644,), (1400657645,), (1400657648,), (1400657651,), (1400657674,), (1400657678,), (1400657679,), (1400657681,), (1400657708,), (1400657716,), (1400657722,), (1400657724,), (1400657728,), (1400657732,), (1400657751,), (1400657753,), (1400657754,), (1400657755,), (1400657758,), (1400657786,), (1400657788,), (1400657790,), (1400657794,), (1400657798,), (1400657802,), (1400657815,), (1400657817,), (1400657819,), (1400657821,), (1400657833,), (1400657836,), (1400657841,), (1400657845,), (1400657849,), (1400657852,), (1400657857,), (1400657859,), (1400657862,), (1400657863,), (1400657866,), (1400657904,), (1400657905,), (1400657906,), (1400657908,), (1400657910,), (1400657913,), (1400657927,), (1400657929,), (1400657937,), (1400657940,), (1400657942,), (1400657946,), (1400657948,), (1400657951,), (1400657954,), (1400657987,), (1400657992,), (1400657994,), (1400657997,), (1400658000,), (1400658003,), (1400658018,), (1400658020,), (1400658022,), (1400658052,), (1400658054,), (1400658055,), (1400658056,), (1400658059,), (1400658061,), (1400658088,), (1400658092,), (1400658093,), (1400658094,), (1400658118,), (1400658121,), (1400658127,), (1400658129,), (1400658132,), (1400658135,), (1400658108,), (1400658111,), (1400658113,), (1400658115,), (1400658153,), (1400658154,), (1400658156,), (1400658158,), (1400658161,), (1400658170,), (1400658171,), (1400658172,), (1400658187,), (1400658223,), (1400658260,), (1400658387,), (1400658389,), (1400658391,), (1400658395,), (1400658398,), (1400658401,), (1400658408,), (1400658410,), (1400658425,), (1400658426,), (1400658427,), (1400658430,), (1400658433,), (1400658663,), (1400658689,), (1400658690,), (1400658692,), (1400658695,), (1400658699,), (1400658924,), (1400658928,), (1400658930,), (1400658932,), (1400658953,), (1400658955,), (1400658956,), (1400658976,), (1400658978,), (1400658979,), (1400658981,), (1400658984,), (1400658986,), (1400659003,), (1400659005,), (1400659007,), (1400659009,), (1400659047,), (1400659048,), (1400659051,), (1400659056,), (1400659079,), (1400659114,), (1400659179,), (1400659181,), (1400659568,), (1400660464,), (1400660729,), (1400661783,), (1400661778,), (1400661781,), (1400661934,), (1400661970,), (1400662007,), (1400662040,), (1400662247,), (1400662249,), (1400662251,), (1400662254,), (1400662256,), (1400662259,), (1400662270,), (1400662278,), (1400662289,), (1400662318,), (1400662320,), (1400662323,), (1400662326,), (1400662362,), (1400662366,), (1400662368,), (1400662372,), (1400662387,), (1400662388,), (1400662391,), (1400662393,), (1400662396,), (1400662401,), (1400662409,), (1400662419,), (1400662424,), (1400662426,), (1400662430,), (1400662435,), (1400662467,), (1400662470,), (1400662473,), (1400662478,), (1400662582,), (1400662584,), (1400662586,), (1400662589,), (1400662642,), (1400662644,), (1400662645,), (1400662646,), (1400662683,), (1400662684,), (1400662685,), (1400662687,), (1400662727,), (1400662729,), (1400662732,), (1400662737,), (1400662739,), (1400662711,), (1400662718,), (1400662719,), (1400662741,), (1400662744,), (1400662747,), (1400662750,), (1400662783,), (1400662786,), (1400662787,), (1400662834,), (1400662836,), (1400662837,), (1400662841,), (1400662845,), (1400662848,), (1400662853,), (1400662856,), (1400663069,), (1400663072,), (1400663073,), (1400663074,), (1400663094,), (1400663096,), (1400663115,), (1400663205,), (1400663209,), (1400663213,), (1400663279,), (1400663282,), (1400663284,), (1400663286,), (1400663289,), (1400663293,), (1400663316,), (1400663318,), (1400663319,), (1400663338,), (1400663339,), (1400663340,), (1400663342,), (1400663397,), (1400663400,), (1400663404,), (1400663407,), (1400663424,), (1400663426,), (1400663474,), (1400663478,), (1400663479,), (1400663568,), (1400663707,), (1400663735,), (1400663758,), (1400663885,), (1400663888,), (1400663890,), (1400663944,), (1400663946,), (1400663948,), (1400663973,), (1400663976,), (1400663997,), (1400664000,), (1400664002,), (1400664004,), (1400664007,), (1400664036,), (1400664038,), (1400664040,), (1400664042,), (1400664045,), (1400664063,), (1400664068,), (1400664074,), (1400664077,), (1400664097,), (1400664099,), (1400664102,), (1400664107,), (1400664112,), (1400664117,), (1400665834,), (1400668587,), (1400668620,), (1400668621,), (1400668650,), (1400668692,), (1400668726,), (1400668757,), (1400668814,), (1400668815,), (1400668816,), (1400668818,), (1400668822,), (1400668837,), (1400668879,), (1400668880,), (1400668881,), (1400668882,), (1400668885,), (1400668983,), (1400668988,), (1400669003,), (1400669015,), (1400669028,), (1400669043,), (1400669109,), (1400669150,), (1400669194,), (1400669196,), (1400669235,), (1400669236,), (1400669379,), (1400669450,), (1400669452,), (1400669453,), (1400669471,), (1400669473,), (1400669476,), (1400669784,), (1400669877,), (1400669901,), (1400669932,), (1400669949,), (1400669953,), (1400669981,), (1400669982,), (1400669984,), (1400669986,), (1400670028,), (1400670030,), (1400670031,), (1400670032,), (1400670058,), (1400670105,), (1400670505,), (1400670507,), (1400670508,), (1400670510,), (1400670513,), (1400670532,), (1400670533,), (1400670534,), (1400670537,), (1400670540,), (1400670543,), (1400670566,), (1400670567,), (1400670568,), (1400670570,), (1400670573,), (1400670576,), (1400670579,), (1400670582,), (1400670585,), (1400670589,), (1400670595,), (1400670599,), (1400670602,), (1400670604,), (1400670623,), (1400670632,), (1400670635,), (1400670636,), (1400670704,), (1400670713,), (1400670719,), (1400670722,), (1400670727,), (1400670771,), (1400670773,), (1400670774,), (1400670777,), (1400670797,), (1400670799,), (1400670800,), (1400670801,), (1400670857,), (1400670859,), (1400670860,), (1400670905,), (1400670913,), (1400671145,), (1400671148,), (1400671152,), (1400671158,), (1400671160,), (1400671179,), (1400671245,), (1400671135,), (1400671137,), (1400671140,), (1400671496,), (1400672119,), (1400672154,), (1400672342,), (1400672617,), (1400672652,), (1400672689,), (1400672732,), (1400672739,), (1400673635,), (1400673673,), (1400673709,), (1400674181,), (1400674329,), (1400674358,), (1400674408,), (1400674641,), (1400674993,), (1400674995,), (1400674997,), (1400675017,), (1400675019,), (1400675021,), (1400675025,), (1400675028,), (1400675031,), (1400675045,), (1400675047,), (1400675048,), (1400675049,), (1400675052,), (1400675112,), (1400675115,), (1400675117,), (1400675119,), (1400675123,), (1400675125,), (1400675133,), (1400675135,), (1400675141,), (1400675143,), (1400675145,), (1400675146,), (1400675149,), (1400675192,), (1400675190,), (1400675191,), (1400675207,), (1400675208,), (1400675211,), (1400675213,), (1400675216,), (1400675220,), (1400675453,), (1400675465,), (1400675466,), (1400675467,), (1400675470,), (1400675674,), (1400675675,), (1400675676,), (1400675678,), (1400675682,), (1400675685,), (1400675715,), (1400675718,), (1400675720,), (1400675722,), (1400675745,), (1400675747,), (1400675748,), (1400675752,), (1400675754,), (1400675757,), (1400675777,), (1400675779,), (1400675781,), (1400675788,), (1400675800,), (1400675803,), (1400675806,), (1400675808,), (1400675819,), (1400675821,), (1400675824,), (1400675827,), (1400675831,), (1400675832,), (1400675855,), (1400675856,), (1400675858,), (1400675861,), (1400675863,), (1400675866,), (1400675883,), (1400675885,), (1400675887,), (1400675890,), (1400675924,), (1400675927,), (1400675930,), (1400675953,), (1400675957,), (1400675996,), (1400675998,), (1400676000,), (1400676019,), (1400676039,), (1400676042,), (1400676045,), (1400676090,), (1400692062,), (1400692063,), (1400692097,), (1400692099,), (1400692104,), (1400692109,), (1400692112,), (1400692115,), (1400692159,), (1400692189,), (1400692191,), (1400692194,), (1400692198,), (1400692202,), (1400692215,), (1400692218,), (1400692222,), (1400692227,), (1400692232,), (1400692235,), (1400692275,), (1400692277,), (1400692278,), (1400692279,), (1400692317,), (1400692319,), (1400692324,), (1400692361,), (1400692363,), (1400692365,), (1400692367,), (1400692372,), (1400692376,), (1400692386,), (1400692389,), (1400692391,), (1400692392,), (1400692393,), (1400692396,), (1400692406,), (1400692434,), (1400692436,), (1400692439,), (1400692442,), (1400692444,), (1400692456,), (1400692459,), (1400692463,), (1400692467,), (1400692502,), (1400692504,), (1400692507,), (1400692561,), (1400692566,), (1400692569,), (1400692573,), (1400692576,), (1400692589,), (1400692592,), (1400692595,), (1400692597,), (1400692601,), (1400692604,), (1400692623,), (1400692616,), (1400692618,), (1400692621,), (1400692663,), (1400692664,), (1400692666,), (1400692669,), (1400692670,), (1400692672,), (1400692676,), (1400692677,), (1400692680,), (1400692682,), (1400692694,), (1400692697,), (1400692701,), (1400692705,), (1400692747,), (1400692749,), (1400692751,), (1400692753,), (1400692755,), (1400692758,), (1400692796,), (1400692799,), (1400692802,), (1400692805,), (1400692808,), (1400692825,), (1400692829,), (1400692879,), (1400692881,), (1400692884,), (1400692889,), (1400692892,), (1400692894,), (1400692901,), (1400692904,), (1400692908,), (1400692913,), (1400692917,), (1400692920,), (1400692967,), (1400692971,), (1400692976,), (1400692988,), (1400692989,), (1400692992,), (1400692993,), (1400692995,), (1400692999,), (1400693001,), (1400693003,), (1400693007,), (1400693008,), (1400693032,), (1400693034,), (1400693037,), (1400693040,), (1400693043,), (1400693046,), (1400693066,), (1400693071,), (1400693076,), (1400693081,), (1400693087,), (1400693092,), (1400693098,), (1400693099,), (1400693101,), (1400693102,), (1400693103,), (1400693104,), (1400693106,), (1400693107,), (1400693111,), (1400693112,), (1400693116,), (1400693117,), (1400693132,), (1400693135,), (1400693139,), (1400693142,), (1400693144,), (1400693146,), (1400693156,), (1400693160,), (1400693163,), (1400693167,), (1400693170,), (1400693173,), (1400693181,), (1400693182,), (1400693184,), (1400693185,), (1400693187,), (1400693188,), (1400693191,), (1400693192,), (1400693195,), (1400693196,), (1400693199,), (1400693200,), (1400693226,), (1400693212,), (1400693215,), (1400693218,), (1400693222,), (1400693224,), (1400693260,), (1400693263,), (1400693267,), (1400693271,), (1400693275,), (1400693287,), (1400693290,), (1400693293,), (1400693346,), (1400693351,), (1400693354,), (1400693356,), (1400693358,), (1400693360,), (1400693364,), (1400693369,), (1400693374,), (1400693378,), (1400693381,), (1400693384,), (1400693392,), (1400693395,), (1400693398,), (1400693455,), (1400693459,), (1400693464,), (1400693469,), (1400693474,), (1400693487,), (1400693489,), (1400693491,), (1400693495,), (1400693499,), (1400693579,), (1400693604,), (1400694888,), (1400695531,), (1400695951,), (1400695953,), (1400696182,), (1400696230,), (1400696283,), (1400696334,), (1400696370,), (1400696955,), (1400696976,), (1400697018,), (1400697048,), (1400697060,), (1400697063,), (1400697115,), (1400697142,), (1400697169,), (1400697261,), (1400692854,), (1400692860,), (1400692864,), (1400692867,), (1400692870,), (1400692928,), (1400692931,), (1400692934,), (1400692937,), (1400692940,), (1400692944,), (1400692980,), (1400692983,), (1400692984,), (1400693012,), (1400693013,), (1400693237,), (1400693241,), (1400693245,), (1400693250,), (1400693254,), (1400693256,), (1400693279,), (1400693296,), (1400693298,), (1400693300,), (1400693310,), (1400693314,), (1400693317,), (1400693321,), (1400693324,), (1400693328,), (1400693400,), (1400693402,), (1400693405,), (1400693413,), (1400693417,), (1400693429,), (1400693440,), (1400693442,), (1400693445,), (1400693477,), (1400693505,), (1400693634,), (1400693701,), (1400693801,), (1400693889,), (1400694228,), (1400694321,), (1400694432,), (1400694541,), (1400694638,), (1400694694,), (1400694981,), (1400695088,), (1400695158,), (1400695207,), (1400695264,), (1400695591,), (1400695638,), (1400695685,), (1400695736,), (1400695767,), (1400695889,), (1400692421,), (1400692426,), (1400692446,), (1400692471,), (1400692472,), (1400692476,), (1400692480,), (1400692484,), (1400692488,), (1400692492,), (1400692497,), (1400692510,), (1400692513,), (1400692517,), (1400692525,), (1400692527,), (1400692531,), (1400692534,), (1400692537,), (1400692541,), (1400692580,), (1400692625,), (1400692628,), (1400692638,), (1400692641,), (1400692644,), (1400692648,), (1400692650,), (1400692651,), (1400692684,), (1400692686,), (1400692709,), (1400692711,), (1400692717,), (1400692720,), (1400692723,), (1400692726,), (1400692732,), (1400692735,), (1400692765,), (1400692771,), (1400692776,), (1400692779,), (1400692783,), (1400692790,), (1400692812,), (1400692833,), (1400692835,), (1400692836,), (1400692837,), (1400692849,), (1400691958,), (1400691963,), (1400691968,), (1400691974,), (1400691979,), (1400691984,), (1400691990,), (1400691993,), (1400691996,), (1400691999,), (1400692002,), (1400692005,), (1400692016,), (1400692018,), (1400692021,), (1400692024,), (1400692026,), (1400692027,), (1400692039,), (1400692043,), (1400692047,), (1400692051,), (1400692053,), (1400692054,), (1400692069,), (1400692070,), (1400692074,), (1400692075,), (1400692079,), (1400692080,), (1400692083,), (1400692084,), (1400692123,), (1400692126,), (1400692128,), (1400692133,), (1400692137,), (1400692140,), (1400692162,), (1400692168,), (1400692173,), (1400692177,), (1400692181,), (1400692205,), (1400692244,), (1400692247,), (1400692251,), (1400692257,), (1400692261,), (1400692264,), (1400692281,), (1400692284,), (1400692293,), (1400692297,), (1400692300,), (1400692303,), (1400692306,), (1400692309,), (1400692327,), (1400692330,), (1400692334,), (1400692411,), (1400692414,), (1400692417,), (1400691630,), (1400691633,), (1400691636,), (1400691640,), (1400691643,), (1400691653,), (1400691655,), (1400691658,), (1400691661,), (1400691664,), (1400691667,), (1400691672,), (1400691676,), (1400691680,), (1400691684,), (1400691688,), (1400691692,), (1400691696,), (1400691699,), (1400691703,), (1400691707,), (1400691709,), (1400691714,), (1400691725,), (1400691729,), (1400691731,), (1400691733,), (1400691735,), (1400691737,), (1400691749,), (1400691753,), (1400691759,), (1400691763,), (1400691766,), (1400691769,), (1400691793,), (1400691798,), (1400691802,), (1400691807,), (1400691812,), (1400691820,), (1400691822,), (1400691825,), (1400691828,), (1400691831,), (1400691834,), (1400691845,), (1400691847,), (1400691850,), (1400691854,), (1400691857,), (1400691859,), (1400691866,), (1400691869,), (1400691871,), (1400691874,), (1400691878,), (1400691882,), (1400691894,), (1400691895,), (1400691898,), (1400691901,), (1400691905,), (1400691909,), (1400691915,), (1400691919,), (1400691922,), (1400691925,), (1400691929,), (1400691933,), (1400691939,), (1400691941,), (1400691944,), (1400691947,), (1400691950,), (1400691953,), (1400691475,), (1400691478,), (1400691479,), (1400691482,), (1400691485,), (1400691489,), (1400691499,), (1400691502,), (1400691505,), (1400691508,), (1400691511,), (1400691514,), (1400691525,), (1400691528,), (1400691532,), (1400691534,), (1400691536,), (1400691538,), (1400691545,), (1400691547,), (1400691549,), (1400691552,), (1400691556,), (1400691559,), (1400691570,), (1400691573,), (1400691575,), (1400691578,), (1400691581,), (1400691585,), (1400691593,), (1400691597,), (1400691601,), (1400691604,), (1400691607,), (1400691611,), (1400691626,), (1400692066,), (1400692067,), (1400697251,), (1400697254,), (1400697256,), (1400697258,), (1400697274,), (1400697278,), (1400697281,), (1400697284,), (1400697288,), (1400697341,), (1400697342,), (1400697344,), (1400697346,), (1400697365,), (1400697368,), (1400697370,), (1400697373,), (1400697377,), (1400697380,), (1400697422,), (1400697424,), (1400697426,), (1400697428,), (1400697432,), (1400697437,), (1400697450,), (1400697453,), (1400697454,), (1400697516,), (1400697518,), (1400697520,), (1400697523,), (1400697526,), (1400697529,), (1400697543,), (1400697547,), (1400697551,), (1400697554,), (1400697616,), (1400697621,), (1400697644,), (1400697657,), (1400697664,), (1400697668,), (1400697709,), (1400697715,), (1400697717,), (1400697719,), (1400697720,), (1400697723,), (1400697756,), (1400697766,), (1400697770,), (1400697800,), (1400697801,), (1400697803,), (1400697805,), (1400697807,), (1400697820,), (1400697823,), (1400697826,), (1400697828,), (1400697830,), (1400697833,), (1400698095,), (1400698124,), (1400698156,), (1400698187,), (1400698790,), (1400697457,), (1400697459,), (1400697476,), (1400697496,), (1400697499,), (1400697503,), (1400697506,), (1400697508,), (1400697556,), (1400697558,), (1400697581,), (1400697585,), (1400697590,), (1400697593,), (1400697595,), (1400697597,), (1400697772,), (1400697774,), (1400697775,), (1400697777,), (1400697780,), (1400697784,), (1400697788,), (1400697792,), (1400697796,), (1400697811,), (1400698219,), (1400698247,), (1400698381,), (1400698413,), (1400698444,), (1400698474,), (1400698508,), (1400698543,), (1400698861,), (1400698936,), (1400699008,), (1400699575,), (1400699635,), (1400699692,), (1400699961,), (1400700029,), (1400700115,), (1400700185,), (1400700257,), (1400700309,), (1400700916,), (1400701281,), (1400701288,), (1400701610,), (1400701612,), (1400701614,), (1400701649,), (1400701709,), (1400701720,), (1400695901,), (1400695913,), (1400695922,), (1400695931,), (1400695939,), (1400695964,), (1400695991,), (1400696020,), (1400696051,), (1400696399,), (1400696537,), (1400696586,), (1400696639,), (1400696670,), (1400696707,), (1400696761,), (1400697172,), (1400697177,), (1400697206,), (1400697264,), (1400697290,), (1400697293,), (1400697301,), (1400697309,), (1400697313,), (1400697318,), (1400697323,), (1400697350,), (1400697354,), (1400697398,), (1400697402,), (1400697405,), (1400697409,), (1400697413,), (1400697416,), (1400697455,), (1400698674,), (1400698725,), (1400699374,), (1400699434,), (1400699493,), (1400700381,), (1400700384,), (1400700402,), (1400700426,), (1400700452,), (1400700469,), (1400700682,), (1400700733,), (1400700783,), (1400700841,), (1400700882,), (1400701159,), (1400701182,), (1400701193,), (1400701222,), (1400701247,), (1400701254,), (1400701264,), (1400701265,), (1400701267,), (1400701273,), (1400701300,), (1400701301,), (1400701304,), (1400701305,), (1400701306,), (1400701308,), (1400701310,), (1400701311,), (1400701312,), (1400701313,), (1400701314,), (1400701315,), (1400701322,), (1400701329,), (1400701382,), (1400701427,), (1400701477,), (1400701526,), (1400701778,), (1400701779,), (1400701787,), (1400701788,), (1400701791,), (1400701792,), (1400701795,), (1400701796,), (1400701799,), (1400701800,), (1400701823,), (1400701853,), (1400701880,), (1400701909,), (1400701936,), (1400701959,), (1400702381,), (1400702407,), (1400702430,), (1400702457,), (1400702619,), (1400702671,), (1400702720,), (1400702771,), (1400702821,), (1400703454,), (1400703527,), (1400703558,), (1400703584,), (1400703627,), (1400703727,), (1400703730,), (1400703742,), (1400704791,), (1400704822,), (1400704860,), (1400704890,), (1400704928,), (1400705127,), (1400705130,), (1400705133,), (1400705169,), (1400705251,), (1400705320,), (1400705527,), (1400705432,), (1400705483,), (1400705512,), (1400705944,), (1400705977,), (1400706005,), (1400706029,), (1400706056,), (1400706083,), (1400706209,), (1400706237,), (1400706263,), (1400706268,), (1400706271,), (1400706470,), (1400706475,), (1400706495,), (1400706545,), (1400706559,), (1400706590,), (1400706619,), (1400706647,), (1400706680,), (1400706884,), (1400706885,), (1400706886,), (1400706889,), (1400706897,), (1400706914,), (1400706915,), (1400706917,), (1400706918,), (1400706920,), (1400706921,), (1400706924,), (1400706925,), (1400706943,), (1400706946,), (1400706949,), (1400706952,), (1400706954,), (1400706956,), (1400707006,), (1400707008,), (1400707012,), (1400707015,), (1400707028,), (1400707031,), (1400707037,), (1400707042,), (1400707044,), (1400707046,), (1400707067,), (1400707071,), (1400707075,), (1400707079,), (1400707081,), (1400707185,), (1400707194,), (1400707196,), (1400707216,), (1400707219,), (1400707222,), (1400707225,), (1400707259,), (1400707261,), (1400707268,), (1400707271,), (1400707298,), (1400707301,), (1400707304,), (1400707306,), (1400707308,), (1400707329,), (1400707321,), (1400707324,), (1400707327,), (1400707363,), (1400707367,), (1400707369,), (1400707372,), (1400707374,), (1400707378,), (1400707388,), (1400707391,), (1400707394,), (1400707397,), (1400707413,), (1400707415,), (1400707417,), (1400707420,), (1400707424,), (1400707442,), (1400707445,), (1400707449,), (1400707453,), (1400707457,), (1400707461,), (1400707469,), (1400707470,), (1400707475,), (1400707478,), (1400707494,), (1400707496,), (1400707498,), (1400707500,), (1400707512,), (1400707521,), (1400707523,), (1400707525,), (1400707528,), (1400707533,), (1400707536,), (1400707582,), (1400707585,), (1400707588,), (1400707591,), (1400707600,), (1400707602,), (1400707605,), (1400707609,), (1400707613,), (1400707615,), (1400707672,), (1400707673,), (1400707675,), (1400707676,), (1400707678,), (1400707679,), (1400707682,), (1400707683,), (1400707685,), (1400707686,), (1400707698,), (1400707701,), (1400707704,), (1400707707,), (1400707710,), (1400707748,), (1400707750,), (1400707753,), (1400707762,), (1400707764,), (1400707766,), (1400707773,), (1400707777,), (1400707781,), (1400707860,), (1400707867,), (1400707871,), (1400707875,), (1400707878,), (1400707881,), (1400707892,), (1400707905,), (1400707907,), (1400707909,), (1400707910,), (1400707913,), (1400707956,), (1400707941,), (1400707948,), (1400707952,), (1400707954,), (1400707986,), (1400707988,), (1400707994,), (1400708000,), (1400708005,), (1400708010,), (1400708021,), (1400708024,), (1400708025,), (1400708026,), (1400708048,), (1400708052,), (1400708055,), (1400708058,), (1400708061,), (1400708094,), (1400708097,), (1400708099,), (1400708101,), (1400708103,), (1400708105,), (1400708110,), (1400708113,), (1400708116,), (1400708181,), (1400708184,), (1400708185,), (1400708186,), (1400708188,), (1400708190,), (1400708198,), (1400708201,), (1400708204,), (1400708207,), (1400708210,), (1400708266,), (1400708267,), (1400708270,), (1400708294,), (1400708295,), (1400708296,), (1400708297,), (1400708318,), (1400708321,), (1400708324,), (1400708327,), (1400708330,), (1400708363,), (1400708364,), (1400708366,), (1400708367,), (1400708369,), (1400708370,), (1400708372,), (1400708373,), (1400708374,), (1400708375,), (1400708392,), (1400708401,), (1400708404,), (1400708408,), (1400708436,), (1400708441,), (1400708446,), (1400708450,), (1400708454,), (1400708464,), (1400708466,), (1400708468,), (1400708499,), (1400708341,), (1400708342,), (1400708345,), (1400708348,), (1400708351,), (1400708376,), (1400708377,), (1400708411,), (1400708413,), (1400708417,), (1400708420,), (1400708425,), (1400708428,), (1400708430,), (1400708432,), (1400708458,), (1400708472,), (1400708474,), (1400708478,), (1400708503,), (1400708528,), (1400708576,), (1400708617,), (1400708674,), (1400708728,), (1400708850,), (1400708881,), (1400708904,), (1400708935,), (1400709031,), (1400709058,), (1400709083,), (1400709132,), (1400709183,), (1400709231,), (1400711443,), (1400711471,), (1400711602,), (1400711797,), (1400711833,), (1400711839,), (1400711859,), (1400711895,), (1400711925,), (1400711949,), (1400711953,), (1400711956,), (1400711970,), (1400711972,), (1400711978,), (1400711983,), (1400711984,), (1400711995,), (1400712007,), (1400712011,), (1400712087,), (1400712097,), (1400712100,), (1400708080,), (1400708083,), (1400708086,), (1400708120,), (1400708125,), (1400708129,), (1400708146,), (1400708148,), (1400708149,), (1400708150,), (1400708162,), (1400708170,), (1400708213,), (1400708219,), (1400708221,), (1400708223,), (1400708224,), (1400708229,), (1400708239,), (1400708276,), (1400708280,), (1400708284,), (1400708299,), (1400708300,), (1400708302,), (1400708303,), (1400708305,), (1400708306,), (1400708308,), (1400708309,), (1400708332,), (1400708339,), (1400707548,), (1400707550,), (1400707552,), (1400707562,), (1400707593,), (1400707594,), (1400707634,), (1400707643,), (1400707653,), (1400707657,), (1400707661,), (1400707664,), (1400707688,), (1400707690,), (1400707711,), (1400707714,), (1400707721,), (1400707726,), (1400707734,), (1400707737,), (1400707741,), (1400707785,), (1400707787,), (1400707789,), (1400707807,), (1400707813,), (1400707819,), (1400707828,), (1400707839,), (1400707843,), (1400707957,), (1400707963,), (1400707966,), (1400707970,), (1400707974,), (1400707978,), (1400707982,), (1400708028,), (1400708039,), (1400708064,), (1400708071,), (1400708077,), (1400708079,), (1400706429,), (1400706516,), (1400706518,), (1400706520,), (1400706771,), (1400706813,), (1400706837,), (1400706863,), (1400706868,), (1400706872,), (1400706901,), (1400706929,), (1400706930,), (1400706933,), (1400706934,), (1400706965,), (1400706966,), (1400706967,), (1400706971,), (1400706982,), (1400706992,), (1400707019,), (1400707022,), (1400707083,), (1400707098,), (1400707099,), (1400707103,), (1400707107,), (1400707111,), (1400707114,), (1400707198,), (1400707200,), (1400707206,), (1400707227,), (1400707229,), (1400707236,), (1400707237,), (1400707240,), (1400707243,), (1400707246,), (1400707250,), (1400707274,), (1400707277,), (1400707312,), (1400707331,), (1400707336,), (1400707344,), (1400707346,), (1400707349,), (1400707353,), (1400707356,), (1400707359,), (1400707401,), (1400707407,), (1400707428,), (1400707481,), (1400707484,), (1400707514,), (1400707545,), (1400707547,), (1400701802,), (1400701803,), (1400702065,), (1400702096,), (1400702135,), (1400702176,), (1400702216,), (1400702257,), (1400702484,), (1400702511,), (1400702875,), (1400703014,), (1400703041,), (1400703064,), (1400703104,), (1400703178,), (1400703234,), (1400703662,), (1400703808,), (1400703857,), (1400703900,), (1400704122,), (1400704159,), (1400704186,), (1400704212,), (1400704242,), (1400704300,), (1400704987,), (1400705562,), (1400705578,), (1400705697,), (1400705725,), (1400705753,), (1400705780,), (1400705809,), (1400705839,), (1400706274,), (1400706290,), (1400706315,), (1400706345,), (1400706372,), (1400706402,), (1400708487,), (1400708490,), (1400708493,), (1400708495,), (1400708497,), (1400708779,), (1400708793,), (1400708810,), (1400708823,), (1400708824,), (1400708828,), (1400708840,), (1400708844,), (1400709660,), (1400709710,), (1400709758,), (1400709810,), (1400709861,), (1400709916,), (1400710353,), (1400710379,), (1400710400,), (1400710404,), (1400710407,), (1400710409,), (1400710506,), (1400710529,), (1400710554,), (1400710581,), (1400710606,), (1400710617,), (1400710669,), (1400710670,), (1400710696,), (1400710699,), (1400710707,), (1400710708,), (1400710716,), (1400710721,), (1400710738,), (1400710747,), (1400710767,), (1400710772,), (1400710798,), (1400710825,), (1400710852,), (1400710882,), (1400710909,), (1400710936,), (1400711217,), (1400711246,), (1400711272,), (1400711299,), (1400711324,), (1400711357,), (1400711430,), (1400711433,), (1400711436,), (1400711440,), (1400711538,), (1400711541,), (1400711543,), (1400711548,), (1400711571,), (1400711647,), (1400711675,), (1400711691,), (1400711697,), (1400711701,), (1400711708,), (1400711767,), (1400711778,), (1400711785,), (1400711967,), (1400712201,), (1400712174,), (1400712177,), (1400712196,), (1400712200,), (1400712256,), (1400712277,), (1400712318,), (1400712363,), (1400712394,), (1400712538,), (1400712567,), (1400712595,), (1400712624,), (1400712691,), (1400712694,), (1400712697,), (1400712699,), (1400712702,), (1400712723,), (1400712972,), (1400712973,), (1400712977,), (1400712982,), (1400712985,), (1400712988,), (1400713038,), (1400713046,), (1400713048,), (1400713050,), (1400713052,), (1400713265,), (1400713269,), (1400713273,), (1400713385,), (1400713388,), (1400713391,), (1400713394,), (1400713401,), (1400713402,), (1400713943,), (1400713970,), (1400713982,), (1400713984,), (1400714056,), (1400714082,), (1400714096,), (1400714100,), (1400714116,), (1400714119,), (1400714121,), (1400714128,), (1400714129,), (1400714161,), (1400714166,), (1400714169,), (1400714172,), (1400714175,), (1400714419,), (1400714426,), (1400714453,), (1400714532,), (1400714536,), (1400714540,), (1400714566,), (1400714662,), (1400714664,), (1400714667,), (1400714671,), (1400715106,), (1400714885,), (1400714944,), (1400714996,), (1400715048,), (1400715075,), (1400715204,), (1400715206,), (1400715208,), (1400715210,), (1400715240,), (1400715339,), (1400715340,), (1400715365,), (1400715366,), (1400715371,), (1400715373,), (1400715400,), (1400715402,), (1400715593,), (1400715619,), (1400715648,), (1400715677,), (1400715705,), (1400715788,), (1400715791,), (1400715795,), (1400715799,), (1400715804,), (1400715806,), (1400715825,), (1400715852,), (1400715877,), (1400715897,), (1400715918,), (1400715919,), (1400715942,), (1400715946,), (1400715957,), (1400715984,), (1400716131,), (1400716156,), (1400716184,), (1400716213,), (1400716330,), (1400716333,), (1400716336,), (1400716339,), (1400716365,), (1400716367,), (1400716369,), (1400716372,), (1400716376,), (1400716380,), (1400716398,), (1400716400,), (1400716403,), (1400716451,), (1400716495,), (1400719665,), (1400714640,), (1400714699,), (1400714724,), (1400715149,), (1400715156,), (1400715167,), (1400715175,), (1400715184,), (1400715198,), (1400715270,), (1400715405,), (1400715406,), (1400715432,), (1400715436,), (1400715733,), (1400715857,), (1400715860,), (1400715863,), (1400715866,), (1400715923,), (1400715931,), (1400716014,), (1400716040,), (1400716244,), (1400716272,), (1400716305,), (1400716308,), (1400716310,), (1400716312,), (1400716315,), (1400716318,), (1400716350,), (1400716356,), (1400712015,), (1400712018,), (1400712019,), (1400712104,), (1400712106,), (1400712115,), (1400712127,), (1400712128,), (1400712135,), (1400712142,), (1400712152,), (1400712158,), (1400712206,), (1400712399,), (1400712426,), (1400712428,), (1400712430,), (1400712433,), (1400712436,), (1400712438,), (1400712652,), (1400712686,), (1400712888,), (1400712895,), (1400712904,), (1400712909,), (1400712911,), (1400712922,), (1400713054,), (1400713083,), (1400713089,), (1400713092,), (1400713128,), (1400713157,), (1400713193,), (1400713280,), (1400713290,), (1400713314,), (1400713410,), (1400713415,), (1400713447,), (1400713480,), (1400713508,), (1400713541,), (1400713987,), (1400713990,), (1400714103,), (1400714107,), (1400714146,), (1400714176,), (1400714223,), (1400714250,), (1400714278,), (1400714307,), (1400714338,), (1400714371,), (1400714471,), (1400714473,), (1400714492,), (1400714596,), (1400714609,), (1400714623,), (1400714625,), (1400714628,), (1400714632,), (1400714637,), (1400719625,), (1400719648,), (1400719652,), (1400719656,), (1400719660,), (1400719691,), (1400719736,), (1400719781,), (1400719828,), (1400719879,), (1400720372,), (1400720390,), (1400720451,), (1400720455,), (1400720473,), (1400720502,), (1400720507,), (1400720893,), (1400720940,), (1400720957,), (1400720960,), (1400720963,), (1400721119,), (1400721130,), (1400721134,), (1400721137,), (1400721163,), (1400721368,), (1400721399,), (1400721417,), (1400721420,), (1400721423,), (1400721630,), (1400721634,), (1400721638,), (1400721643,), (1400721648,), (1400721653,), (1400721693,), (1400721673,), (1400721677,), (1400721680,), (1400721686,), (1400721690,), (1400721705,), (1400721708,), (1400721710,), (1400721712,), (1400721715,), (1400721741,), (1400721743,), (1400721745,), (1400721748,), (1400721752,), (1400721794,), (1400721799,), (1400721803,), (1400721807,), (1400721811,), (1400721814,), (1400721829,), (1400721833,), (1400721838,), (1400721842,), (1400721846,), (1400722033,), (1400722036,), (1400722038,), (1400722040,), (1400722043,), (1400722046,), (1400722070,), (1400722073,), (1400722075,), (1400722077,), (1400722080,), (1400722159,), (1400722184,), (1400722206,), (1400722233,), (1400722460,), (1400722462,), (1400722464,), (1400722467,), (1400722470,), (1400722473,), (1400722493,), (1400722494,), (1400722495,), (1400722498,), (1400722501,), (1400722505,), (1400722525,), (1400722527,), (1400722528,), (1400722529,), (1400722530,), (1400722538,), (1400722540,), (1400722545,), (1400722549,), (1400722554,), (1400722556,), (1400722576,), (1400722578,), (1400722580,), (1400722582,), (1400722622,), (1400722627,), (1400722628,), (1400722629,), (1400722631,), (1400722655,), (1400722657,), (1400722658,), (1400722659,), (1400722661,), (1400722663,), (1400722681,), (1400722684,), (1400722685,), (1400722729,), (1400722716,), (1400722723,), (1400722724,), (1400722726,), (1400722752,), (1400722756,), (1400722759,), (1400722762,), (1400722766,), (1400722770,), (1400722783,), (1400722787,), (1400722789,), (1400722814,), (1400722831,), (1400722845,), (1400722854,), (1400722858,), (1400722862,), (1400722877,), (1400722881,), (1400722885,), (1400722889,), (1400722892,), (1400722894,), (1400722898,), (1400722900,), (1400722902,), (1400722908,), (1400722919,), (1400722922,), (1400722925,), (1400722935,), (1400722938,), (1400722941,), (1400722945,), (1400722950,), (1400722972,), (1400722973,), (1400722975,), (1400722977,), (1400722981,), (1400723000,), (1400723002,), (1400723003,), (1400723004,), (1400723031,), (1400723034,), (1400723036,), (1400723038,), (1400723041,), (1400723051,), (1400723079,), (1400723082,), (1400723084,), (1400723088,), (1400723092,), (1400723095,), (1400723107,), (1400723109,), (1400723110,), (1400723118,), (1400723122,), (1400723125,), (1400723128,), (1400723130,), (1400723143,), (1400723146,), (1400723148,), (1400723150,), (1400723153,), (1400723156,), (1400723183,), (1400723185,), (1400723187,), (1400723207,), (1400723210,), (1400723214,), (1400723217,), (1400723221,), (1400723254,), (1400723241,), (1400723244,), (1400723246,), (1400723248,), (1400723251,), (1400723268,), (1400723270,), (1400723272,), (1400723303,), (1400723313,), (1400723318,), (1400723321,), (1400723324,), (1400723327,), (1400723341,), (1400723345,), (1400723348,), (1400723350,), (1400723371,), (1400723375,), (1400723377,), (1400723379,), (1400723381,), (1400723383,), (1400723404,), (1400723406,), (1400723409,), (1400723412,), (1400723415,), (1400723417,), (1400723439,), (1400723441,), (1400723446,), (1400723451,), (1400723455,), (1400723459,), (1400723464,), (1400723465,), (1400723468,), (1400723480,), (1400723484,), (1400723486,), (1400723488,), (1400723490,), (1400723492,), (1400723545,), (1400723548,), (1400723550,), (1400723553,), (1400723556,), (1400723583,), (1400723590,), (1400723594,), (1400723598,), (1400723619,), (1400723629,), (1400723637,), (1400723648,), (1400723671,), (1400723672,), (1400723673,), (1400723675,), (1400723679,), (1400723712,), (1400723715,), (1400723718,), (1400723743,), (1400723749,), (1400723751,), (1400723754,), (1400723757,), (1400723761,), (1400723912,), (1400723834,), (1400723859,), (1400723885,), (1400724408,), (1400724571,), (1400724627,), (1400724700,), (1400724991,), (1400725046,), (1400725096,), (1400725138,), (1400725174,), (1400725285,), (1400725311,), (1400725614,), (1400725665,), (1400725718,), (1400725770,), (1400725825,), (1400725908,), (1400726633,), (1400726716,), (1400726819,), (1400726928,), (1400727034,), (1400727159,), (1400727368,), (1400727393,), (1400727407,), (1400727411,), (1400727415,), (1400727446,), (1400727689,), (1400727716,), (1400727766,), (1400727817,), (1400727864,), (1400728129,), (1400728194,), (1400728275,), (1400728631,), (1400728683,), (1400728728,), (1400728738,), (1400728847,), (1400728905,), (1400728974,), (1400729042,), (1400729601,), (1400729669,), (1400729748,), (1400729802,), (1400729856,), (1400730182,), (1400730233,), (1400730271,), (1400730529,), (1400730537,), (1400730549,), (1400730559,), (1400730563,), (1400730584,), (1400730592,), (1400730594,), (1400730597,), (1400730600,), (1400730604,), (1400730658,), (1400730707,), (1400730744,), (1400730796,), (1400730836,), (1400730888,), (1400731052,), (1400731098,), (1400731368,), (1400731242,), (1400731277,), (1400731327,), (1400731538,), (1400731568,), (1400731638,), (1400731707,), (1400731784,), (1400732195,), (1400732227,), (1400732255,), (1400732285,), (1400732545,), (1400732548,), (1400732551,), (1400732910,), (1400733246,), (1400733333,), (1400733401,), (1400733464,), (1400733531,), (1400733796,), (1400733833,), (1400733890,), (1400733959,), (1400734040,), (1400734722,), (1400734725,), (1400734728,), (1400734745,), (1400734774,), (1400735165,), (1400735215,), (1400735272,), (1400735337,), (1400735382,), (1400736119,), (1400736205,), (1400736286,), (1400736351,), (1400736429,), (1400736502,), (1400736643,), (1400736646,), (1400736650,), (1400736677,), (1400736814,), (1400736817,), (1400736848,), (1400736895,), (1400737047,), (1400737168,), (1400737172,), (1400737330,), (1400737363,), (1400737381,), (1400737406,), (1400737649,), (1400737765,), (1400737792,), (1400737819,), (1400737846,), (1400737885,), (1400738035,), (1400738042,), (1400738050,), (1400738695,), (1400738794,), (1400738859,), (1400739031,), (1400738532,), (1400738598,), (1400738647,), (1400739129,), (1400739133,), (1400739136,), (1400739149,), (1400739191,), (1400739637,), (1400739665,), (1400739691,), (1400739719,), (1400739747,), (1400739822,), (1400740096,), (1400740130,), (1400740184,), (1400741087,), (1400741156,), (1400741230,), (1400741282,), (1400741325,), (1400741842,), (1400741847,), (1400741851,), (1400741904,), (1400742235,), (1400742249,), (1400742276,), (1400742304,), (1400742313,), (1400742317,), (1400742390,), (1400742394,), (1400742397,), (1400742400,), (1400742404,), (1400742445,), (1400742456,), (1400742459,), (1400742463,), (1400742495,), (1400742499,), (1400742503,), (1400742507,), (1400742511,), (1400742536,), (1400742546,), (1400742549,), (1400742556,), (1400742625,), (1400742630,), (1400742633,), (1400742636,), (1400742640,), (1400742644,), (1400742655,), (1400742659,), (1400742690,), (1400742719,), (1400742749,), (1400742777,), (1400742850,), (1400742872,), (1400742879,), (1400742891,), (1400742955,), (1400742982,), (1400743029,), (1400743076,), (1400743131,), (1400743185,), (1400743305,), (1400743331,), (1400743337,), (1400743340,), (1400743511,), (1400743378,), (1400743405,), (1400743436,), (1400743486,), (1400743567,), (1400743572,), (1400743575,), (1400743578,), (1400743581,), (1400743605,), (1400743610,), (1400743613,), (1400743616,), (1400743639,), (1400743643,), (1400743750,), (1400744149,), (1400744153,), (1400744156,), (1400744203,), (1400744206,), (1400744209,), (1400744213,), (1400744347,), (1400744352,), (1400744357,), (1400744368,), (1400744409,), (1400744432,), (1400744436,), (1400744463,), (1400744504,), (1400744507,), (1400744643,), (1400744664,), (1400744692,), (1400744719,), (1400744751,), (1400745426,), (1400745476,), (1400745674,), (1400745701,), (1400745727,), (1400745754,), (1400745203,), (1400745260,), (1400745316,), (1400745372,), (1400746071,), (1400746113,), (1400746145,), (1400746565,), (1400746591,), (1400746638,), (1400746703,), (1400746767,), (1400746843,), (1400747483,), (1400747520,), (1400747547,), (1400747572,), (1400747626,), (1400747945,), (1400747948,), (1400747951,), (1400747954,), (1400747962,), (1400747992,), (1400748271,), (1400748320,), (1400748351,), (1400748380,), (1400748409,), (1400748667,), (1400748678,), (1400748695,), (1400748698,), (1400748702,), (1400748950,), (1400748994,), (1400749059,), (1400749662,), (1400749701,), (1400749727,), (1400749857,), (1400749862,), (1400749865,), (1400749868,), (1400749870,), (1400749885,), (1400749889,), (1400749893,), (1400749897,), (1400749901,), (1400749905,), (1400750102,), (1400750120,), (1400750131,), (1400750133,), (1400750150,), (1400750152,), (1400750154,), (1400750157,), (1400750161,), (1400750165,), (1400750190,), (1400750192,), (1400750195,), (1400750198,), (1400750355,), (1400750384,), (1400750409,), (1400750440,), (1400750468,), (1400750496,), (1400750681,), (1400750695,), (1400750702,), (1400750712,), (1400750713,), (1400750716,), (1400750719,), (1400750722,), (1400750726,), (1400750742,), (1400751033,), (1400751842,), (1400750643,), (1400750647,), (1400750650,), (1400750735,), (1400750736,), (1400750738,), (1400750740,), (1400750741,), (1400750795,), (1400750840,), (1400750881,), (1400750932,), (1400750974,), (1400751506,), (1400751532,), (1400751594,), (1400751634,), (1400751677,), (1400751706,), (1400751815,), (1400751830,), (1400751834,), (1400751838,), (1400751906,), (1400751931,), (1400751958,), (1400751973,), (1400752016,), (1400752036,), (1400752039,), (1400752061,), (1400752074,), (1400752222,), (1400752302,), (1400752346,), (1400752372,), (1400752696,), (1400752727,), (1400752756,), (1400752787,), (1400752815,), (1400752842,), (1400752954,), (1400752957,), (1400752972,), (1400752979,), (1400753198,), (1400753226,), (1400753234,), (1400753238,), (1400753257,), (1400753286,), (1400753313,), (1400753314,), (1400753319,), (1400753328,), (1400753331,), (1400753335,), (1400753337,), (1400753340,), (1400753343,), (1400753351,), (1400753352,), (1400753356,), (1400753431,), (1400753458,), (1400753487,), (1400753520,), (1400753551,), (1400753578,), (1400753823,), (1400753890,), (1400753960,), (1400754025,), (1400754104,), (1400754166,), (1400754523,), (1400754557,), (1400754590,), (1400754623,), (1400756057,), (1400756358,), (1400756408,), (1400755950,), (1400756004,), (1400756050,), (1400756238,), (1400756246,), (1400756250,), (1400756252,), (1400756256,), (1400756260,), (1400756279,), (1400756281,), (1400756285,), (1400756289,), (1400756293,), (1400756297,), (1400756305,), (1400756307,), (1400756309,), (1400756311,), (1400756313,), (1400756315,), (1400756324,), (1400756327,), (1400756331,), (1400756335,), (1400756337,), (1400756339,), (1400756343,), (1400756344,), (1400756347,), (1400756350,), (1400756354,), (1400756369,), (1400756372,), (1400756376,), (1400756381,), (1400756386,), (1400756390,), (1400756396,), (1400756402,), (1400756407,), (1400756417,), (1400756418,), (1400756422,), (1400756423,), (1400756427,), (1400756428,), (1400756431,), (1400756432,), (1400756435,), (1400756436,), (1400756438,), (1400756440,), (1400756442,), (1400756472,), (1400756475,), (1400756477,), (1400756479,), (1400756513,), (1400756515,), (1400756517,), (1400756520,), (1400756525,), (1400756528,), (1400756546,), (1400756551,), (1400756553,), (1400756555,), (1400756559,), (1400756580,), (1400756583,), (1400756585,), (1400756589,), (1400756594,), (1400756597,), (1400756612,), (1400756615,), (1400756619,), (1400756621,), (1400756659,), (1400756632,), (1400756642,), (1400756650,), (1400756654,), (1400756665,), (1400756666,), (1400756667,), (1400756669,), (1400756673,), (1400756696,), (1400756698,), (1400756701,), (1400756712,), (1400756735,), (1400756737,), (1400756738,), (1400756773,), (1400756774,), (1400756775,), (1400756777,), (1400756781,), (1400756802,), (1400756804,), (1400756806,), (1400756808,), (1400756842,), (1400756850,), (1400756851,), (1400756852,), (1400756875,), (1400756877,), (1400756884,), (1400756891,), (1400756899,), (1400756934,), (1400756938,), (1400756941,), (1400756946,), (1400756951,), (1400756971,), (1400756976,), (1400756982,), (1400756985,), (1400756988,), (1400756991,), (1400757009,), (1400757013,), (1400757015,), (1400757017,), (1400757019,), (1400757020,), (1400757031,), (1400757036,), (1400757040,), (1400757044,), (1400757048,), (1400757052,), (1400757062,), (1400757064,), (1400757067,), (1400757076,), (1400757087,), (1400757093,), (1400757101,), (1400757102,), (1400757103,), (1400757105,), (1400757106,), (1400757107,), (1400757110,), (1400757112,), (1400757113,), (1400757115,), (1400757116,), (1400757118,), (1400757130,), (1400757133,), (1400757137,), (1400757141,), (1400757145,), (1400757149,), (1400757157,), (1400757159,), (1400757161,), (1400757167,), (1400757174,), (1400757195,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'23122025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29654646]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] map_info['map_portfolio_photo'] : {29654646: [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475]} final : True mtd_id 4302 list_pids : [1400692067, 1400692066, 1400691626, 1400691611, 1400691607, 1400691604, 1400691601, 1400691597, 1400691593, 1400691585, 1400691581, 1400691578, 1400691575, 1400691573, 1400691570, 1400691559, 1400691556, 1400691552, 1400691549, 1400691547, 1400691545, 1400691538, 1400691536, 1400691534, 1400691532, 1400691528, 1400691525, 1400691514, 1400691511, 1400691508, 1400691505, 1400691502, 1400691499, 1400691489, 1400691485, 1400691482, 1400691479, 1400691478, 1400691475] Looping around the photos to save general results len do output : 1 /29654646Didn'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, '4268322') ('4302', '29654646', '1400692067', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322') ('4302', None, None, None, None, None, None, None, '4268322') ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '29654646', 'None', None, None, None, None, '4268322'), ('4302', '29654646', '1400692067', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400692066', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691626', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691611', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691607', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691604', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691601', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691597', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691593', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691585', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691581', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691578', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691575', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691573', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691570', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691559', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691556', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691552', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691549', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691547', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691545', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691538', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691536', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691534', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691532', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691528', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691525', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691514', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691511', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691508', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691505', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691502', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691499', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691489', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691485', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691482', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691479', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691478', None, None, None, None, None, '4268322'), ('4302', '29654646', '1400691475', None, None, None, None, None, '4268322')] time used for this insertion : 0.02405714988708496 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.740513801574707 time spend to save output : 0.02441549301147461 total time spend for step 5 : 5.764929294586182 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 (4268322) 3.04user 2.83system 0:15.44elapsed 38%CPU (0avgtext+0avgdata 168848maxresident)k 640inputs+23872outputs (4major+80476minor)pagefaults 0swaps