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 : 2581295 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 (4253492) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4253492) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566511 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4253492'] with mtr_portfolio_ids : ['29566511'] and first list_photo_ids : [] new path : /proc/2581295/ Name: python3 Umask: 0002 State: R (running) Tgid: 2581295 Ngid: 0 Pid: 2581295 PPid: 2581294 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2581295 NSpid: 2581295 NSpgid: 2581025 NSsid: 2581025 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 106836 kB VmRSS: 106836 kB RssAnon: 66296 kB RssFile: 40540 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 564 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: 42 nonvoluntary_ctxt_switches: 140 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2581295', 'Ngid': '0', 'Pid': '2581295', 'PPid': '2581294', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2581295', 'NSpid': '2581295', 'NSpgid': '2581025', 'NSsid': '2581025', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '106836 kB', 'VmRSS': '106836 kB', 'RssAnon': '66296 kB', 'RssFile': '40540 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '564 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': '42', 'nonvoluntary_ctxt_switches': '140'} ('datou_batch_current', '2581295', '1113364', '0', '1113364', '872092', '106836', b'', 'marlene', '4253492') 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 (29566511) 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 (4253492 ) ) 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 (29566511) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1400148533, 'portfolio_id': 29566511}, {'photo_id': 1400147060, 'portfolio_id': 29566511}, {'photo_id': 1400146997, 'portfolio_id': 29566511}, {'photo_id': 1400146994, 'portfolio_id': 29566511}, {'photo_id': 1400146991, 'portfolio_id': 29566511}, {'photo_id': 1400146989, 'portfolio_id': 29566511}, {'photo_id': 1400146987, 'portfolio_id': 29566511}, {'photo_id': 1400146985, 'portfolio_id': 29566511}, {'photo_id': 1400146969, 'portfolio_id': 29566511}, {'photo_id': 1400146966, 'portfolio_id': 29566511}, {'photo_id': 1400146963, 'portfolio_id': 29566511}, {'photo_id': 1400146953, 'portfolio_id': 29566511}, {'photo_id': 1400146950, 'portfolio_id': 29566511}, {'photo_id': 1400146947, 'portfolio_id': 29566511}, {'photo_id': 1400146945, 'portfolio_id': 29566511}, {'photo_id': 1400146943, 'portfolio_id': 29566511}, {'photo_id': 1400146941, 'portfolio_id': 29566511}, {'photo_id': 1400146889, 'portfolio_id': 29566511}, {'photo_id': 1400146886, 'portfolio_id': 29566511}, {'photo_id': 1400146883, 'portfolio_id': 29566511}, {'photo_id': 1400146881, 'portfolio_id': 29566511}, {'photo_id': 1400146879, 'portfolio_id': 29566511}, {'photo_id': 1400146877, 'portfolio_id': 29566511}, {'photo_id': 1400146779, 'portfolio_id': 29566511}, {'photo_id': 1400146762, 'portfolio_id': 29566511}, {'photo_id': 1400146740, 'portfolio_id': 29566511}, {'photo_id': 1400146569, 'portfolio_id': 29566511}] map_portfolio_id_photo_id: {29566511: [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569]} ##### 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.01858687400817871 #### 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 Sat Dec 20 05:35:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29566511) 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 : 29566511 get user id for portfolio 29566511 get sub ptf for main ptf 29566511, type 3726 and hashtags ['autre_refus', 'papier', 'Carton_gris', 'kraft', 'mal_croppe', 'cartonnette', 'flou', 'metal', 'environnement', 'Teint_Dans_La_Masse', 'Carton_brun', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29566511 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','Carton_gris','kraft','mal_croppe','cartonnette','flou','metal','environnement','Teint_Dans_La_Masse','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29566511 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','Carton_gris','kraft','mal_croppe','cartonnette','flou','metal','environnement','Teint_Dans_La_Masse','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 29566511, 'sub_port_id': 29566515, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174544, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'Carton_brun': {'main_port_id': 29566511, 'sub_port_id': 29566516, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174545, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 29566511, 'sub_port_id': 29566517, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174546, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'environnement': {'main_port_id': 29566511, 'sub_port_id': 29566518, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174547, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'papier': {'main_port_id': 29566511, 'sub_port_id': 29566519, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174548, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'flou': {'main_port_id': 29566511, 'sub_port_id': 29566520, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174549, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'mal_croppe': {'main_port_id': 29566511, 'sub_port_id': 29566521, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174550, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'Carton_gris': {'main_port_id': 29566511, 'sub_port_id': 29566522, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174551, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'plastique': {'main_port_id': 29566511, 'sub_port_id': 29566523, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174552, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'cartonnette': {'main_port_id': 29566511, 'sub_port_id': 29566524, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174553, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'autre_refus': {'main_port_id': 29566511, 'sub_port_id': 29566525, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174554, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}, 'kraft': {'main_port_id': 29566511, 'sub_port_id': 29566526, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174555, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29566515 , 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=29566511 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 (29566515) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566516 , 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=29566511 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 (29566516) result : ((1400146998,), (1400147057,), (1400147058,), (1400147262,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566517 , 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=29566511 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 (29566517) result : ((1400146959,), (1400147050,), (1400147222,), (1400147224,), (1400147226,), (1400147228,), (1400147230,), (1400147517,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566518 , 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=29566511 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 (29566518) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566519 , 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=29566511 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 (29566519) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566520 , 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=29566511 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 (29566520) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566521 , 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=29566511 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 (29566521) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566522 , 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=29566511 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 (29566522) result : ((1400147053,), (1400147054,), (1400147252,), (1400147521,), (1400147522,), (1400147523,), (1400147524,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566523 , 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=29566511 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 (29566523) result : ((1400147527,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566524 , 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=29566511 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 (29566524) result : ((1400146954,), (1400146960,), (1400147055,), (1400147525,), (1400147526,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566525 , 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=29566511 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 (29566525) result : ((1400147051,), (1400147052,), (1400147240,), (1400147242,), (1400147519,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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 29566526 , 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=29566511 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 (29566526) result : ((1400147059,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29566511) result : ((1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,)) 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`=29566511 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','Carton_gris','kraft','mal_croppe','cartonnette','flou','metal','environnement','Teint_Dans_La_Masse','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29566511 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','Carton_gris','kraft','mal_croppe','cartonnette','flou','metal','environnement','Teint_Dans_La_Masse','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 29566511, 'sub_port_id': 29566527, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174556, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'Carton_brun': {'main_port_id': 29566511, 'sub_port_id': 29566528, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174557, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'Teint_Dans_La_Masse': {'main_port_id': 29566511, 'sub_port_id': 29566529, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174558, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'environnement': {'main_port_id': 29566511, 'sub_port_id': 29566530, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174559, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'papier': {'main_port_id': 29566511, 'sub_port_id': 29566531, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174560, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'flou': {'main_port_id': 29566511, 'sub_port_id': 29566532, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174561, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'mal_croppe': {'main_port_id': 29566511, 'sub_port_id': 29566533, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174562, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'Carton_gris': {'main_port_id': 29566511, 'sub_port_id': 29566534, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174563, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'plastique': {'main_port_id': 29566511, 'sub_port_id': 29566535, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174564, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'cartonnette': {'main_port_id': 29566511, 'sub_port_id': 29566536, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174565, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'autre_refus': {'main_port_id': 29566511, 'sub_port_id': 29566537, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174566, 'last_updated_at': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 13, 49), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}, 'kraft': {'main_port_id': 29566511, 'sub_port_id': 29566538, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20174567, 'last_updated_at': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 19, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 19, 13, 49)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566527,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566515 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566528,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566516 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566529,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566517 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566530,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566518 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566531,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566519 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566532,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566520 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566533,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566521 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566534,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566522 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566535,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566523 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566536,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566524 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566537,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566525 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29566538,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29566526 lien utilise dans velours : https://marlene.fotonower.com/velours/29566527,29566528,29566529,29566530,29566531,29566532,29566533,29566534,29566535,29566536,29566537,29566538?tags=metal,Carton_brun,Teint_Dans_La_Masse,environnement,papier,flou,mal_croppe,Carton_gris,plastique,cartonnette,autre_refus,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29566511]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] map_info['map_portfolio_photo'] : {29566511: [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569]} final : False mtd_id 4302 list_pids : [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] Looping around the photos to save general results len do output : 1 /29566511. 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, '4253492') ('4302', '29566511', '1400148533', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29566511', "{'metal': 29566515, 'Carton_brun': 29566516, 'Teint_Dans_La_Masse': 29566517, 'environnement': 29566518, 'papier': 29566519, 'flou': 29566520, 'mal_croppe': 29566521, 'Carton_gris': 29566522, 'plastique': 29566523, 'cartonnette': 29566524, 'autre_refus': 29566525, 'kraft': 29566526}", None, None, None, None, '4253492'), ('4302', '29566511', '1400148533', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492')] time used for this insertion : 0.022524595260620117 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7713050842285156 time spend to save output : 0.022892236709594727 total time spend for step 1 : 1.7941973209381104 step2:final Sat Dec 20 05:35:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29566511) 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 29566511 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1400146569,1400146779,1400146762,1400146889,1400146740,1400146886,1400146883,1400146881,1400146879,1400146877,1400146953,1400146950,1400146947,1400146945,1400146943,1400146941,1400146969,1400146966,1400146963,1400146997,1400146994,1400146991,1400146989,1400146987,1400146985,1400147060,1400148533); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29566511]) Inside saveOutput : final : False verbose : True original output for save of step final : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} new output for save of step final : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] map_info['map_portfolio_photo'] : {29566511: [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569]} final : False mtd_id 4302 list_pids : [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] Looping around the photos to save general results len do output : 27 /1400148533.Didn't retrieve data . /1400147060.Didn't retrieve data . /1400146997.Didn't retrieve data . /1400146994.Didn't retrieve data . /1400146991.Didn't retrieve data . /1400146989.Didn't retrieve data . /1400146987.Didn't retrieve data . /1400146985.Didn't retrieve data . /1400146969.Didn't retrieve data . /1400146966.Didn't retrieve data . /1400146963.Didn't retrieve data . /1400146953.Didn't retrieve data . /1400146950.Didn't retrieve data . /1400146947.Didn't retrieve data . /1400146945.Didn't retrieve data . /1400146943.Didn't retrieve data . /1400146941.Didn't retrieve data . /1400146889.Didn't retrieve data . /1400146886.Didn't retrieve data . /1400146883.Didn't retrieve data . /1400146881.Didn't retrieve data . /1400146879.Didn't retrieve data . /1400146877.Didn't retrieve data . /1400146779.Didn't retrieve data . /1400146762.Didn't retrieve data . /1400146740.Didn't retrieve data . /1400146569.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, '4253492') ('4302', '29566511', '1400148533', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29566511', '1400148533', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400147060', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146997', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146994', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146991', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146989', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146987', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146985', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146969', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146966', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146963', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146953', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146950', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146947', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146945', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146943', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146941', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146889', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146886', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146883', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146881', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146879', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146877', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146779', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146762', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146740', '0.03225211747858353', None, None, None, None, '4253492'), ('4302', '29566511', '1400146569', '0.03225211747858353', None, None, None, None, '4253492')] time used for this insertion : 0.023734569549560547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07506608963012695 time spend to save output : 0.024791955947875977 total time spend for step 2 : 0.09985804557800293 step3:velours_tree Sat Dec 20 05:35:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29566511: [{'metal': 29566515, 'Carton_brun': 29566516, 'Teint_Dans_La_Masse': 29566517, 'environnement': 29566518, 'papier': 29566519, 'flou': 29566520, 'mal_croppe': 29566521, 'Carton_gris': 29566522, 'plastique': 29566523, 'cartonnette': 29566524, 'autre_refus': 29566525, 'kraft': 29566526}]} input_args_next_step : {29566511: ()} output_args : {29566511: [{'metal': 29566515, 'Carton_brun': 29566516, 'Teint_Dans_La_Masse': 29566517, 'environnement': 29566518, 'papier': 29566519, 'flou': 29566520, 'mal_croppe': 29566521, 'Carton_gris': 29566522, 'plastique': 29566523, 'cartonnette': 29566524, 'autre_refus': 29566525, 'kraft': 29566526}]} args : 29566511 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 : ({'metal': 29566515, 'Carton_brun': 29566516, 'Teint_Dans_La_Masse': 29566517, 'environnement': 29566518, 'papier': 29566519, 'flou': 29566520, 'mal_croppe': 29566521, 'Carton_gris': 29566522, 'plastique': 29566523, 'cartonnette': 29566524, 'autre_refus': 29566525, 'kraft': 29566526},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29566511) 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([29566511]) 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.25406527519226074 time spend to save output : 4.9114227294921875e-05 total time spend for step 3 : 0.25411438941955566 step4:send_mail_cod Sat Dec 20 05:35:31 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 : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} input_args_next_step : {1400148533: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400148533 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400147060 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146997 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146994 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146991 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146989 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146987 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146985 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146969 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146966 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146963 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146953 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146950 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146947 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146945 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146943 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146941 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146889 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146886 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146883 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146881 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146879 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146877 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146779 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146762 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146740 depend.output_id : 0 input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ()} output_args : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',)} args : 1400146569 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 : {29566511: [{'metal': 29566515, 'Carton_brun': 29566516, 'Teint_Dans_La_Masse': 29566517, 'environnement': 29566518, 'papier': 29566519, 'flou': 29566520, 'mal_croppe': 29566521, 'Carton_gris': 29566522, 'plastique': 29566523, 'cartonnette': 29566524, 'autre_refus': 29566525, 'kraft': 29566526}]} input_args_next_step : {1400148533: ('0.03225211747858353',), 1400147060: ('0.03225211747858353',), 1400146997: ('0.03225211747858353',), 1400146994: ('0.03225211747858353',), 1400146991: ('0.03225211747858353',), 1400146989: ('0.03225211747858353',), 1400146987: ('0.03225211747858353',), 1400146985: ('0.03225211747858353',), 1400146969: ('0.03225211747858353',), 1400146966: ('0.03225211747858353',), 1400146963: ('0.03225211747858353',), 1400146953: ('0.03225211747858353',), 1400146950: ('0.03225211747858353',), 1400146947: ('0.03225211747858353',), 1400146945: ('0.03225211747858353',), 1400146943: ('0.03225211747858353',), 1400146941: ('0.03225211747858353',), 1400146889: ('0.03225211747858353',), 1400146886: ('0.03225211747858353',), 1400146883: ('0.03225211747858353',), 1400146881: ('0.03225211747858353',), 1400146879: ('0.03225211747858353',), 1400146877: ('0.03225211747858353',), 1400146779: ('0.03225211747858353',), 1400146762: ('0.03225211747858353',), 1400146740: ('0.03225211747858353',), 1400146569: ('0.03225211747858353',), 29566511: ()} output_args : {29566511: [{'metal': 29566515, 'Carton_brun': 29566516, 'Teint_Dans_La_Masse': 29566517, 'environnement': 29566518, 'papier': 29566519, 'flou': 29566520, 'mal_croppe': 29566521, 'Carton_gris': 29566522, 'plastique': 29566523, 'cartonnette': 29566524, 'autre_refus': 29566525, 'kraft': 29566526}]} args : 29566511 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :28, first value : ('0.03225211747858353',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29566511) 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 (1400148533,1400147060,1400146997,1400146994,1400146991,1400146989,1400146987,1400146985,1400146969,1400146966,1400146963,1400146953,1400146950,1400146947,1400146945,1400146943,1400146941,1400146889,1400146886,1400146883,1400146881,1400146879,1400146877,1400146779,1400146762,1400146740,1400146569) Found this number of photos: 27 ##### Call download_photos : nb_thread : 5 begin to download photo : 1400146569 begin to download photo : 1400146881 begin to download photo : 1400146945 begin to download photo : 1400146969 begin to download photo : 1400146997 download finish for photo 1400146569 begin to download photo : 1400146740 download finish for photo 1400146945 begin to download photo : 1400146947 download finish for photo 1400146997 begin to download photo : 1400147060 download finish for photo 1400146969 begin to download photo : 1400146985 download finish for photo 1400146881 begin to download photo : 1400146883 download finish for photo 1400147060 begin to download photo : 1400148533 download finish for photo 1400146740 begin to download photo : 1400146762 download finish for photo 1400146947 begin to download photo : 1400146950 download finish for photo 1400146985 begin to download photo : 1400146987 download finish for photo 1400146883 begin to download photo : 1400146886 download finish for photo 1400148533 download finish for photo 1400146950 begin to download photo : 1400146953 download finish for photo 1400146886 begin to download photo : 1400146889 download finish for photo 1400146987 begin to download photo : 1400146989 download finish for photo 1400146762 begin to download photo : 1400146779 download finish for photo 1400146889 begin to download photo : 1400146941 download finish for photo 1400146989 begin to download photo : 1400146991 download finish for photo 1400146953 begin to download photo : 1400146963 download finish for photo 1400146779 begin to download photo : 1400146877 download finish for photo 1400146941 begin to download photo : 1400146943 download finish for photo 1400146991 begin to download photo : 1400146994 download finish for photo 1400146877 begin to download photo : 1400146879 download finish for photo 1400146963 begin to download photo : 1400146966 download finish for photo 1400146994 download finish for photo 1400146966 download finish for photo 1400146943 download finish for photo 1400146879 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette295665151766205332/ imagette295665201766205332/ imagette295665211766205332/ length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 results_Auto_P29566511_20-12-2025_05_35_32.pdf 29566515 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=29566515 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette295665151766205332 29566520 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=29566520 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette295665201766205332 29566521 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=29566521 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette295665211766205332 29566523 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=29566523 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400147527: '1766148906_3647200_1400146881_e7f91a5d9dcbc2acb78ca30c974604d2_rle_crop_4075441124_0.png'} change filename to text .imagette295665231766205332/ imagette295665231766205332/1766148906_3647200_1400146881_e7f91a5d9dcbc2acb78ca30c974604d2_rle_crop_4075441124_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/86a2f8c451c940f208f5d5322fb9d4bc_87413270.png imagette295665231766205332 29566524 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=29566524 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400146954: '1766148546_3628115_1400146740_7a9c58a100fd36500f566130bda0ff41_rle_crop_4075439397_0.png', 1400146960: '1766148566_3628587_1400146569_1dc9512c752dd0ebe76028e0b166a9a7_rle_crop_4075439489_0.png', 1400147055: '1766148685_3636481_1400146945_b7bcf906144832fda71cd88e85a0bc47_rle_crop_4075440207_0.png', 1400147525: '1766148906_3647200_1400146879_1f06ea6656060ba339ec8c3e823eeb64_rle_crop_4075441138_0.png', 1400147526: '1766148906_3647200_1400146877_fe5503e32645d984ac9e17256d920d67_rle_crop_4075441250_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/8f82ac21c8b6be98047db9d594a11519_13035668.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/87ad08e497a132738d939ae2970a47c3_59829572.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/12ec9b7057e3e2b0b6ca0b50da58fa3a_37431549.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/b392f0b88cfd65ef5a49ba73ddc42c72_14128235.png change filename to text .imagette295665241766205332/ imagette295665241766205332/1766148685_3636481_1400146945_b7bcf906144832fda71cd88e85a0bc47_rle_crop_4075440207_0.png.png imagette295665241766205332/1766148546_3628115_1400146740_7a9c58a100fd36500f566130bda0ff41_rle_crop_4075439397_0.png.png imagette295665241766205332/1766148566_3628587_1400146569_1dc9512c752dd0ebe76028e0b166a9a7_rle_crop_4075439489_0.png.png imagette295665241766205332/1766148906_3647200_1400146877_fe5503e32645d984ac9e17256d920d67_rle_crop_4075441250_0.png.png imagette295665241766205332/1766148906_3647200_1400146879_1f06ea6656060ba339ec8c3e823eeb64_rle_crop_4075441138_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/175144cc2043b3e42ba429207dd622b8_84894635.png imagette295665241766205332 29566525 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=29566525 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400147051: '1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440234_0.png', 1400147052: '1766148685_3636481_1400146941_cc68626edca646a82d5086d5b8f06c67_rle_crop_4075440251_0.png', 1400147240: '1766148785_3641693_1400146991_751d26ac0b857f1e7254e1c6c08fa84b_rle_crop_4075440716_0.png', 1400147242: '1766148785_3641693_1400146989_e84255f84d3fcf2ea0065dba1dc0f4b2_rle_crop_4075440726_0.png', 1400147519: '1766148906_3647200_1400146877_fe5503e32645d984ac9e17256d920d67_rle_crop_4075441251_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/a1055636bb7ed19480a0120746e9a1ef_21944135.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/da8b92558f479e90862de4041e9c8c07_29790918.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/82573043740289939547ce88afc1f29a_95672098.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/54912258dfeb3f8a1c1cbd9e205f2109_9664747.png change filename to text .imagette295665251766205332/ imagette295665251766205332/1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440234_0.png.png imagette295665251766205332/1766148785_3641693_1400146989_e84255f84d3fcf2ea0065dba1dc0f4b2_rle_crop_4075440726_0.png.png imagette295665251766205332/1766148906_3647200_1400146877_fe5503e32645d984ac9e17256d920d67_rle_crop_4075441251_0.png.png imagette295665251766205332/1766148785_3641693_1400146991_751d26ac0b857f1e7254e1c6c08fa84b_rle_crop_4075440716_0.png.png imagette295665251766205332/1766148685_3636481_1400146941_cc68626edca646a82d5086d5b8f06c67_rle_crop_4075440251_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/512e98cbba72f4b115f37a37ab16318c_51607233.png imagette295665251766205332 29566526 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=29566526 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400147059: '1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440237_0.png'} change filename to text .imagette295665261766205333/ imagette295665261766205333/1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440237_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/d9aeaa526634ede6f5202fe81f919c29_20713914.png imagette295665261766205333 29566516 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=29566516 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400146998: '1766148665_3633797_1400146963_e1cbc064c3b16c176fecb78bc14878be_rle_crop_4075439955_0.png', 1400147057: '1766148685_3636481_1400146945_b7bcf906144832fda71cd88e85a0bc47_rle_crop_4075440209_0.png', 1400147058: '1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440238_0.png', 1400147262: '1766148785_3641693_1400146985_dfe1a7e80d8d88a534c70261093ed622_rle_crop_4075440754_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/9842610d355fd8f137f34e08fc96e1fb_78340437.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/12db0058b8a6609aa5a5f5b5ca28ad80_69528162.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/0dbbc0f11f4a4a9caf2c94dbee7b2a14_31018423.png change filename to text .imagette295665161766205333/ imagette295665161766205333/1766148665_3633797_1400146963_e1cbc064c3b16c176fecb78bc14878be_rle_crop_4075439955_0.png.png imagette295665161766205333/1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440238_0.png.png imagette295665161766205333/1766148685_3636481_1400146945_b7bcf906144832fda71cd88e85a0bc47_rle_crop_4075440209_0.png.png imagette295665161766205333/1766148785_3641693_1400146985_dfe1a7e80d8d88a534c70261093ed622_rle_crop_4075440754_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/5e8986ee7a77f1c87280d31204e84d1e_82639387.png imagette295665161766205333 29566517 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=29566517 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400146959: '1766148566_3628587_1400146569_1dc9512c752dd0ebe76028e0b166a9a7_rle_crop_4075439493_0.png', 1400147050: '1766148685_3636481_1400146941_cc68626edca646a82d5086d5b8f06c67_rle_crop_4075440257_0.png', 1400147222: '1766148785_3641693_1400146994_4329610f72d073a0e5861afc7953d84b_rle_crop_4075440708_0.png', 1400147224: '1766148785_3641693_1400146991_751d26ac0b857f1e7254e1c6c08fa84b_rle_crop_4075440722_0.png', 1400147226: '1766148785_3641693_1400146991_751d26ac0b857f1e7254e1c6c08fa84b_rle_crop_4075440718_0.png', 1400147228: '1766148785_3641693_1400146987_1f208a4669df155e03297515edae9ae9_rle_crop_4075440741_0.png', 1400147230: '1766148785_3641693_1400146985_dfe1a7e80d8d88a534c70261093ed622_rle_crop_4075440759_0.png', 1400147517: '1766148906_3647200_1400146879_1f06ea6656060ba339ec8c3e823eeb64_rle_crop_4075441139_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/6484ae8e3880f6d488946948a3cfa40a_26416877.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/47414aa389c65283282187f90325ad22_24928480.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/089009793421d6f6cb614d31f9df3610_57215930.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/8f0a5f4600a45b728738a6e2439d57ed_54497059.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/4a38b71c79c2e4a662627a2a60548762_64400181.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/45d7231706b55dd019d4633b08db3312_73124297.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/c0498edae7ee8ef3807303403a32bc9a_56816225.png change filename to text .imagette295665171766205334/ imagette295665171766205334/1766148685_3636481_1400146941_cc68626edca646a82d5086d5b8f06c67_rle_crop_4075440257_0.png.png imagette295665171766205334/1766148566_3628587_1400146569_1dc9512c752dd0ebe76028e0b166a9a7_rle_crop_4075439493_0.png.png imagette295665171766205334/1766148785_3641693_1400146991_751d26ac0b857f1e7254e1c6c08fa84b_rle_crop_4075440722_0.png.png imagette295665171766205334/1766148906_3647200_1400146879_1f06ea6656060ba339ec8c3e823eeb64_rle_crop_4075441139_0.png.png imagette295665171766205334/1766148785_3641693_1400146987_1f208a4669df155e03297515edae9ae9_rle_crop_4075440741_0.png.png imagette295665171766205334/1766148785_3641693_1400146985_dfe1a7e80d8d88a534c70261093ed622_rle_crop_4075440759_0.png.png imagette295665171766205334/1766148785_3641693_1400146994_4329610f72d073a0e5861afc7953d84b_rle_crop_4075440708_0.png.png imagette295665171766205334/1766148785_3641693_1400146991_751d26ac0b857f1e7254e1c6c08fa84b_rle_crop_4075440718_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/89794aaa8082a764751ea43dede4e083_33603598.png imagette295665171766205334 29566522 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=29566522 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1400147053: '1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440236_0.png', 1400147054: '1766148685_3636481_1400146941_cc68626edca646a82d5086d5b8f06c67_rle_crop_4075440258_0.png', 1400147252: '1766148785_3641693_1400146985_dfe1a7e80d8d88a534c70261093ed622_rle_crop_4075440752_0.png', 1400147521: '1766148906_3647200_1400146953_d960bd3614bdfc3ae8276e3c93fbf0bb_rle_crop_4075441094_0.png', 1400147522: '1766148906_3647200_1400146881_e7f91a5d9dcbc2acb78ca30c974604d2_rle_crop_4075441126_0.png', 1400147523: '1766148906_3647200_1400146879_1f06ea6656060ba339ec8c3e823eeb64_rle_crop_4075441135_0.png', 1400147524: '1766148906_3647200_1400146877_fe5503e32645d984ac9e17256d920d67_rle_crop_4075441258_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/d6da56a62c20edabb3b13fcae187e638_20552378.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/ed19ef186119dc7cccdd351a6db8136b_35669914.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/21f513f9ef62c7ff04798cbf2cbcb4c8_34981995.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/45624fc87af3a826ebf0b4dd24f29c0a_89077212.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/57450d8806748da5704f9c33e2bc9451_58171444.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/21617e9dd188f28e27b210b30fbca285_12167949.png change filename to text .imagette295665221766205335/ imagette295665221766205335/1766148685_3636481_1400146941_cc68626edca646a82d5086d5b8f06c67_rle_crop_4075440258_0.png.png imagette295665221766205335/1766148906_3647200_1400146877_fe5503e32645d984ac9e17256d920d67_rle_crop_4075441258_0.png.png imagette295665221766205335/1766148906_3647200_1400146879_1f06ea6656060ba339ec8c3e823eeb64_rle_crop_4075441135_0.png.png imagette295665221766205335/1766148785_3641693_1400146985_dfe1a7e80d8d88a534c70261093ed622_rle_crop_4075440752_0.png.png imagette295665221766205335/1766148906_3647200_1400146881_e7f91a5d9dcbc2acb78ca30c974604d2_rle_crop_4075441126_0.png.png imagette295665221766205335/1766148685_3636481_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea_rle_crop_4075440236_0.png.png imagette295665221766205335/1766148906_3647200_1400146953_d960bd3614bdfc3ae8276e3c93fbf0bb_rle_crop_4075441094_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/071121a5c84435a3bb2af97d7d08f8b0_69012949.png imagette295665221766205335 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29566511 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29566527,29566528,29566529,29566530,29566531,29566532,29566533,29566534,29566535,29566536,29566537,29566538?tags=metal,Carton_brun,Teint_Dans_La_Masse,environnement,papier,flou,mal_croppe,Carton_gris,plastique,cartonnette,autre_refus,kraft your option no_mail is active, we will not send the real mail to your client args[1400148533] : ('0.03225211747858353',) no score found for photo 1400148533 We are sending mail with results at report@fotonower.com args[1400147060] : ('0.03225211747858353',) no score found for photo 1400147060 We are sending mail with results at report@fotonower.com args[1400146997] : ('0.03225211747858353',) no score found for photo 1400146997 We are sending mail with results at report@fotonower.com args[1400146994] : ('0.03225211747858353',) no score found for photo 1400146994 We are sending mail with results at report@fotonower.com args[1400146991] : ('0.03225211747858353',) no score found for photo 1400146991 We are sending mail with results at report@fotonower.com args[1400146989] : ('0.03225211747858353',) no score found for photo 1400146989 We are sending mail with results at report@fotonower.com args[1400146987] : ('0.03225211747858353',) no score found for photo 1400146987 We are sending mail with results at report@fotonower.com args[1400146985] : ('0.03225211747858353',) no score found for photo 1400146985 We are sending mail with results at report@fotonower.com args[1400146969] : ('0.03225211747858353',) no score found for photo 1400146969 We are sending mail with results at report@fotonower.com args[1400146966] : ('0.03225211747858353',) no score found for photo 1400146966 We are sending mail with results at report@fotonower.com args[1400146963] : ('0.03225211747858353',) no score found for photo 1400146963 We are sending mail with results at report@fotonower.com args[1400146953] : ('0.03225211747858353',) no score found for photo 1400146953 We are sending mail with results at report@fotonower.com args[1400146950] : ('0.03225211747858353',) no score found for photo 1400146950 We are sending mail with results at report@fotonower.com args[1400146947] : ('0.03225211747858353',) no score found for photo 1400146947 We are sending mail with results at report@fotonower.com args[1400146945] : ('0.03225211747858353',) no score found for photo 1400146945 We are sending mail with results at report@fotonower.com args[1400146943] : ('0.03225211747858353',) no score found for photo 1400146943 We are sending mail with results at report@fotonower.com args[1400146941] : ('0.03225211747858353',) no score found for photo 1400146941 We are sending mail with results at report@fotonower.com args[1400146889] : ('0.03225211747858353',) no score found for photo 1400146889 We are sending mail with results at report@fotonower.com args[1400146886] : ('0.03225211747858353',) no score found for photo 1400146886 We are sending mail with results at report@fotonower.com args[1400146883] : ('0.03225211747858353',) no score found for photo 1400146883 We are sending mail with results at report@fotonower.com args[1400146881] : ('0.03225211747858353',) no score found for photo 1400146881 We are sending mail with results at report@fotonower.com args[1400146879] : ('0.03225211747858353',) no score found for photo 1400146879 We are sending mail with results at report@fotonower.com args[1400146877] : ('0.03225211747858353',) no score found for photo 1400146877 We are sending mail with results at report@fotonower.com args[1400146779] : ('0.03225211747858353',) no score found for photo 1400146779 We are sending mail with results at report@fotonower.com args[1400146762] : ('0.03225211747858353',) no score found for photo 1400146762 We are sending mail with results at report@fotonower.com args[1400146740] : ('0.03225211747858353',) no score found for photo 1400146740 We are sending mail with results at report@fotonower.com args[1400146569] : ('0.03225211747858353',) no score found for photo 1400146569 We are sending mail with results at report@fotonower.com refus_total : 0.03225211747858353 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=29566511 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_P29566511_20-12-2025_05_35_32.pdf results_Auto_P29566511_20-12-2025_05_35_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566511_20-12-2025_05_35_32.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','29566511','results_Auto_P29566511_20-12-2025_05_35_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566511_20-12-2025_05_35_32.pdf','pdf','','0.29','0.03225211747858353') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29566511]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] map_info['map_portfolio_photo'] : {29566511: [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569]} final : False mtd_id 4302 list_pids : [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] 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, '4253492') ('4302', '29566511', '1400148533', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29566511', '1400148533', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492')] time used for this insertion : 0.020726919174194336 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.657268047332764 time spend to save output : 0.02106332778930664 total time spend for step 4 : 6.67833137512207 step5:split_time_score Sat Dec 20 05:35:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29566511'] 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 : [('29566511',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29566511) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1400146997: {'path': 'temp/1766205331_2581295_1400146997_26b4422fdf502e950d0be7d87b861858.jpg', 'extension': 'jpg'}, 1400147060: {'path': 'temp/1766205331_2581295_1400147060_97f85fd90ed9530ee5dae66241580fc3.jpg', 'extension': 'jpg'}, 1400148533: {'path': 'temp/1766205331_2581295_1400148533_ecade6d0bd9dae54e38d0fe6ca799799.jpg', 'extension': 'jpg'}, 1400146969: {'path': 'temp/1766205331_2581295_1400146969_69d0ab55d38403eaa5b67ee5fc5d69ec.jpg', 'extension': 'jpg'}, 1400146985: {'path': 'temp/1766205331_2581295_1400146985_dfe1a7e80d8d88a534c70261093ed622.jpg', 'extension': 'jpg'}, 1400146987: {'path': 'temp/1766205331_2581295_1400146987_1f208a4669df155e03297515edae9ae9.jpg', 'extension': 'jpg'}, 1400146989: {'path': 'temp/1766205331_2581295_1400146989_e84255f84d3fcf2ea0065dba1dc0f4b2.jpg', 'extension': 'jpg'}, 1400146991: {'path': 'temp/1766205331_2581295_1400146991_751d26ac0b857f1e7254e1c6c08fa84b.jpg', 'extension': 'jpg'}, 1400146994: {'path': 'temp/1766205331_2581295_1400146994_4329610f72d073a0e5861afc7953d84b.jpg', 'extension': 'jpg'}, 1400146945: {'path': 'temp/1766205331_2581295_1400146945_b7bcf906144832fda71cd88e85a0bc47.jpg', 'extension': 'jpg'}, 1400146947: {'path': 'temp/1766205331_2581295_1400146947_ff4fddb5248de2ab3b4025c75dd581cd.jpg', 'extension': 'jpg'}, 1400146950: {'path': 'temp/1766205331_2581295_1400146950_b894af20c9e7ae2ced2b99f57aacbe13.jpg', 'extension': 'jpg'}, 1400146953: {'path': 'temp/1766205331_2581295_1400146953_d960bd3614bdfc3ae8276e3c93fbf0bb.jpg', 'extension': 'jpg'}, 1400146963: {'path': 'temp/1766205331_2581295_1400146963_e1cbc064c3b16c176fecb78bc14878be.jpg', 'extension': 'jpg'}, 1400146966: {'path': 'temp/1766205331_2581295_1400146966_b1ee1e6144ee600db061d2e772cd2684.jpg', 'extension': 'jpg'}, 1400146881: {'path': 'temp/1766205331_2581295_1400146881_e7f91a5d9dcbc2acb78ca30c974604d2.jpg', 'extension': 'jpg'}, 1400146883: {'path': 'temp/1766205331_2581295_1400146883_1bbee4554bd8b5c99d365ca2c90b9180.jpg', 'extension': 'jpg'}, 1400146886: {'path': 'temp/1766205331_2581295_1400146886_2a7368a531feef72fb5e7945b9dde310.jpg', 'extension': 'jpg'}, 1400146889: {'path': 'temp/1766205331_2581295_1400146889_d0ff58d58d073176f1f6145fd135d138.jpg', 'extension': 'jpg'}, 1400146941: {'path': 'temp/1766205331_2581295_1400146941_cc68626edca646a82d5086d5b8f06c67.jpg', 'extension': 'jpg'}, 1400146943: {'path': 'temp/1766205331_2581295_1400146943_daf4957efbd5bda02cbf5b1f4ccfb5ea.jpg', 'extension': 'jpg'}, 1400146569: {'path': 'temp/1766205331_2581295_1400146569_1dc9512c752dd0ebe76028e0b166a9a7.jpg', 'extension': 'jpg'}, 1400146740: {'path': 'temp/1766205331_2581295_1400146740_7a9c58a100fd36500f566130bda0ff41.jpg', 'extension': 'jpg'}, 1400146762: {'path': 'temp/1766205331_2581295_1400146762_a1b779a9e2f44e1b47bbd1b3e67223ed.jpg', 'extension': 'jpg'}, 1400146779: {'path': 'temp/1766205331_2581295_1400146779_0dd47337e9a4782b4c61a0b1e1b055e8.jpg', 'extension': 'jpg'}, 1400146877: {'path': 'temp/1766205331_2581295_1400146877_fe5503e32645d984ac9e17256d920d67.jpg', 'extension': 'jpg'}, 1400146879: {'path': 'temp/1766205331_2581295_1400146879_1f06ea6656060ba339ec8c3e823eeb64.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 = 29566511; (('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 = 29566511 group by h (('13', 27),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29566511 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 (29566511) 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 (29566511) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19122025 29566511 Nombre de photos uploadées : 27 / 23040 (0%) 19122025 29566511 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 19122025 29566511 Nombre de photos taguées (volume) : 0 / 27 (0%) [{'photo_id': 1400146569, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/1dc9512c752dd0ebe76028e0b166a9a7.jpg', 'username': None, 'uploaded_at': 1766148367, 'text': 'image_19122025_13_45_14_010139m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1400146779, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/0dd47337e9a4782b4c61a0b1e1b055e8.jpg', 'username': None, 'uploaded_at': 1766148437, 'text': 'image_19122025_13_45_24_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1400146762, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/a1b779a9e2f44e1b47bbd1b3e67223ed.jpg', 'username': None, 'uploaded_at': 1766148437, 'text': 'image_19122025_13_46_04_009137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1400146889, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/19/d0ff58d58d073176f1f6145fd135d138.jpg', 'username': None, 'uploaded_at': 1766148488, 'text': 'image_19122025_13_46_34_010139m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013072490692138672 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29566511, '2025-12-19' ) 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-19' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2761642,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.42591094970703125 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= 2761642 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29564719, 'dashboard_result_id': 18579207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29564719_20-12-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29564721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29564722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29564723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29564724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29564725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29564726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29564727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29564728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29564729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29564730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29564731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29564732, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29565006, 'dashboard_result_id': 18579208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565006_20-12-2025_05_34_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29565055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29565056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29565057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29565058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29565059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29565060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29565061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29565062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29565063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29565064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29565065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29565066, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29565580, 'dashboard_result_id': 18579209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565580_20-12-2025_05_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29565582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29565583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29565584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29565585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29565586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29565587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29565588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29565589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29565590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29565591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29565592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29565593, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29566373, 'dashboard_result_id': 18579210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566373_19-12-2025_13_46_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29566395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566402, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29566511, 'dashboard_result_id': 18579211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566511_19-12-2025_14_21_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29566515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566526, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29566883, 'dashboard_result_id': 18579212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566883_19-12-2025_14_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29566896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566897, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29567114, 'dashboard_result_id': 18579213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567114_19-12-2025_14_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29567117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29567118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29567119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29567120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29567121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29567122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29567123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29567124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29567125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29567126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29567127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29567128, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29567531, 'dashboard_result_id': 18579214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567531_19-12-2025_15_07_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29567535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29567536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29567537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29567538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29567539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29567540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29567541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29567542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29567543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29567544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29567545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29567546, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29568017, 'dashboard_result_id': 18579215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568017_19-12-2025_15_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29568022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29568023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29568024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29568025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29568026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29568027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29568028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29568029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29568030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29568031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29568032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29568033, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29568563, 'dashboard_result_id': 18579216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568563_19-12-2025_18_00_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29568573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29568574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29568575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29568576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29568577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29568578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29568579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29568580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29568581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29568582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29568583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29568584, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29569699, 'dashboard_result_id': 18579217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29569699_19-12-2025_17_19_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29569703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29569704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29569705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29569706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29569707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29569708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29569709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29569710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29569711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29569712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29569713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29569714, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29570185, 'dashboard_result_id': 18579218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570185_19-12-2025_18_04_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29570189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29570190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29570191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29570192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29570193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29570194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29570195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29570196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29570197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29570198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29570199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29570200, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29570915, 'dashboard_result_id': 18579219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570915_19-12-2025_18_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29570918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29570919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29570921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29570922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29570923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29570924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29570925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29570926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29570927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29570928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29570929, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29571357, 'dashboard_result_id': 18579220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571357_19-12-2025_18_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571372, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29571617, 'dashboard_result_id': 18579221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571617_19-12-2025_18_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571643, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29571950, 'dashboard_result_id': 18579222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571950_19-12-2025_19_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571968, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29572386, 'dashboard_result_id': 18579223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572386_19-12-2025_19_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29572421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29572422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29572423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29572424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29572425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29572426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29572427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29572428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29572429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29572430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29572431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29572432, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29572936, 'dashboard_result_id': 18579224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572936_19-12-2025_19_34_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29572944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29572945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29572946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29572948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29572949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29572950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29572951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29572952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29572953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29572954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29572955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29572956, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29573591, 'dashboard_result_id': 18579225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29573591_19-12-2025_19_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29573599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29573600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29573601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29573602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29573603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29573604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29573605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29573606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29573607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29573608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29573609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29573610, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29574100, 'dashboard_result_id': 18579226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574100_19-12-2025_20_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29574139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29574140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29574141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29574142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29574143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29574144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29574145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29574146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29574147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29574148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29574149, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29574150, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29574500, 'dashboard_result_id': 18579227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574500_19-12-2025_20_17_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29574529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29574530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29574531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29574532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29574533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29574534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29574535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29574536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29574537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29574538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29574539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29574540, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29575111, 'dashboard_result_id': 18579228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575111_19-12-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29575119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29575120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29575121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29575122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29575123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29575125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29575126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29575127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29575128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29575129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29575130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29575131, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29575605, 'dashboard_result_id': 18579229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575605_19-12-2025_21_06_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29575638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29575639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29575640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29575641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29575642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29575643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29575644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29575645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29575646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29575647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29575648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29575649, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29576416, 'dashboard_result_id': 18579230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576416_19-12-2025_21_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29576437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29576438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29576439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29576440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29576441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29576442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29576443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29576444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29576445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29576446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29576447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29576448, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29576640, 'dashboard_result_id': 18579231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576640_19-12-2025_21_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29576645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29576646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29576647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29576648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29576649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29576650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29576651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29576652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29576653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29576654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29576655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29576656, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29577047, 'dashboard_result_id': 18579232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577047_19-12-2025_21_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577086, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577088, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29577467, 'dashboard_result_id': 18579233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577467_19-12-2025_22_04_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577484, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29577849, 'dashboard_result_id': 18579234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577849_19-12-2025_22_22_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577874, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29578811, 'dashboard_result_id': 18579235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29578811_19-12-2025_22_34_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29578830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29578831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29578832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29578833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29578834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29578835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29578836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29578837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29578838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29578839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29578840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29578841, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29579231, 'dashboard_result_id': 18579236, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579231_19-12-2025_22_47_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29579328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29579329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29579330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29579331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29579332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29579333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29579334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29579335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29579336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29579337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29579338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29579339, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29579859, 'dashboard_result_id': 18579237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579859_19-12-2025_23_05_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29579867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29579868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29579869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29579870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29579871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29579872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29579873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29579874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29579875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29579876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29579877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29579878, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29580493, 'dashboard_result_id': 18579238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29580493_20-12-2025_00_30_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29580601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29580602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29580603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29580604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29580605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29580606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29580607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29580608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29580609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29580610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29580611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29580612, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29581359, 'dashboard_result_id': 18579239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29581359_19-12-2025_23_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29581360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29581361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29581362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29581363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29581364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29581365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29581366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29581367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29581368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29581369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29581370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29581371, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29582030, 'dashboard_result_id': 18579240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582030_19-12-2025_23_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29582037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29582038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29582039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29582040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29582041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29582042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29582043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29582044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29582045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29582046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29582048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29582049, 'pht': 3726}}"}, {'dashboat_entry_day': 2761642, 'dashboard_run_id': 2775293, 'mtr_portfolio_id': 29582620, 'dashboard_result_id': 18579241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582620_20-12-2025_01_06_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29582629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29582630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29582632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29582635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29582637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29582639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29582641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29582643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29582645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29582648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29582650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29582652, '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 = 29564719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4253488, 'mtr_portfolio_id': 29564719, 'created_at': datetime.datetime(2025, 12, 20, 5, 34, 34), 'result': '0.06009660642846486', 'result_long': None, 'result_double': None}] Qualite : 0.06009660642846486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29564719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29564719_20-12-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29564719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29564719_20-12-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29564721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29564722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29564723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29564724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29564725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29564726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29564727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29564728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29564729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29564730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29564731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29564732, 'pht': 3726}}" where mtr_portfolio_id = 29564719 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29564719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579207, 0.06009660642846486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29564719_20-12-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29564721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29564722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29564723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29564724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29564725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29564726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29564727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29564728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29564729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29564730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29564731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29564732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29565006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4253489, 'mtr_portfolio_id': 29565006, 'created_at': datetime.datetime(2025, 12, 20, 5, 34, 28), 'result': '0.05074089202816963', 'result_long': None, 'result_double': None}] Qualite : 0.05074089202816963 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29565006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565006_20-12-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29565006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565006_20-12-2025_05_34_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29565055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29565056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29565057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29565058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29565059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29565060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29565061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29565062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29565063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29565064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29565065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29565066, 'pht': 3726}}" where mtr_portfolio_id = 29565006 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29565006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579208, 0.05074089202816963, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565006_20-12-2025_05_34_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29565055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29565056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29565057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29565058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29565059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29565060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29565061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29565062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29565063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29565064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29565065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29565066, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29565580 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4253490, 'mtr_portfolio_id': 29565580, 'created_at': datetime.datetime(2025, 12, 20, 5, 34, 58), 'result': '0.08827084236664978', 'result_long': None, 'result_double': None}] Qualite : 0.08827084236664978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29565580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565580_20-12-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29565580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565580_20-12-2025_05_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29565582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29565583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29565584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29565585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29565586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29565587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29565588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29565589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29565590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29565591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29565592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29565593, 'pht': 3726}}" where mtr_portfolio_id = 29565580 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29565580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579209, 0.08827084236664978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29565580_20-12-2025_05_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29565582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29565583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29565584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29565585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29565586, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29565587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29565588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29565589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29565590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29565591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29565592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29565593, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29566373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4253491, 'mtr_portfolio_id': 29566373, 'created_at': datetime.datetime(2025, 12, 20, 5, 35, 32), 'result': '0.03879331657001179', 'result_long': None, 'result_double': None}] Qualite : 0.03879331657001179 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29566373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566373_20-12-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29566373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566373_20-12-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29566395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566402, 'pht': 3726}}" where mtr_portfolio_id = 29566373 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29566373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579210, 0.03879331657001179, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566373_20-12-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29566395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566402, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29566511 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4253492, 'mtr_portfolio_id': 29566511, 'created_at': datetime.datetime(2025, 12, 20, 5, 35, 30), 'result': '0.03225211747858353', 'result_long': None, 'result_double': None}] Qualite : 0.03225211747858353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29566511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566511_20-12-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29566511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566511_20-12-2025_05_35_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29566515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566526, 'pht': 3726}}" where mtr_portfolio_id = 29566511 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29566511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579211, 0.03225211747858353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566511_20-12-2025_05_35_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29566515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566526, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29566883 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250223, 'mtr_portfolio_id': 29566883, 'created_at': datetime.datetime(2025, 12, 19, 14, 33), 'result': '0.06617863041027004', 'result_long': None, 'result_double': None}] Qualite : 0.06617863041027004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29566883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566883_19-12-2025_14_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29566883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566883_19-12-2025_14_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29566896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566897, 'pht': 3726}}" where mtr_portfolio_id = 29566883 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29566883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579212, 0.06617863041027004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29566883_19-12-2025_14_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29566886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29566887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29566888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29566889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29566890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29566891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29566892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29566893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29566894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29566895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29566896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29566897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29567114 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250256, 'mtr_portfolio_id': 29567114, 'created_at': datetime.datetime(2025, 12, 19, 14, 46, 58), 'result': '0.04439790217047148', 'result_long': None, 'result_double': None}] Qualite : 0.04439790217047148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29567114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567114_19-12-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29567114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567114_19-12-2025_14_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29567117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29567118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29567119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29567120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29567121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29567122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29567123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29567124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29567125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29567126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29567127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29567128, 'pht': 3726}}" where mtr_portfolio_id = 29567114 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29567114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579213, 0.04439790217047148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567114_19-12-2025_14_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29567117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29567118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29567119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29567120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29567121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29567122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29567123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29567124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29567125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29567126, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29567127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29567128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29567531 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250299, 'mtr_portfolio_id': 29567531, 'created_at': datetime.datetime(2025, 12, 19, 15, 7, 28), 'result': '0.05742196965303342', 'result_long': None, 'result_double': None}] Qualite : 0.05742196965303342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29567531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567531_19-12-2025_15_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29567531 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567531_19-12-2025_15_07_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29567535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29567536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29567537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29567538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29567539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29567540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29567541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29567542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29567543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29567544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29567545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29567546, 'pht': 3726}}" where mtr_portfolio_id = 29567531 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29567531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579214, 0.05742196965303342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29567531_19-12-2025_15_07_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29567535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29567536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29567537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29567538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29567539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29567540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29567541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29567542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29567543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29567544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29567545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29567546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29568017 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250398, 'mtr_portfolio_id': 29568017, 'created_at': datetime.datetime(2025, 12, 19, 15, 16, 59), 'result': '0.039215349978794826', 'result_long': None, 'result_double': None}] Qualite : 0.039215349978794826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29568017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568017_19-12-2025_15_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29568017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568017_19-12-2025_15_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29568022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29568023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29568024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29568025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29568026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29568027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29568028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29568029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29568030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29568031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29568032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29568033, 'pht': 3726}}" where mtr_portfolio_id = 29568017 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29568017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579215, 0.039215349978794826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568017_19-12-2025_15_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29568022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29568023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29568024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29568025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29568026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29568027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29568028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29568029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29568030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29568031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29568032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29568033, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29568563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250431, 'mtr_portfolio_id': 29568563, 'created_at': datetime.datetime(2025, 12, 19, 18, 0), 'result': '0.04741017060875666', 'result_long': None, 'result_double': None}] Qualite : 0.04741017060875666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29568563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568563_19-12-2025_18_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29568563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568563_19-12-2025_18_00_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29568573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29568574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29568575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29568576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29568577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29568578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29568579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29568580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29568581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29568582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29568583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29568584, 'pht': 3726}}" where mtr_portfolio_id = 29568563 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29568563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579216, 0.04741017060875666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29568563_19-12-2025_18_00_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29568573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29568574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29568575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29568576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29568577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29568578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29568579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29568580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29568581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29568582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29568583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29568584, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29569699 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250713, 'mtr_portfolio_id': 29569699, 'created_at': datetime.datetime(2025, 12, 19, 17, 19, 30), 'result': '0.06554988990755059', 'result_long': None, 'result_double': None}] Qualite : 0.06554988990755059 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29569699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29569699_19-12-2025_17_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29569699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29569699_19-12-2025_17_19_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29569703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29569704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29569705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29569706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29569707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29569708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29569709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29569710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29569711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29569712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29569713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29569714, 'pht': 3726}}" where mtr_portfolio_id = 29569699 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29569699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579217, 0.06554988990755059, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29569699_19-12-2025_17_19_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29569703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29569704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29569705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29569706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29569707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29569708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29569709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29569710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29569711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29569712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29569713, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29569714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29570185 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250757, 'mtr_portfolio_id': 29570185, 'created_at': datetime.datetime(2025, 12, 19, 18, 4, 30), 'result': '0.05350439556757996', 'result_long': None, 'result_double': None}] Qualite : 0.05350439556757996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29570185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570185_19-12-2025_18_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29570185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570185_19-12-2025_18_04_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29570189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29570190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29570191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29570192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29570193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29570194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29570195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29570196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29570197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29570198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29570199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29570200, 'pht': 3726}}" where mtr_portfolio_id = 29570185 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29570185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579218, 0.05350439556757996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570185_19-12-2025_18_04_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29570189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29570190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29570191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29570192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29570193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29570194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29570195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29570196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29570197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29570198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29570199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29570200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29570915 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250894, 'mtr_portfolio_id': 29570915, 'created_at': datetime.datetime(2025, 12, 19, 18, 16, 58), 'result': '0.042094489677878946', 'result_long': None, 'result_double': None}] Qualite : 0.042094489677878946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29570915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570915_19-12-2025_18_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29570915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570915_19-12-2025_18_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29570918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29570919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29570921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29570922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29570923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29570924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29570925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29570926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29570927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29570928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29570929, 'pht': 3726}}" where mtr_portfolio_id = 29570915 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29570915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579219, 0.042094489677878946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29570915_19-12-2025_18_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29570918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29570919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29570921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29570922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29570923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29570924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29570925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29570926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29570927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29570928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29570929, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29571357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250920, 'mtr_portfolio_id': 29571357, 'created_at': datetime.datetime(2025, 12, 19, 18, 32, 59), 'result': '0.035466887502801615', 'result_long': None, 'result_double': None}] Qualite : 0.035466887502801615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29571357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571357_19-12-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29571357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571357_19-12-2025_18_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571372, 'pht': 3726}}" where mtr_portfolio_id = 29571357 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29571357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579220, 0.035466887502801615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571357_19-12-2025_18_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29571617 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4250958, 'mtr_portfolio_id': 29571617, 'created_at': datetime.datetime(2025, 12, 19, 18, 47), 'result': '0.04509067348043214', 'result_long': None, 'result_double': None}] Qualite : 0.04509067348043214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29571617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571617_19-12-2025_18_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29571617 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571617_19-12-2025_18_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571643, 'pht': 3726}}" where mtr_portfolio_id = 29571617 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29571617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579221, 0.04509067348043214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571617_19-12-2025_18_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29571950 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251001, 'mtr_portfolio_id': 29571950, 'created_at': datetime.datetime(2025, 12, 19, 19, 2, 59), 'result': '0.05273583029770781', 'result_long': None, 'result_double': None}] Qualite : 0.05273583029770781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29571950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571950_19-12-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29571950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571950_19-12-2025_19_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571968, 'pht': 3726}}" where mtr_portfolio_id = 29571950 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29571950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579222, 0.05273583029770781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29571950_19-12-2025_19_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29571957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29571958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29571959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29571960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29571961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29571962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29571963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29571964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29571965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29571966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29571967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29571968, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29572386 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251087, 'mtr_portfolio_id': 29572386, 'created_at': datetime.datetime(2025, 12, 19, 19, 16, 58), 'result': '0.04299652380822086', 'result_long': None, 'result_double': None}] Qualite : 0.04299652380822086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29572386 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572386_19-12-2025_19_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29572386 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572386_19-12-2025_19_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29572421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29572422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29572423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29572424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29572425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29572426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29572427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29572428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29572429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29572430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29572431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29572432, 'pht': 3726}}" where mtr_portfolio_id = 29572386 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29572386 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579223, 0.04299652380822086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572386_19-12-2025_19_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29572421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29572422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29572423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29572424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29572425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29572426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29572427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29572428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29572429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29572430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29572431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29572432, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29572936 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251140, 'mtr_portfolio_id': 29572936, 'created_at': datetime.datetime(2025, 12, 19, 19, 34, 57), 'result': '0.054163715686079736', 'result_long': None, 'result_double': None}] Qualite : 0.054163715686079736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29572936 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572936_19-12-2025_19_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29572936 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572936_19-12-2025_19_34_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29572944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29572945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29572946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29572948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29572949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29572950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29572951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29572952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29572953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29572954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29572955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29572956, 'pht': 3726}}" where mtr_portfolio_id = 29572936 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29572936 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579224, 0.054163715686079736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29572936_19-12-2025_19_34_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29572944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29572945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29572946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29572948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29572949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29572950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29572951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29572952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29572953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29572954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29572955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29572956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29573591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251232, 'mtr_portfolio_id': 29573591, 'created_at': datetime.datetime(2025, 12, 19, 19, 48, 58), 'result': '0.04207401571052123', 'result_long': None, 'result_double': None}] Qualite : 0.04207401571052123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29573591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29573591_19-12-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29573591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29573591_19-12-2025_19_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29573599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29573600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29573601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29573602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29573603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29573604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29573605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29573606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29573607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29573608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29573609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29573610, 'pht': 3726}}" where mtr_portfolio_id = 29573591 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29573591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579225, 0.04207401571052123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29573591_19-12-2025_19_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29573599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29573600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29573601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29573602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29573603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29573604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29573605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29573606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29573607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29573608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29573609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29573610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29574100 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251302, 'mtr_portfolio_id': 29574100, 'created_at': datetime.datetime(2025, 12, 19, 20, 4, 58), 'result': '0.05143949937766092', 'result_long': None, 'result_double': None}] Qualite : 0.05143949937766092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29574100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574100_19-12-2025_20_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29574100 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574100_19-12-2025_20_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29574139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29574140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29574141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29574142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29574143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29574144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29574145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29574146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29574147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29574148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29574149, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29574150, 'pht': 3726}}" where mtr_portfolio_id = 29574100 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29574100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579226, 0.05143949937766092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574100_19-12-2025_20_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29574139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29574140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29574141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29574142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29574143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29574144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29574145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29574146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29574147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29574148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29574149, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29574150, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29574500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251369, 'mtr_portfolio_id': 29574500, 'created_at': datetime.datetime(2025, 12, 19, 20, 17), 'result': '0.03864312599142095', 'result_long': None, 'result_double': None}] Qualite : 0.03864312599142095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29574500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574500_19-12-2025_20_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29574500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574500_19-12-2025_20_17_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29574529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29574530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29574531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29574532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29574533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29574534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29574535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29574536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29574537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29574538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29574539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29574540, 'pht': 3726}}" where mtr_portfolio_id = 29574500 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29574500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579227, 0.03864312599142095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29574500_19-12-2025_20_17_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29574529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29574530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29574531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29574532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29574533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29574534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29574535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29574536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29574537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29574538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29574539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29574540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29575111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251453, 'mtr_portfolio_id': 29575111, 'created_at': datetime.datetime(2025, 12, 19, 20, 34, 59), 'result': '0.0477986424052412', 'result_long': None, 'result_double': None}] Qualite : 0.0477986424052412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29575111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575111_19-12-2025_20_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29575111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575111_19-12-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29575119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29575120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29575121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29575122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29575123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29575125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29575126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29575127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29575128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29575129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29575130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29575131, 'pht': 3726}}" where mtr_portfolio_id = 29575111 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29575111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579228, 0.0477986424052412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575111_19-12-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29575119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29575120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29575121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29575122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29575123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29575125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29575126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29575127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29575128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29575129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29575130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29575131, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29575605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251517, 'mtr_portfolio_id': 29575605, 'created_at': datetime.datetime(2025, 12, 19, 21, 6, 58), 'result': '0.05033682728533754', 'result_long': None, 'result_double': None}] Qualite : 0.05033682728533754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29575605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575605_19-12-2025_21_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29575605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575605_19-12-2025_21_06_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29575638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29575639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29575640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29575641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29575642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29575643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29575644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29575645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29575646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29575647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29575648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29575649, 'pht': 3726}}" where mtr_portfolio_id = 29575605 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29575605 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579229, 0.05033682728533754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29575605_19-12-2025_21_06_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29575638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29575639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29575640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29575641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29575642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29575643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29575644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29575645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29575646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29575647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29575648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29575649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29576416 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251621, 'mtr_portfolio_id': 29576416, 'created_at': datetime.datetime(2025, 12, 19, 21, 17), 'result': '0.035434624696126904', 'result_long': None, 'result_double': None}] Qualite : 0.035434624696126904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29576416 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576416_19-12-2025_21_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29576416 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576416_19-12-2025_21_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29576437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29576438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29576439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29576440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29576441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29576442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29576443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29576444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29576445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29576446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29576447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29576448, 'pht': 3726}}" where mtr_portfolio_id = 29576416 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29576416 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579230, 0.035434624696126904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576416_19-12-2025_21_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29576437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29576438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29576439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29576440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29576441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29576442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29576443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29576444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29576445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29576446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29576447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29576448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29576640 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251644, 'mtr_portfolio_id': 29576640, 'created_at': datetime.datetime(2025, 12, 19, 21, 34, 29), 'result': '0.04790371097190508', 'result_long': None, 'result_double': None}] Qualite : 0.04790371097190508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29576640 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576640_19-12-2025_21_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29576640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576640_19-12-2025_21_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29576645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29576646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29576647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29576648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29576649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29576650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29576651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29576652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29576653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29576654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29576655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29576656, 'pht': 3726}}" where mtr_portfolio_id = 29576640 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29576640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579231, 0.04790371097190508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29576640_19-12-2025_21_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29576645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29576646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29576647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29576648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29576649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29576650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29576651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29576652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29576653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29576654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29576655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29576656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29577047 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251709, 'mtr_portfolio_id': 29577047, 'created_at': datetime.datetime(2025, 12, 19, 21, 46, 59), 'result': '0.0643704375928528', 'result_long': None, 'result_double': None}] Qualite : 0.0643704375928528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29577047 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577047_19-12-2025_21_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29577047 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577047_19-12-2025_21_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577086, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577088, 'pht': 3726}}" where mtr_portfolio_id = 29577047 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29577047 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579232, 0.0643704375928528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577047_19-12-2025_21_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577086, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577088, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29577467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251753, 'mtr_portfolio_id': 29577467, 'created_at': datetime.datetime(2025, 12, 19, 22, 4, 58), 'result': '0.06158096622473056', 'result_long': None, 'result_double': None}] Qualite : 0.06158096622473056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29577467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577467_19-12-2025_22_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29577467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577467_19-12-2025_22_04_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577484, 'pht': 3726}}" where mtr_portfolio_id = 29577467 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29577467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579233, 0.06158096622473056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577467_19-12-2025_22_04_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577484, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29577849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251869, 'mtr_portfolio_id': 29577849, 'created_at': datetime.datetime(2025, 12, 19, 22, 22, 1), 'result': '0.05691485564836732', 'result_long': None, 'result_double': None}] Qualite : 0.05691485564836732 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29577849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577849_19-12-2025_22_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29577849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577849_19-12-2025_22_22_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577874, 'pht': 3726}}" where mtr_portfolio_id = 29577849 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29577849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579234, 0.05691485564836732, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29577849_19-12-2025_22_22_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29577863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29577865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29577866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29577867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29577868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29577869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29577870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29577871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29577872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29577873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29577874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29578811 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251948, 'mtr_portfolio_id': 29578811, 'created_at': datetime.datetime(2025, 12, 19, 22, 34, 57), 'result': '0.04132107229208374', 'result_long': None, 'result_double': None}] Qualite : 0.04132107229208374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29578811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29578811_19-12-2025_22_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29578811 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29578811_19-12-2025_22_34_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29578830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29578831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29578832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29578833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29578834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29578835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29578836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29578837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29578838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29578839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29578840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29578841, 'pht': 3726}}" where mtr_portfolio_id = 29578811 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29578811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579235, 0.04132107229208374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29578811_19-12-2025_22_34_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29578830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29578831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29578832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29578833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29578834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29578835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29578836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29578837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29578838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29578839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29578840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29578841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29579231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4251973, 'mtr_portfolio_id': 29579231, 'created_at': datetime.datetime(2025, 12, 19, 22, 47), 'result': '0.05108064841469793', 'result_long': None, 'result_double': None}] Qualite : 0.05108064841469793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29579231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579231_19-12-2025_22_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29579231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579231_19-12-2025_22_47_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29579328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29579329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29579330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29579331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29579332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29579333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29579334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29579335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29579336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29579337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29579338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29579339, 'pht': 3726}}" where mtr_portfolio_id = 29579231 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29579231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579236, 0.05108064841469793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579231_19-12-2025_22_47_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29579328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29579329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29579330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29579331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29579332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29579333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29579334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29579335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29579336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29579337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29579338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29579339, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29579859 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4252034, 'mtr_portfolio_id': 29579859, 'created_at': datetime.datetime(2025, 12, 19, 23, 5), 'result': '0.05439227373751744', 'result_long': None, 'result_double': None}] Qualite : 0.05439227373751744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29579859 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579859_19-12-2025_23_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29579859 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579859_19-12-2025_23_05_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29579867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29579868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29579869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29579870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29579871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29579872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29579873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29579874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29579875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29579876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29579877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29579878, 'pht': 3726}}" where mtr_portfolio_id = 29579859 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29579859 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579237, 0.05439227373751744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29579859_19-12-2025_23_05_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29579867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29579868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29579869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29579870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29579871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29579872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29579873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29579874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29579875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29579876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29579877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29579878, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29580493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4252102, 'mtr_portfolio_id': 29580493, 'created_at': datetime.datetime(2025, 12, 20, 0, 30, 57), 'result': '0.05589620564676375', 'result_long': None, 'result_double': None}] Qualite : 0.05589620564676375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29580493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29580493_20-12-2025_00_30_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29580493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29580493_20-12-2025_00_30_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29580601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29580602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29580603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29580604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29580605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29580606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29580607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29580608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29580609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29580610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29580611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29580612, 'pht': 3726}}" where mtr_portfolio_id = 29580493 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29580493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579238, 0.05589620564676375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29580493_20-12-2025_00_30_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29580601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29580602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29580603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29580604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29580605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29580606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29580607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29580608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29580609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29580610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29580611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29580612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29581359 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4252191, 'mtr_portfolio_id': 29581359, 'created_at': datetime.datetime(2025, 12, 19, 23, 34, 59), 'result': '0.048629352656527236', 'result_long': None, 'result_double': None}] Qualite : 0.048629352656527236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29581359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29581359_19-12-2025_23_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29581359 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29581359_19-12-2025_23_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29581360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29581361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29581362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29581363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29581364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29581365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29581366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29581367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29581368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29581369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29581370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29581371, 'pht': 3726}}" where mtr_portfolio_id = 29581359 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29581359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579239, 0.048629352656527236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29581359_19-12-2025_23_34_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29581360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29581361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29581362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29581363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29581364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29581365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29581366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29581367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29581368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29581369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29581370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29581371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29582030 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4252235, 'mtr_portfolio_id': 29582030, 'created_at': datetime.datetime(2025, 12, 19, 23, 47, 1), 'result': '0.06264322101956861', 'result_long': None, 'result_double': None}] Qualite : 0.06264322101956861 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29582030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582030_19-12-2025_23_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29582030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582030_19-12-2025_23_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29582037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29582038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29582039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29582040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29582041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29582042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29582043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29582044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29582045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29582046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29582048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29582049, 'pht': 3726}}" where mtr_portfolio_id = 29582030 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29582030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579240, 0.06264322101956861, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582030_19-12-2025_23_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29582037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29582038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29582039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29582040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29582041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29582042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29582043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29582044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29582045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29582046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29582048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29582049, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29582620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4252287, 'mtr_portfolio_id': 29582620, 'created_at': datetime.datetime(2025, 12, 20, 1, 5, 59), 'result': '0.04000177893190917', 'result_long': None, 'result_double': None}] Qualite : 0.04000177893190917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29582620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582620_20-12-2025_01_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29582620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582620_20-12-2025_01_06_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29582629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29582630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29582632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29582635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29582637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29582639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29582641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29582643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29582645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29582648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29582650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29582652, 'pht': 3726}}" where mtr_portfolio_id = 29582620 and dashboard_run_id = 2775293 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29582620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18579241, 0.04000177893190917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29582620_20-12-2025_01_06_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29582629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29582630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29582632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29582635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29582637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29582639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29582641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29582643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29582645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29582648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29582650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29582652, '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 (29564719,29565006,29565580,29566373,29566511,29566883,29567114,29567531,29568017,29568563,29569699,29570185,29570915,29571357,29571617,29571950,29572386,29572936,29573591,29574100,29574500,29575111,29575605,29576416,29576640,29577047,29577467,29577849,29578811,29579231,29579859,29580493,29581359,29582030,29582620) result : ((1400135021,), (1400135026,), (1400135062,), (1400135065,), (1400135101,), (1400135103,), (1400135137,), (1400135148,), (1400135151,), (1400135193,), (1400135195,), (1400135215,), (1400135217,), (1400135219,), (1400135221,), (1400135223,), (1400135239,), (1400135251,), (1400135256,), (1400135258,), (1400135287,), (1400135290,), (1400135293,), (1400135295,), (1400135299,), (1400135696,), (1400135701,), (1400135705,), (1400135708,), (1400135711,), (1400135713,), (1400135987,), (1400136173,), (1400136250,), (1400136313,), (1400136361,), (1400136409,), (1400136456,), (1400136708,), (1400136723,), (1400136727,), (1400136729,), (1400135942,), (1400135944,), (1400135975,), (1400135982,), (1400135984,), (1400136576,), (1400136608,), (1400136644,), (1400136678,), (1400136735,), (1400136737,), (1400136739,), (1400136748,), (1400136790,), (1400136825,), (1400136995,), (1400137007,), (1400137037,), (1400137059,), (1400137062,), (1400137140,), (1400137175,), (1400137212,), (1400137249,), (1400137383,), (1400137386,), (1400137405,), (1400137410,), (1400137412,), (1400137433,), (1400137435,), (1400137437,), (1400137440,), (1400137443,), (1400137444,), (1400137455,), (1400137457,), (1400137475,), (1400137510,), (1400137548,), (1400137700,), (1400137734,), (1400137771,), (1400138024,), (1400138056,), (1400138091,), (1400138123,), (1400138159,), (1400138196,), (1400138308,), (1400138311,), (1400138334,), (1400138380,), (1400138414,), (1400138452,), (1400138597,), (1400138599,), (1400138614,), (1400138649,), (1400138681,), (1400138694,), (1400138716,), (1400138721,), (1400138722,), (1400138725,), (1400138726,), (1400138728,), (1400138770,), (1400138785,), (1400138788,), (1400138791,), (1400138793,), (1400138827,), (1400138869,), (1400138816,), (1400138818,), (1400138820,), (1400138822,), (1400138825,), (1400138835,), (1400138837,), (1400138848,), (1400138860,), (1400138866,), (1400139654,), (1400139700,), (1400139715,), (1400146205,), (1400145844,), (1400146245,), (1400146247,), (1400146249,), (1400146392,), (1400146394,), (1400146396,), (1400146414,), (1400146417,), (1400146420,), (1400146422,), (1400146425,), (1400146451,), (1400146454,), (1400146466,), (1400146571,), (1400146569,), (1400146740,), (1400146762,), (1400146779,), (1400146877,), (1400146879,), (1400146881,), (1400146883,), (1400146886,), (1400146889,), (1400146941,), (1400146943,), (1400146945,), (1400146947,), (1400146950,), (1400146953,), (1400146963,), (1400146966,), (1400146969,), (1400146985,), (1400146987,), (1400146989,), (1400146991,), (1400146994,), (1400146997,), (1400147060,), (1400148533,), (1400148531,), (1400148532,), (1400148545,), (1400148547,), (1400148549,), (1400148552,), (1400148556,), (1400148559,), (1400148574,), (1400148575,), (1400148576,), (1400148577,), (1400148615,), (1400148616,), (1400148617,), (1400148618,), (1400148620,), (1400148622,), (1400148636,), (1400148657,), (1400148659,), (1400148662,), (1400148665,), (1400148685,), (1400148686,), (1400148688,), (1400148691,), (1400148695,), (1400148698,), (1400148724,), (1400148726,), (1400148728,), (1400148729,), (1400148731,), (1400148739,), (1400148740,), (1400148741,), (1400148742,), (1400148839,), (1400148838,), (1400148864,), (1400148866,), (1400148868,), (1400148869,), (1400148873,), (1400148883,), (1400148884,), (1400148906,), (1400148937,), (1400148969,), (1400149000,), (1400149487,), (1400149488,), (1400149506,), (1400149541,), (1400149871,), (1400149928,), (1400149946,), (1400149947,), (1400149950,), (1400149953,), (1400149964,), (1400149965,), (1400149966,), (1400149967,), (1400149970,), (1400149973,), (1400150029,), (1400150032,), (1400150036,), (1400150051,), (1400150065,), (1400150070,), (1400150108,), (1400150109,), (1400150117,), (1400150120,), (1400150124,), (1400150128,), (1400150130,), (1400150132,), (1400150135,), (1400150143,), (1400150145,), (1400150146,), (1400150147,), (1400150180,), (1400150181,), (1400150182,), (1400150193,), (1400150204,), (1400150209,), (1400150215,), (1400150216,), (1400150217,), (1400150218,), (1400150220,), (1400150233,), (1400150234,), (1400150235,), (1400150236,), (1400150239,), (1400150263,), (1400150264,), (1400150265,), (1400150266,), (1400150268,), (1400150270,), (1400150297,), (1400150298,), (1400150299,), (1400150300,), (1400150314,), (1400150316,), (1400150317,), (1400150318,), (1400150321,), (1400150324,), (1400150388,), (1400150381,), (1400150383,), (1400150384,), (1400150385,), (1400150397,), (1400150398,), (1400150399,), (1400150400,), (1400150416,), (1400150417,), (1400150418,), (1400150419,), (1400150422,), (1400150425,), (1400150441,), (1400150442,), (1400150443,), (1400150477,), (1400150484,), (1400150485,), (1400150486,), (1400150489,), (1400150492,), (1400150501,), (1400150503,), (1400150505,), (1400150509,), (1400150512,), (1400150516,), (1400150532,), (1400150534,), (1400150541,), (1400150542,), (1400150543,), (1400150545,), (1400150547,), (1400150550,), (1400150553,), (1400150572,), (1400150573,), (1400150574,), (1400150575,), (1400150576,), (1400150577,), (1400150645,), (1400150646,), (1400150647,), (1400150648,), (1400150668,), (1400150669,), (1400150670,), (1400150671,), (1400150674,), (1400150676,), (1400150692,), (1400150693,), (1400150694,), (1400150695,), (1400150698,), (1400150700,), (1400150706,), (1400150707,), (1400150708,), (1400150709,), (1400150744,), (1400150745,), (1400150746,), (1400150747,), (1400150750,), (1400150753,), (1400150775,), (1400150776,), (1400150778,), (1400150781,), (1400151718,), (1400151501,), (1400151564,), (1400151625,), (1400151683,), (1400151863,), (1400151901,), (1400151906,), (1400151907,), (1400152297,), (1400152307,), (1400152308,), (1400152328,), (1400152347,), (1400152350,), (1400152723,), (1400152769,), (1400152800,), (1400152994,), (1400153028,), (1400153065,), (1400153071,), (1400153074,), (1400153241,), (1400153274,), (1400153312,), (1400153349,), (1400153602,), (1400153645,), (1400153667,), (1400153682,), (1400153686,), (1400153691,), (1400153733,), (1400153734,), (1400153735,), (1400153853,), (1400153874,), (1400153896,), (1400153953,), (1400153966,), (1400154056,), (1400154058,), (1400154132,), (1400154221,), (1400155044,), (1400155046,), (1400155048,), (1400155052,), (1400155069,), (1400155434,), (1400155455,), (1400155456,), (1400155491,), (1400155505,), (1400155507,), (1400155562,), (1400155570,), (1400155577,), (1400155582,), (1400155693,), (1400155758,), (1400155823,), (1400155889,), (1400155919,), (1400155921,), (1400156012,), (1400156034,), (1400156035,), (1400156473,), (1400156504,), (1400156536,), (1400156566,), (1400156597,), (1400156930,), (1400156927,), (1400156928,), (1400156929,), (1400157026,), (1400157147,), (1400157253,), (1400158138,), (1400158171,), (1400158196,), (1400158197,), (1400158245,), (1400158638,), (1400158639,), (1400158641,), (1400158643,), (1400158646,), (1400158649,), (1400158669,), (1400164074,), (1400164541,), (1400164578,), (1400165062,), (1400165097,), (1400165130,), (1400165166,), (1400165199,), (1400165774,), (1400165780,), (1400165782,), (1400165804,), (1400165823,), (1400166081,), (1400166116,), (1400166169,), (1400166256,), (1400167277,), (1400167343,), (1400167410,), (1400168146,), (1400168216,), (1400168281,), (1400168346,), (1400168414,), (1400168453,), (1400168588,), (1400168589,), (1400168590,), (1400168593,), (1400168611,), (1400168646,), (1400168771,), (1400168807,), (1400168841,), (1400168917,), (1400168918,), (1400168919,), (1400168930,), (1400168968,), (1400168998,), (1400169076,), (1400169078,), (1400169080,), (1400169082,), (1400169084,), (1400169085,), (1400169123,), (1400169129,), (1400169134,), (1400169152,), (1400169160,), (1400169172,), (1400169173,), (1400169174,), (1400169175,), (1400169208,), (1400169210,), (1400169212,), (1400169214,), (1400169247,), (1400169249,), (1400169251,), (1400169253,), (1400169256,), (1400169257,), (1400169287,), (1400169288,), (1400169304,), (1400169306,), (1400169309,), (1400169349,), (1400169339,), (1400169341,), (1400169342,), (1400169343,), (1400169346,), (1400169359,), (1400169361,), (1400169363,), (1400169367,), (1400169370,), (1400169385,), (1400169387,), (1400169388,), (1400169389,), (1400169402,), (1400169403,), (1400169404,), (1400169407,), (1400169410,), (1400169413,), (1400169433,), (1400169435,), (1400169437,), (1400169439,), (1400169441,), (1400169451,), (1400169453,), (1400169455,), (1400169457,), (1400169459,), (1400169480,), (1400169481,), (1400169482,), (1400169483,), (1400169486,), (1400169506,), (1400169507,), (1400169510,), (1400169513,), (1400169581,), (1400169584,), (1400169587,), (1400169588,), (1400169600,), (1400169601,), (1400169602,), (1400169603,), (1400169605,), (1400169634,), (1400169635,), (1400169636,), (1400169648,), (1400169649,), (1400169650,), (1400169652,), (1400169655,), (1400169658,), (1400169678,), (1400169680,), (1400169681,), (1400169682,), (1400169685,), (1400169688,), (1400169695,), (1400169696,), (1400169697,), (1400169698,), (1400169727,), (1400169730,), (1400169732,), (1400169733,), (1400169736,), (1400169737,), (1400173468,), (1400173979,), (1400173990,), (1400174009,), (1400174041,), (1400174076,), (1400174098,), (1400174356,), (1400174358,), (1400174360,), (1400174376,), (1400174378,), (1400174380,), (1400174382,), (1400174385,), (1400174387,), (1400174395,), (1400174397,), (1400174399,), (1400174401,), (1400174404,), (1400174407,), (1400174422,), (1400174428,), (1400174430,), (1400174432,), (1400174435,), (1400174456,), (1400174458,), (1400174460,), (1400174462,), (1400174464,), (1400174467,), (1400174515,), (1400174517,), (1400174519,), (1400174521,), (1400174524,), (1400174573,), (1400174576,), (1400174580,), (1400174583,), (1400174586,), (1400174592,), (1400174664,), (1400174665,), (1400174667,), (1400174669,), (1400174672,), (1400174833,), (1400174869,), (1400174892,), (1400174894,), (1400174897,), (1400174899,), (1400174942,), (1400174946,), (1400174955,), (1400174958,), (1400174961,), (1400175195,), (1400175197,), (1400175200,), (1400175334,), (1400175330,), (1400175332,), (1400175534,), (1400175536,), (1400175538,), (1400175540,), (1400175543,), (1400175553,), (1400175556,), (1400175558,), (1400175560,), (1400175571,), (1400175573,), (1400175575,), (1400175577,), (1400175580,), (1400175590,), (1400175591,), (1400175593,), (1400175595,), (1400175598,), (1400175601,), (1400175618,), (1400175620,), (1400175622,), (1400175624,), (1400175627,), (1400175636,), (1400175638,), (1400175640,), (1400175642,), (1400175645,), (1400175648,), (1400175678,), (1400175679,), (1400175681,), (1400175713,), (1400175697,), (1400175701,), (1400175703,), (1400175706,), (1400175710,), (1400175730,), (1400175732,), (1400175734,), (1400175736,), (1400175747,), (1400175749,), (1400175751,), (1400175753,), (1400175756,), (1400175759,), (1400175774,), (1400175776,), (1400175778,), (1400175780,), (1400175790,), (1400175792,), (1400175794,), (1400175796,), (1400175799,), (1400175802,), (1400175825,), (1400175826,), (1400175828,), (1400175830,), (1400175842,), (1400175844,), (1400175846,), (1400175849,), (1400175852,), (1400175855,), (1400175863,), (1400175866,), (1400175867,), (1400175868,), (1400175871,), (1400175873,), (1400175875,), (1400175878,), (1400175881,), (1400175889,), (1400175891,), (1400175893,), (1400175937,), (1400175941,), (1400175943,), (1400175945,), (1400175948,), (1400175973,), (1400175975,), (1400175977,), (1400175979,), (1400175982,), (1400175991,), (1400175993,), (1400175995,), (1400175997,), (1400176000,), (1400176001,), (1400176027,), (1400176029,), (1400176031,), (1400176033,), (1400176036,), (1400176046,), (1400176048,), (1400176051,), (1400176053,), (1400176056,), (1400176059,), (1400176085,), (1400176079,), (1400176081,), (1400176083,), (1400176095,), (1400176096,), (1400176098,), (1400176100,), (1400176103,), (1400176106,), (1400176126,), (1400176136,), (1400176138,), (1400176140,), (1400176153,), (1400176155,), (1400176156,), (1400176158,), (1400176160,), (1400176163,), (1400176186,), (1400176192,), (1400176194,), (1400176196,), (1400176199,), (1400176210,), (1400176212,), (1400176213,), (1400176215,), (1400176218,), (1400176219,), (1400176236,), (1400176240,), (1400176242,), (1400176244,), (1400176247,), (1400176255,), (1400176258,), (1400176259,), (1400176261,), (1400176297,), (1400176299,), (1400176301,), (1400176303,), (1400176306,), (1400176309,), (1400176318,), (1400176319,), (1400176321,), (1400176323,), (1400176343,), (1400176344,), (1400176346,), (1400176348,), (1400176351,), (1400176353,), (1400176365,), (1400176368,), (1400176371,), (1400176375,), (1400176379,), (1400176385,), (1400176389,), (1400176390,), (1400176391,), (1400176393,), (1400176397,), (1400176399,), (1400176402,), (1400176404,), (1400176406,), (1400176410,), (1400176899,), (1400176968,), (1400177046,), (1400177135,), (1400177784,), (1400177740,), (1400177751,), (1400178058,), (1400178090,), (1400178124,), (1400178158,), (1400178193,), (1400178227,), (1400178362,), (1400178382,), (1400178390,), (1400178401,), (1400178428,), (1400178430,), (1400178432,), (1400178434,), (1400178437,), (1400178440,), (1400178449,), (1400178452,), (1400178455,), (1400178459,), (1400178475,), (1400178478,), (1400178480,), (1400178494,), (1400178496,), (1400178498,), (1400178500,), (1400178503,), (1400178505,), (1400178518,), (1400178533,), (1400178536,), (1400178565,), (1400178569,), (1400178571,), (1400178601,), (1400178608,), (1400178619,), (1400178621,), (1400178624,), (1400178626,), (1400178665,), (1400178667,), (1400178670,), (1400178673,), (1400178697,), (1400178710,), (1400178712,), (1400178719,), (1400178724,), (1400179025,), (1400179027,), (1400179029,), (1400179031,), (1400179035,), (1400179038,), (1400179090,), (1400179092,), (1400179094,), (1400179096,), (1400179240,), (1400179243,), (1400179246,), (1400179249,), (1400179254,), (1400179258,), (1400179283,), (1400179277,), (1400179279,), (1400179281,), (1400179320,), (1400179322,), (1400179324,), (1400179326,), (1400179328,), (1400179331,), (1400179534,), (1400179536,), (1400179538,), (1400179540,), (1400179574,), (1400179685,), (1400179696,), (1400179698,), (1400179700,), (1400179703,), (1400179705,), (1400179787,), (1400179807,), (1400179809,), (1400179811,), (1400180096,), (1400180130,), (1400180158,), (1400180160,), (1400180163,), (1400180185,), (1400180186,), (1400180188,), (1400180191,), (1400180194,), (1400180196,), (1400180202,), (1400180203,), (1400180205,), (1400180207,), (1400180209,), (1400180211,), (1400180224,), (1400180233,), (1400180260,), (1400180265,), (1400180267,), (1400180269,), (1400180272,), (1400180300,), (1400180302,), (1400180304,), (1400180306,), (1400180310,), (1400180414,), (1400180416,), (1400180418,), (1400180420,), (1400180423,), (1400180426,), (1400180439,), (1400180449,), (1400180451,), (1400180454,), (1400180458,), (1400180463,), (1400180475,), (1400180484,), (1400180486,), (1400180496,), (1400180502,), (1400180505,), (1400180513,), (1400180515,), (1400180519,), (1400180522,), (1400180526,), (1400180716,), (1400180743,), (1400180745,), (1400180747,), (1400180862,), (1400180956,), (1400180850,), (1400180852,), (1400180854,), (1400180856,), (1400180859,), (1400180887,), (1400180889,), (1400180891,), (1400180893,), (1400180896,), (1400180945,), (1400180951,), (1400180952,), (1400180953,), (1400180954,), (1400180960,), (1400180961,), (1400180964,), (1400180967,), (1400180969,), (1400180981,), (1400180984,), (1400180985,), (1400180987,), (1400180990,), (1400180993,), (1400180999,), (1400181001,), (1400181003,), (1400181005,), (1400181019,), (1400181021,), (1400181023,), (1400181024,), (1400181026,), (1400181027,), (1400181036,), (1400181038,), (1400181040,), (1400181045,), (1400181063,), (1400181066,), (1400181068,), (1400181070,), (1400181072,), (1400181074,), (1400181094,), (1400181096,), (1400181099,), (1400181102,), (1400181117,), (1400181120,), (1400181127,), (1400181137,), (1400181141,), (1400181144,), (1400181189,), (1400181196,), (1400181198,), (1400181200,), (1400181255,), (1400181257,), (1400181259,), (1400181266,), (1400181284,), (1400181286,), (1400181318,), (1400181321,), (1400181333,), (1400181335,), (1400181339,), (1400181341,), (1400181344,), (1400181347,), (1400181515,), (1400181525,), (1400181559,), (1400181601,), (1400181672,), (1400181712,), (1400181787,), (1400181789,), (1400181791,), (1400181793,), (1400181833,), (1400181821,), (1400181823,), (1400181825,), (1400181827,), (1400181830,), (1400181845,), (1400181847,), (1400181849,), (1400181851,), (1400181854,), (1400181947,), (1400181982,), (1400182016,), (1400182050,), (1400182091,), (1400182125,), (1400182167,), (1400182169,), (1400182171,), (1400182173,), (1400182202,), (1400182204,), (1400182206,), (1400182208,), (1400182211,), (1400182214,), (1400182223,), (1400182225,), (1400182226,), (1400182228,), (1400182257,), (1400182259,), (1400182260,), (1400182263,), (1400182266,), (1400182268,), (1400182274,), (1400182275,), (1400182276,), (1400182277,), (1400182282,), (1400182283,), (1400182287,), (1400182290,), (1400182293,), (1400182417,), (1400182533,), (1400182570,), (1400182605,), (1400182640,), (1400182657,), (1400182681,), (1400182683,), (1400182685,), (1400182687,), (1400182709,), (1400182711,), (1400182713,), (1400182715,), (1400182718,), (1400182730,), (1400182733,), (1400182737,), (1400182741,), (1400182743,), (1400182995,), (1400182998,), (1400183000,), (1400183004,), (1400183030,), (1400183143,), (1400183146,), (1400183150,), (1400183153,), (1400183161,), (1400183162,), (1400183163,), (1400183164,), (1400183165,), (1400183166,), (1400183174,), (1400183175,), (1400183699,), (1400184703,), (1400183370,), (1400183439,), (1400183502,), (1400183565,), (1400183634,), (1400184495,), (1400184504,), (1400184505,), (1400184508,), (1400184511,), (1400184524,), (1400184637,), (1400184657,), (1400184662,), (1400184687,), (1400184833,), (1400184950,), (1400185049,), (1400185115,), (1400185179,), (1400185360,), (1400185363,), (1400185365,), (1400185367,), (1400185370,), (1400185388,), (1400185493,), (1400185495,), (1400185497,), (1400185499,), (1400185515,), (1400185517,), (1400185519,), (1400185521,), (1400185524,), (1400185526,), (1400185552,), (1400185560,), (1400185563,), (1400185567,), (1400185593,), (1400185595,), (1400185597,), (1400185599,), (1400185602,), (1400185605,), (1400185622,), (1400185623,), (1400185625,), (1400185628,), (1400185630,), (1400185648,), (1400185650,), (1400185652,), (1400185654,), (1400185658,), (1400185664,), (1400185692,), (1400185694,), (1400185696,), (1400185698,), (1400185701,), (1400185723,), (1400185724,), (1400185726,), (1400185729,), (1400185732,), (1400185734,), (1400185760,), (1400185766,), (1400185770,), (1400185773,), (1400185775,), (1400185777,), (1400185781,), (1400185785,), (1400185793,), (1400185799,), (1400185802,), (1400185804,), (1400185811,), (1400185812,), (1400185814,), (1400185815,), (1400185816,), (1400185818,), (1400185820,), (1400185821,), (1400185824,), (1400185825,), (1400185826,), (1400185827,), (1400185834,), (1400185836,), (1400185838,), (1400185843,), (1400185846,), (1400185849,), (1400185866,), (1400185884,), (1400185875,), (1400185877,), (1400185879,), (1400185881,), (1400185895,), (1400185897,), (1400185899,), (1400185901,), (1400185904,), (1400185925,), (1400185952,), (1400185984,), (1400186019,), (1400186051,), (1400186317,), (1400186319,), (1400186321,), (1400186533,), (1400186573,), (1400186605,), (1400186614,), (1400186635,), (1400186637,), (1400186639,), (1400186641,), (1400186645,), (1400186677,), (1400186678,), (1400186680,), (1400186682,), (1400186685,), (1400186703,), (1400186705,), (1400186707,), (1400186709,), (1400186712,), (1400186729,), (1400186732,), (1400186735,), (1400186739,), (1400186742,), (1400186759,), (1400186761,), (1400186763,), (1400186765,), (1400186767,), (1400186806,), (1400186811,), (1400186813,), (1400186815,), (1400186818,), (1400186821,), (1400186830,), (1400186831,), (1400186833,), (1400186835,), (1400186838,), (1400186852,), (1400186854,), (1400186857,), (1400186859,), (1400186862,), (1400186891,), (1400186946,), (1400186881,), (1400186883,), (1400186884,), (1400186886,), (1400186889,), (1400186917,), (1400186918,), (1400186920,), (1400186923,), (1400186925,), (1400186927,), (1400186933,), (1400186934,), (1400186939,), (1400186944,), (1400186951,), (1400186954,), (1400186956,), (1400186958,), (1400186960,), (1400186968,), (1400186976,), (1400186978,), (1400186980,), (1400186990,), (1400186992,), (1400186994,), (1400186996,), (1400186999,), (1400187002,), (1400187021,), (1400187023,), (1400187025,), (1400187027,), (1400187046,), (1400187047,), (1400187049,), (1400187051,), (1400187054,), (1400187057,), (1400187074,), (1400187075,), (1400187077,), (1400187079,), (1400187095,), (1400187097,), (1400187099,), (1400187101,), (1400187104,), (1400187140,), (1400187144,), (1400187146,), (1400187148,), (1400187195,), (1400187230,), (1400187251,), (1400187257,), (1400187261,), (1400187290,), (1400187394,), (1400187396,), (1400187398,), (1400187420,), (1400187432,), (1400187434,), (1400187466,), (1400187480,), (1400190358,), (1400190371,), (1400190374,), (1400190376,), (1400190389,), (1400190390,), (1400190392,), (1400190394,), (1400190411,), (1400190427,), (1400190429,), (1400190430,), (1400190461,), (1400190464,), (1400190466,), (1400190468,), (1400190471,), (1400190474,), (1400190673,), (1400190706,), (1400190740,), (1400190791,), (1400190793,), (1400190795,), (1400190818,), (1400190820,), (1400190823,), (1400190827,), (1400190831,), (1400190834,), (1400190847,), (1400190849,), (1400190851,), (1400190853,), (1400190856,), (1400190859,), (1400190867,), (1400190869,), (1400190913,), (1400190904,), (1400190906,), (1400190908,), (1400190910,), (1400190922,), (1400190924,), (1400190926,), (1400190928,), (1400190949,), (1400190951,), (1400190953,), (1400190955,), (1400190958,), (1400190974,), (1400190975,), (1400190977,), (1400190979,), (1400190983,), (1400190986,), (1400191006,), (1400191009,), (1400191011,), (1400191022,), (1400191024,), (1400191026,), (1400191028,), (1400191031,), (1400191034,), (1400191057,), (1400191059,), (1400191061,), (1400191064,), (1400191067,), (1400191069,), (1400191074,), (1400191075,), (1400191076,), (1400191077,), (1400191079,), (1400191084,), (1400191086,), (1400191105,), (1400191112,), (1400191114,), (1400191116,), (1400191119,), (1400191137,), (1400191139,), (1400191141,), (1400191143,), (1400191146,), (1400191166,), (1400191168,), (1400191171,), (1400191210,), (1400191212,), (1400191214,), (1400191216,), (1400191219,), (1400191221,), (1400191245,), (1400191247,), (1400191248,), (1400191250,), (1400191253,), (1400191261,), (1400191262,), (1400191264,), (1400191266,), (1400191269,), (1400191272,), (1400191285,), (1400191287,), (1400191290,), (1400191292,), (1400191318,), (1400191350,), (1400191312,), (1400191314,), (1400191316,), (1400191345,), (1400191346,), (1400191348,), (1400191441,), (1400191460,), (1400191490,), (1400191492,), (1400191494,), (1400191496,), (1400191499,), (1400191502,), (1400191510,), (1400191512,), (1400191514,), (1400191541,), (1400191543,), (1400191555,), (1400191556,), (1400191558,), (1400191560,), (1400191562,), (1400191590,), (1400191592,), (1400191594,), (1400191597,), (1400191599,), (1400191601,), (1400191613,), (1400191614,), (1400191615,), (1400191616,), (1400191618,), (1400191623,), (1400191624,), (1400191642,), (1400191644,), (1400191687,), (1400191688,), (1400191690,), (1400191692,), (1400191695,), (1400191698,), (1400191705,), (1400191708,), (1400191710,), (1400191712,), (1400191716,), (1400191717,), (1400191913,), (1400191814,), (1400191847,), (1400191880,), (1400191979,), (1400191982,), (1400191984,), (1400191988,), (1400192010,), (1400192012,), (1400192074,), (1400192088,), (1400192089,), (1400192090,), (1400192091,), (1400192131,), (1400192133,), (1400192135,), (1400192138,), (1400192140,), (1400192141,), (1400192148,), (1400192149,), (1400192150,), (1400192155,), (1400192158,), (1400192161,), (1400192167,), (1400192171,), (1400192173,), (1400192182,), (1400192184,), (1400192186,), (1400192187,), (1400192207,), (1400192210,), (1400192212,), (1400192214,), (1400192216,), (1400192217,), (1400192227,), (1400192229,), (1400192231,), (1400192233,), (1400192245,), (1400192247,), (1400192249,), (1400192251,), (1400192254,), (1400192257,), (1400192280,), (1400192282,), (1400192284,), (1400192286,), (1400192288,), (1400192290,), (1400192300,), (1400192303,), (1400192307,), (1400192310,), (1400192318,), (1400192319,), (1400192320,), (1400192326,), (1400192327,), (1400192337,), (1400192945,), (1400192330,), (1400192334,), (1400192547,), (1400192586,), (1400192618,), (1400192654,), (1400192693,), (1400192731,), (1400192876,), (1400193195,), (1400193257,), (1400193324,), (1400193385,), (1400194369,), (1400194473,), (1400194566,), (1400194680,), (1400194835,), (1400194976,), (1400195999,), (1400196072,), (1400196106,), (1400196189,), (1400196271,), (1400196418,), (1400197234,), (1400197278,), (1400197310,), (1400197343,), (1400198057,), (1400198098,), (1400198133,), (1400198166,), (1400198174,), (1400198175,), (1400198480,), (1400198546,), (1400198584,), (1400198616,), (1400198843,), (1400198874,), (1400198972,), (1400198974,), (1400198976,), (1400199019,), (1400199774,), (1400199776,), (1400199778,), (1400199780,), (1400199783,), (1400200001,), (1400200003,), (1400200005,), (1400200007,), (1400200010,), (1400200012,), (1400200036,), (1400200041,), (1400200042,), (1400200044,), (1400200046,), (1400200048,), (1400200052,), (1400200373,), (1400200407,), (1400200439,), (1400200474,), (1400200998,), (1400201048,), (1400201144,), (1400201181,), (1400201225,), (1400201258,), (1400201755,), (1400201559,), (1400201594,), (1400201626,), (1400201660,), (1400201696,), (1400203781,), (1400206851,), (1400206887,), (1400206924,), (1400206879,), (1400206880,), (1400206882,), (1400206884,), (1400206902,), (1400206904,), (1400206906,), (1400206908,), (1400206910,), (1400206912,), (1400206917,), (1400206918,), (1400206919,), (1400206929,), (1400206931,), (1400206933,), (1400206936,), (1400206958,), (1400206960,), (1400206962,), (1400206964,), (1400206966,), (1400206969,), (1400207454,), (1400207562,), (1400207677,), (1400207791,), (1400207901,), (1400208021,), (1400208389,), (1400208391,), (1400208393,), (1400208395,), (1400209049,), (1400209082,), (1400209162,), (1400209366,), (1400209370,), (1400209399,), (1400209401,), (1400209425,), (1400209430,), (1400209768,), (1400209852,), (1400209938,), (1400210701,), (1400210744,), (1400210796,), (1400210818,), (1400210976,), (1400210987,), (1400211010,), (1400211025,), (1400211031,), (1400211074,), (1400211109,), (1400211142,), (1400211177,), (1400211216,), (1400211248,), (1400211460,), (1400211478,), (1400211511,), (1400211544,), (1400211567,), (1400211577,), (1400211745,), (1400211830,), (1400211917,), (1400212009,), (1400212087,), (1400212175,), (1400212251,), (1400212253,), (1400212256,), (1400212292,), (1400212370,), (1400212527,), (1400212562,), (1400212597,), (1400212634,), (1400212920,), (1400212830,), (1400212865,), (1400212898,), (1400212975,), (1400212977,), (1400212979,), (1400212981,), (1400212984,), (1400213017,), (1400213053,), (1400213090,), (1400213125,), (1400213161,), (1400213204,), (1400213362,), (1400213371,), (1400213406,), (1400213437,), (1400213538,), (1400213540,), (1400213542,), (1400213547,), (1400213558,), (1400213579,), (1400213612,), (1400213647,), (1400213680,), (1400213711,), (1400213741,), (1400214050,), (1400214094,), (1400214157,), (1400214233,), (1400214300,), (1400214345,), (1400214782,), (1400214867,), (1400215205,), (1400215293,), (1400215382,), (1400215472,), (1400215565,), (1400216364,), (1400216399,), (1400216521,), (1400216661,), (1400216679,), (1400216972,), (1400216978,), (1400217203,), (1400217238,), (1400217270,), (1400217566,), (1400217567,), (1400217568,), (1400217569,), (1400217572,), (1400217575,), (1400217640,), (1400217681,), (1400217718,), (1400219069,), (1400219073,), (1400219095,), (1400219149,), (1400219187,), (1400219268,), (1400219300,), (1400220072,), (1400222023,), (1400219693,), (1400219759,), (1400219842,), (1400219939,), (1400220008,), (1400221061,), (1400221267,), (1400221385,), (1400221550,), (1400221666,), (1400221769,), (1400221984,), (1400221985,), (1400221986,), (1400221988,), (1400222285,), (1400222361,), (1400222426,), (1400222868,), (1400222919,), (1400222948,), (1400223115,), (1400223117,), (1400223119,), (1400223121,), (1400223124,), (1400223126,), (1400223132,), (1400223136,), (1400223138,), (1400223140,), (1400223142,), (1400223205,), (1400223927,), (1400223984,), (1400223986,), (1400223987,), (1400224199,), (1400224201,), (1400224214,), (1400224278,), (1400224281,), (1400224300,), (1400224878,), (1400224879,), (1400224881,), (1400225112,), (1400225114,), (1400225116,), (1400225118,), (1400225162,), (1400225196,), (1400225460,), (1400225494,), (1400225528,), (1400225563,), (1400225674,), (1400225720,), (1400225761,), (1400225797,), (1400225829,), (1400225862,), (1400225921,), (1400225922,), (1400225987,), (1400226006,), (1400226031,), (1400226033,), (1400226034,), (1400226053,), (1400226059,), (1400226069,), (1400226104,), (1400226428,), (1400226546,), (1400226583,), (1400226807,), (1400226795,), (1400226797,), (1400226799,), (1400226801,), (1400226804,), (1400226923,), (1400226989,), (1400227055,), (1400227123,), (1400227185,), (1400228356,), (1400228558,), (1400229867,), (1400231572,), (1400232672,), (1400232676,), (1400232697,), (1400232699,), (1400232702,), (1400233348,), (1400233412,), (1400233470,), (1400233536,), (1400233576,), (1400233610,), (1400233724,), (1400233727,), (1400233971,), (1400233973,), (1400234006,), (1400234102,), (1400234136,), (1400234169,), (1400234202,), (1400234233,), (1400234236,), (1400234284,), (1400234285,), (1400234288,), (1400234290,), (1400234293,), (1400234318,), (1400234353,), (1400234314,), (1400234316,), (1400234334,), (1400234336,), (1400234338,), (1400234341,), (1400234344,), (1400234346,), (1400234351,), (1400234352,), (1400234357,), (1400234358,), (1400234360,), (1400234363,), (1400234366,), (1400234368,), (1400234394,), (1400234396,), (1400234398,), (1400234399,), (1400234484,), (1400234516,), (1400234551,), (1400234584,), (1400234617,), (1400234977,), (1400235012,), (1400235071,), (1400235187,), (1400236205,), (1400236294,), (1400236411,), (1400238740,), (1400238743,), (1400238745,), (1400238749,), (1400238752,), (1400239044,), (1400239169,), (1400239283,), (1400239341,), (1400239373,), (1400239443,), (1400239610,), (1400239643,), (1400239677,), (1400239814,), (1400239845,), (1400239878,), (1400240185,), (1400240187,), (1400240189,), (1400240191,), (1400240194,), (1400240412,), (1400240444,), (1400240486,), (1400240539,), (1400240853,), (1400240800,), (1400240802,), (1400240821,), (1400241173,), (1400241206,), (1400241243,), (1400241277,), (1400241311,), (1400241349,), (1400241510,), (1400241512,), (1400241513,), (1400241515,), (1400241518,), (1400242102,), (1400242233,), (1400242350,), (1400242703,), (1400242734,), (1400242736,), (1400242778,), (1400243108,), (1400243150,), (1400243185,), (1400243220,), (1400243257,), (1400243291,), (1400243603,), (1400243604,), (1400243607,), (1400243610,), (1400243612,), (1400243614,), (1400243619,), (1400243622,), (1400243627,), (1400243630,), (1400243693,), (1400243731,), (1400243774,), (1400243809,), (1400243843,), (1400243878,), (1400244001,), (1400244078,), (1400244184,), (1400244269,), (1400244331,), (1400244399,), (1400244851,), (1400244853,), (1400244855,), (1400245117,), (1400245118,), (1400245120,), (1400245122,), (1400245145,), (1400245180,), (1400245490,), (1400245523,), (1400245557,), (1400245592,), (1400245914,), (1400245916,), (1400245918,), (1400245920,), (1400245923,), (1400245926,), (1400246846,), (1400246965,), (1400247089,), (1400247197,), (1400247721,), (1400247814,), (1400247887,), (1400247993,), (1400248086,), (1400249913,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19122025': {'nb_upload': 27, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29566511]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] map_info['map_portfolio_photo'] : {29566511: [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569]} final : True mtd_id 4302 list_pids : [1400148533, 1400147060, 1400146997, 1400146994, 1400146991, 1400146989, 1400146987, 1400146985, 1400146969, 1400146966, 1400146963, 1400146953, 1400146950, 1400146947, 1400146945, 1400146943, 1400146941, 1400146889, 1400146886, 1400146883, 1400146881, 1400146879, 1400146877, 1400146779, 1400146762, 1400146740, 1400146569] Looping around the photos to save general results len do output : 1 /29566511Didn'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, '4253492') ('4302', '29566511', '1400148533', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492') ('4302', None, None, None, None, None, None, None, '4253492') ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29566511', 'None', None, None, None, None, '4253492'), ('4302', '29566511', '1400148533', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400147060', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146997', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146994', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146991', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146989', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146987', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146985', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146969', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146966', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146963', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146953', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146950', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146947', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146945', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146943', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146941', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146889', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146886', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146883', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146881', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146879', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146877', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146779', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146762', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146740', None, None, None, None, None, '4253492'), ('4302', '29566511', '1400146569', None, None, None, None, None, '4253492')] time used for this insertion : 0.021840810775756836 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.361187696456909 time spend to save output : 0.022244930267333984 total time spend for step 5 : 4.383432626724243 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 (4253492) 2.98user 2.46system 0:16.37elapsed 33%CPU (0avgtext+0avgdata 170056maxresident)k 472inputs+18552outputs (0major+82767minor)pagefaults 0swaps