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 : 2335964 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 (4044541) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4044541) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481026 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4044541'] with mtr_portfolio_ids : ['28481026'] and first list_photo_ids : [] new path : /proc/2335964/ Name: python3 Umask: 0002 State: R (running) Tgid: 2335964 Ngid: 0 Pid: 2335964 PPid: 2335963 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2335964 NSpid: 2335964 NSpgid: 2335297 NSsid: 2335297 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99396 kB VmRSS: 99396 kB RssAnon: 59904 kB RssFile: 39492 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 540 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: 38 nonvoluntary_ctxt_switches: 132 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2335964', 'Ngid': '0', 'Pid': '2335964', 'PPid': '2335963', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2335964', 'NSpid': '2335964', 'NSpgid': '2335297', 'NSsid': '2335297', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99396 kB', 'VmRSS': '99396 kB', 'RssAnon': '59904 kB', 'RssFile': '39492 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '540 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': '38', 'nonvoluntary_ctxt_switches': '132'} ('datou_batch_current', '2335964', '1106908', '0', '1106884', '865636', '99396', b'', 'marlene', '4044541') 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 (28481026) 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 (4044541 ) ) 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 (28481026) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1394171273, 'portfolio_id': 28481026}, {'photo_id': 1394170424, 'portfolio_id': 28481026}, {'photo_id': 1394170422, 'portfolio_id': 28481026}, {'photo_id': 1394170219, 'portfolio_id': 28481026}, {'photo_id': 1394170135, 'portfolio_id': 28481026}, {'photo_id': 1394170087, 'portfolio_id': 28481026}, {'photo_id': 1394170085, 'portfolio_id': 28481026}, {'photo_id': 1394170051, 'portfolio_id': 28481026}, {'photo_id': 1394170049, 'portfolio_id': 28481026}, {'photo_id': 1394169877, 'portfolio_id': 28481026}, {'photo_id': 1394169780, 'portfolio_id': 28481026}, {'photo_id': 1394169777, 'portfolio_id': 28481026}, {'photo_id': 1394169776, 'portfolio_id': 28481026}, {'photo_id': 1394169773, 'portfolio_id': 28481026}, {'photo_id': 1394169705, 'portfolio_id': 28481026}, {'photo_id': 1394169685, 'portfolio_id': 28481026}, {'photo_id': 1394169683, 'portfolio_id': 28481026}, {'photo_id': 1394169639, 'portfolio_id': 28481026}, {'photo_id': 1394169633, 'portfolio_id': 28481026}, {'photo_id': 1394169632, 'portfolio_id': 28481026}, {'photo_id': 1394169631, 'portfolio_id': 28481026}, {'photo_id': 1394169531, 'portfolio_id': 28481026}, {'photo_id': 1394169477, 'portfolio_id': 28481026}, {'photo_id': 1394169442, 'portfolio_id': 28481026}, {'photo_id': 1394169411, 'portfolio_id': 28481026}, {'photo_id': 1394169370, 'portfolio_id': 28481026}, {'photo_id': 1394169168, 'portfolio_id': 28481026}, {'photo_id': 1394169165, 'portfolio_id': 28481026}, {'photo_id': 1394169109, 'portfolio_id': 28481026}, {'photo_id': 1394169085, 'portfolio_id': 28481026}, {'photo_id': 1394169075, 'portfolio_id': 28481026}] map_portfolio_id_photo_id: {28481026: [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075]} ##### 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.01608133316040039 #### 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 Fri Nov 14 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28481026) 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 : 28481026 get user id for portfolio 28481026 get sub ptf for main ptf 28481026, type 3726 and hashtags ['metal', 'kraft', 'mal_croppe', 'plastique', 'Carton_gris', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'autre_refus', 'papier', 'cartonnette', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28481026 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','kraft','mal_croppe','plastique','Carton_gris','Carton_brun','environnement','Teint_Dans_La_Masse','autre_refus','papier','cartonnette','flou')) 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`=28481026 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','kraft','mal_croppe','plastique','Carton_gris','Carton_brun','environnement','Teint_Dans_La_Masse','autre_refus','papier','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 28481026, 'sub_port_id': 28481031, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296135, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'papier': {'main_port_id': 28481026, 'sub_port_id': 28481032, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296136, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'plastique': {'main_port_id': 28481026, 'sub_port_id': 28481033, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296137, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'flou': {'main_port_id': 28481026, 'sub_port_id': 28481034, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296138, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'environnement': {'main_port_id': 28481026, 'sub_port_id': 28481035, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296139, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'mal_croppe': {'main_port_id': 28481026, 'sub_port_id': 28481036, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296140, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 28481026, 'sub_port_id': 28481037, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296141, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'cartonnette': {'main_port_id': 28481026, 'sub_port_id': 28481038, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296142, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'kraft': {'main_port_id': 28481026, 'sub_port_id': 28481039, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296143, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'autre_refus': {'main_port_id': 28481026, 'sub_port_id': 28481040, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296144, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'metal': {'main_port_id': 28481026, 'sub_port_id': 28481041, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296145, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}, 'Carton_gris': {'main_port_id': 28481026, 'sub_port_id': 28481042, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296146, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28481031 , 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=28481026 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 (28481031) result : ((1394170186,), (1394170187,), (1394170213,), (1394170514,), (1394170517,), (1394171048,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481032 , 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=28481026 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 (28481032) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481033 , 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=28481026 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 (28481033) result : ((1394169179,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481034 , 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=28481026 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 (28481034) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481035 , 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=28481026 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 (28481035) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481036 , 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=28481026 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 (28481036) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481037 , 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=28481026 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 (28481037) result : ((1394169865,), (1394170066,), (1394170208,), (1394170209,), (1394170210,), (1394170617,), (1394170619,), (1394170621,), (1394171035,), (1394171037,), (1394171038,), (1394171167,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481038 , 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=28481026 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 (28481038) result : ((1394170071,), (1394170072,), (1394170183,), (1394170184,), (1394170212,), (1394170494,), (1394170497,), (1394171043,), (1394171044,), (1394171045,), (1394171046,), (1394171047,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481039 , 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=28481026 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 (28481039) result : ((1394170215,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481040 , 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=28481026 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 (28481040) result : ((1394169866,), (1394170180,), (1394170481,), (1394171039,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481041 , 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=28481026 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 (28481041) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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 28481042 , 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=28481026 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 (28481042) result : ((1394170067,), (1394170068,), (1394170069,), (1394170070,), (1394170211,), (1394171041,), (1394171168,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28481026) result : ((1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,)) 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`=28481026 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','kraft','mal_croppe','plastique','Carton_gris','Carton_brun','environnement','Teint_Dans_La_Masse','autre_refus','papier','cartonnette','flou')) 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`=28481026 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','kraft','mal_croppe','plastique','Carton_gris','Carton_brun','environnement','Teint_Dans_La_Masse','autre_refus','papier','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 28481026, 'sub_port_id': 28481043, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296147, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'papier': {'main_port_id': 28481026, 'sub_port_id': 28481044, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296148, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'plastique': {'main_port_id': 28481026, 'sub_port_id': 28481045, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296149, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'flou': {'main_port_id': 28481026, 'sub_port_id': 28481046, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296150, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'environnement': {'main_port_id': 28481026, 'sub_port_id': 28481047, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296151, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'mal_croppe': {'main_port_id': 28481026, 'sub_port_id': 28481048, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296152, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 28481026, 'sub_port_id': 28481049, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296153, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'cartonnette': {'main_port_id': 28481026, 'sub_port_id': 28481050, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296154, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'kraft': {'main_port_id': 28481026, 'sub_port_id': 28481051, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296155, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'autre_refus': {'main_port_id': 28481026, 'sub_port_id': 28481052, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296156, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'metal': {'main_port_id': 28481026, 'sub_port_id': 28481053, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296157, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}, 'Carton_gris': {'main_port_id': 28481026, 'sub_port_id': 28481054, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19296158, 'last_updated_at': datetime.datetime(2025, 11, 13, 8, 53), 'last_updated_at_desc': datetime.datetime(2025, 11, 13, 8, 53), 'last_updated_at_asc': datetime.datetime(2025, 11, 13, 8, 33, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481043,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481031 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481044,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481032 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481045,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481033 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481046,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481034 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481047,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481035 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481048,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481036 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481049,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481037 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481050,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481038 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481051,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481039 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481052,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481040 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481053,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481041 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28481054,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28481042 lien utilise dans velours : https://marlene.fotonower.com/velours/28481043,28481044,28481045,28481046,28481047,28481048,28481049,28481050,28481051,28481052,28481053,28481054?tags=Carton_brun,papier,plastique,flou,environnement,mal_croppe,Teint_Dans_La_Masse,cartonnette,kraft,autre_refus,metal,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28481026]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] map_info['map_portfolio_photo'] : {28481026: [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075]} final : False mtd_id 4302 list_pids : [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] Looping around the photos to save general results len do output : 1 /28481026. 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, '4044541') ('4302', '28481026', '1394171273', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28481026', "{'Carton_brun': 28481031, 'papier': 28481032, 'plastique': 28481033, 'flou': 28481034, 'environnement': 28481035, 'mal_croppe': 28481036, 'Teint_Dans_La_Masse': 28481037, 'cartonnette': 28481038, 'kraft': 28481039, 'autre_refus': 28481040, 'metal': 28481041, 'Carton_gris': 28481042}", None, None, None, None, '4044541'), ('4302', '28481026', '1394171273', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541')] time used for this insertion : 0.018271923065185547 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.539566993713379 time spend to save output : 0.018745899200439453 total time spend for step 1 : 1.5583128929138184 step2:final Fri Nov 14 05:48: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 ! 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 (28481026) 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 28481026 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1394169085,1394169075,1394169109,1394169168,1394169165,1394169531,1394169477,1394169442,1394169411,1394169370,1394169639,1394169633,1394169632,1394169631,1394169705,1394169685,1394169683,1394169780,1394169777,1394169776,1394169773,1394169877,1394170051,1394170049,1394170087,1394170085,1394170135,1394170219,1394170424,1394170422,1394171273); 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([28481026]) Inside saveOutput : final : False verbose : True original output for save of step final : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} new output for save of step final : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] map_info['map_portfolio_photo'] : {28481026: [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075]} final : False mtd_id 4302 list_pids : [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] Looping around the photos to save general results len do output : 31 /1394171273.Didn't retrieve data . /1394170424.Didn't retrieve data . /1394170422.Didn't retrieve data . /1394170219.Didn't retrieve data . /1394170135.Didn't retrieve data . /1394170087.Didn't retrieve data . /1394170085.Didn't retrieve data . /1394170051.Didn't retrieve data . /1394170049.Didn't retrieve data . /1394169877.Didn't retrieve data . /1394169780.Didn't retrieve data . /1394169777.Didn't retrieve data . /1394169776.Didn't retrieve data . /1394169773.Didn't retrieve data . /1394169705.Didn't retrieve data . /1394169685.Didn't retrieve data . /1394169683.Didn't retrieve data . /1394169639.Didn't retrieve data . /1394169633.Didn't retrieve data . /1394169632.Didn't retrieve data . /1394169631.Didn't retrieve data . /1394169531.Didn't retrieve data . /1394169477.Didn't retrieve data . /1394169442.Didn't retrieve data . /1394169411.Didn't retrieve data . /1394169370.Didn't retrieve data . /1394169168.Didn't retrieve data . /1394169165.Didn't retrieve data . /1394169109.Didn't retrieve data . /1394169085.Didn't retrieve data . /1394169075.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, '4044541') ('4302', '28481026', '1394171273', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '28481026', '1394171273', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170424', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170422', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170219', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170135', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170087', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170085', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170051', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394170049', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169877', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169780', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169777', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169776', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169773', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169705', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169685', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169683', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169639', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169633', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169632', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169631', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169531', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169477', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169442', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169411', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169370', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169168', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169165', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169109', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169085', '0.07013858077307186', None, None, None, None, '4044541'), ('4302', '28481026', '1394169075', '0.07013858077307186', None, None, None, None, '4044541')] time used for this insertion : 0.022301435470581055 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06550407409667969 time spend to save output : 0.023281574249267578 total time spend for step 2 : 0.08878564834594727 step3:velours_tree Fri Nov 14 05:48:32 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 : {28481026: [{'Carton_brun': 28481031, 'papier': 28481032, 'plastique': 28481033, 'flou': 28481034, 'environnement': 28481035, 'mal_croppe': 28481036, 'Teint_Dans_La_Masse': 28481037, 'cartonnette': 28481038, 'kraft': 28481039, 'autre_refus': 28481040, 'metal': 28481041, 'Carton_gris': 28481042}]} input_args_next_step : {28481026: ()} output_args : {28481026: [{'Carton_brun': 28481031, 'papier': 28481032, 'plastique': 28481033, 'flou': 28481034, 'environnement': 28481035, 'mal_croppe': 28481036, 'Teint_Dans_La_Masse': 28481037, 'cartonnette': 28481038, 'kraft': 28481039, 'autre_refus': 28481040, 'metal': 28481041, 'Carton_gris': 28481042}]} args : 28481026 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 28481031, 'papier': 28481032, 'plastique': 28481033, 'flou': 28481034, 'environnement': 28481035, 'mal_croppe': 28481036, 'Teint_Dans_La_Masse': 28481037, 'cartonnette': 28481038, 'kraft': 28481039, 'autre_refus': 28481040, 'metal': 28481041, 'Carton_gris': 28481042},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28481026) 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([28481026]) 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.3289961814880371 time spend to save output : 5.2928924560546875e-05 total time spend for step 3 : 0.32904911041259766 step4:send_mail_cod Fri Nov 14 05:48:32 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 : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} input_args_next_step : {1394171273: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394171273 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170424 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170422 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170219 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170135 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170087 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170085 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170051 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394170049 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169877 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169780 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169777 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169776 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169773 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169705 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169685 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169683 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169639 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169633 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169632 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169631 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169531 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169477 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169442 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169411 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169370 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169168 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169165 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169109 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169085 depend.output_id : 0 input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ()} output_args : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',)} args : 1394169075 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 : {28481026: [{'Carton_brun': 28481031, 'papier': 28481032, 'plastique': 28481033, 'flou': 28481034, 'environnement': 28481035, 'mal_croppe': 28481036, 'Teint_Dans_La_Masse': 28481037, 'cartonnette': 28481038, 'kraft': 28481039, 'autre_refus': 28481040, 'metal': 28481041, 'Carton_gris': 28481042}]} input_args_next_step : {1394171273: ('0.07013858077307186',), 1394170424: ('0.07013858077307186',), 1394170422: ('0.07013858077307186',), 1394170219: ('0.07013858077307186',), 1394170135: ('0.07013858077307186',), 1394170087: ('0.07013858077307186',), 1394170085: ('0.07013858077307186',), 1394170051: ('0.07013858077307186',), 1394170049: ('0.07013858077307186',), 1394169877: ('0.07013858077307186',), 1394169780: ('0.07013858077307186',), 1394169777: ('0.07013858077307186',), 1394169776: ('0.07013858077307186',), 1394169773: ('0.07013858077307186',), 1394169705: ('0.07013858077307186',), 1394169685: ('0.07013858077307186',), 1394169683: ('0.07013858077307186',), 1394169639: ('0.07013858077307186',), 1394169633: ('0.07013858077307186',), 1394169632: ('0.07013858077307186',), 1394169631: ('0.07013858077307186',), 1394169531: ('0.07013858077307186',), 1394169477: ('0.07013858077307186',), 1394169442: ('0.07013858077307186',), 1394169411: ('0.07013858077307186',), 1394169370: ('0.07013858077307186',), 1394169168: ('0.07013858077307186',), 1394169165: ('0.07013858077307186',), 1394169109: ('0.07013858077307186',), 1394169085: ('0.07013858077307186',), 1394169075: ('0.07013858077307186',), 28481026: ()} output_args : {28481026: [{'Carton_brun': 28481031, 'papier': 28481032, 'plastique': 28481033, 'flou': 28481034, 'environnement': 28481035, 'mal_croppe': 28481036, 'Teint_Dans_La_Masse': 28481037, 'cartonnette': 28481038, 'kraft': 28481039, 'autre_refus': 28481040, 'metal': 28481041, 'Carton_gris': 28481042}]} args : 28481026 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 :32, first value : ('0.07013858077307186',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28481026) 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 (1394171273,1394170424,1394170422,1394170219,1394170135,1394170087,1394170085,1394170051,1394170049,1394169877,1394169780,1394169777,1394169776,1394169773,1394169705,1394169685,1394169683,1394169639,1394169633,1394169632,1394169631,1394169531,1394169477,1394169442,1394169411,1394169370,1394169168,1394169165,1394169109,1394169085,1394169075) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1394169075 begin to download photo : 1394169442 begin to download photo : 1394169683 begin to download photo : 1394169877 begin to download photo : 1394170422 download finish for photo 1394169683 begin to download photo : 1394169685 download finish for photo 1394169442 begin to download photo : 1394169477 download finish for photo 1394170422 begin to download photo : 1394170424 download finish for photo 1394169877 begin to download photo : 1394170049 download finish for photo 1394169075 begin to download photo : 1394169085 download finish for photo 1394170424 begin to download photo : 1394171273 download finish for photo 1394169477 begin to download photo : 1394169531 download finish for photo 1394170049 begin to download photo : 1394170051 download finish for photo 1394169085 begin to download photo : 1394169109 download finish for photo 1394169685 begin to download photo : 1394169705 download finish for photo 1394169109 begin to download photo : 1394169165 download finish for photo 1394169531 begin to download photo : 1394169631 download finish for photo 1394171273 download finish for photo 1394169705 begin to download photo : 1394169773 download finish for photo 1394170051 begin to download photo : 1394170085 download finish for photo 1394169165 begin to download photo : 1394169168 download finish for photo 1394169773 begin to download photo : 1394169776 download finish for photo 1394169631 begin to download photo : 1394169632 download finish for photo 1394170085 begin to download photo : 1394170087 download finish for photo 1394169168 begin to download photo : 1394169370 download finish for photo 1394169776 begin to download photo : 1394169777 download finish for photo 1394169632 begin to download photo : 1394169633 download finish for photo 1394170087 begin to download photo : 1394170135 download finish for photo 1394169370 begin to download photo : 1394169411 download finish for photo 1394169777 begin to download photo : 1394169780 download finish for photo 1394169633 begin to download photo : 1394169639 download finish for photo 1394169780 download finish for photo 1394169411 download finish for photo 1394170135 begin to download photo : 1394170219 download finish for photo 1394169639 download finish for photo 1394170219 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P28481026_14-11-2025_05_48_33.pdf 28481033 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=28481033 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394169179: '1763019305_2578575_1394169075_86c42de0f087691e34b26a32b0c8b246_rle_crop_4032091638_0.png'} change filename to text .imagette284810331763095713/ imagette284810331763095713/1763019305_2578575_1394169075_86c42de0f087691e34b26a32b0c8b246_rle_crop_4032091638_0.png.png imagette284810341763095713/ imagette284810361763095713/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/aaf0c03e8a4b69026fe79e16fe6f97c3_69826228.png imagette284810331763095713 28481034 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=28481034 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284810341763095713 28481036 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=28481036 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284810361763095713 28481038 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=28481038 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394170071: '1763019668_2593849_1394169633_b25cbfd1add409f269e3bca5f1670582_rle_crop_4032096974_0.png', 1394170072: '1763019668_2593849_1394169632_227688b3dcf0a87114f5f846b479df28_rle_crop_4032096981_0.png', 1394170183: '1763019785_2598057_1394169777_9131b31e33817a0245757726a6f6ca1e_rle_crop_4032098727_0.png', 1394170184: '1763019785_2598057_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098745_0.png', 1394170212: '1763019807_2598568_1394170049_6e40c61aa350edde3a2b387b0a2a983b_rle_crop_4032098886_0.png', 1394170494: '1763019906_2605144_1394169777_9131b31e33817a0245757726a6f6ca1e_rle_crop_4032098727_0.png', 1394170497: '1763019906_2605144_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098745_0.png', 1394171043: '1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099656_0.png', 1394171044: '1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099663_0.png', 1394171045: '1763020027_2611267_1394169442_2080c8334b3cf68f4007c1aa7d5e2c9a_rle_crop_4032099677_0.png', 1394171046: '1763020027_2611267_1394169411_eef4a4342b795150da4a5da8c68cd841_rle_crop_4032099687_0.png', 1394171047: '1763020027_2611267_1394169370_88fd92574558284d93d6da36a62e30c1_rle_crop_4032099696_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/f5bf79fc24315df1b276c5728db5394c_2294391.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/16b825304d445104e3ce117c9783d839_71689968.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/60d77f3b614cb9c966bd7191dff1196b_34295494.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/b66af8cf7c754505075f1f1660d1c0a5_45873931.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/a848a89d5c525af12824bae529470fac_83178655.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/60d77f3b614cb9c966bd7191dff1196b_83440526.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/b66af8cf7c754505075f1f1660d1c0a5_1784699.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/d0ca1c2bcec1f45cd6f3663ffcfacdd0_35777757.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/177ff947edd5ee07d8232c887d4a6b78_26563829.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/639feec0c44751c5c5a701238cd74ad5_54416360.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/77f3d3dc4e674364193f7ecaf6cd322c_77038409.png change filename to text .imagette284810381763095713/ imagette284810381763095713/1763019906_2605144_1394169777_9131b31e33817a0245757726a6f6ca1e_rle_crop_4032098727_0.png.png imagette284810381763095713/1763019785_2598057_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098745_0.png.png imagette284810381763095713/1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099656_0.png.png imagette284810381763095713/1763019668_2593849_1394169632_227688b3dcf0a87114f5f846b479df28_rle_crop_4032096981_0.png.png imagette284810381763095713/1763019785_2598057_1394169777_9131b31e33817a0245757726a6f6ca1e_rle_crop_4032098727_0.png.png imagette284810381763095713/1763019807_2598568_1394170049_6e40c61aa350edde3a2b387b0a2a983b_rle_crop_4032098886_0.png.png imagette284810381763095713/1763020027_2611267_1394169411_eef4a4342b795150da4a5da8c68cd841_rle_crop_4032099687_0.png.png imagette284810381763095713/1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099663_0.png.png imagette284810381763095713/1763019668_2593849_1394169633_b25cbfd1add409f269e3bca5f1670582_rle_crop_4032096974_0.png.png imagette284810381763095713/1763019906_2605144_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098745_0.png.png imagette284810381763095713/1763020027_2611267_1394169370_88fd92574558284d93d6da36a62e30c1_rle_crop_4032099696_0.png.png imagette284810381763095713/1763020027_2611267_1394169442_2080c8334b3cf68f4007c1aa7d5e2c9a_rle_crop_4032099677_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/0735d85556a61ba173c26c0205494fc8_8178593.png imagette284810381763095713 28481039 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=28481039 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394170215: '1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098870_0.png'} change filename to text .imagette284810391763095715/ imagette284810391763095715/1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098870_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/cc3ee2816960dda24e16d654842445fc_55702881.png imagette284810391763095715 28481040 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=28481040 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394169866: '1763019566_2588331_1394169685_fcfd369b7558ab1a2b27ee22ba2ee2f5_rle_crop_4032096244_0.png', 1394170180: '1763019785_2598057_1394169776_5bd04d864bde9a4b6c2110d5bc439fd4_rle_crop_4032098734_0.png', 1394170481: '1763019906_2605144_1394169776_5bd04d864bde9a4b6c2110d5bc439fd4_rle_crop_4032098734_0.png', 1394171039: '1763020027_2611267_1394169411_eef4a4342b795150da4a5da8c68cd841_rle_crop_4032099684_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/6e22b880bf5385bf1484c8e2087afd44_68975583.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/1fe8f003724902c4c9c428e87c61ee3f_96516336.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/1fe8f003724902c4c9c428e87c61ee3f_26696891.png change filename to text .imagette284810401763095715/ imagette284810401763095715/1763020027_2611267_1394169411_eef4a4342b795150da4a5da8c68cd841_rle_crop_4032099684_0.png.png imagette284810401763095715/1763019785_2598057_1394169776_5bd04d864bde9a4b6c2110d5bc439fd4_rle_crop_4032098734_0.png.png imagette284810401763095715/1763019566_2588331_1394169685_fcfd369b7558ab1a2b27ee22ba2ee2f5_rle_crop_4032096244_0.png.png imagette284810401763095715/1763019906_2605144_1394169776_5bd04d864bde9a4b6c2110d5bc439fd4_rle_crop_4032098734_0.png.png imagette284810411763095715/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/dda6c7d8c07ff5fffbcf15be0bf065a0_96104379.png imagette284810401763095715 28481041 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=28481041 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284810411763095715 28481031 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=28481031 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394170186: '1763019785_2598057_1394169877_6a7a80f6232fc88fa3a1bacf7216ce75_rle_crop_4032098671_0.png', 1394170187: '1763019785_2598057_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098743_0.png', 1394170213: '1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098875_0.png', 1394170514: '1763019906_2605144_1394169877_6a7a80f6232fc88fa3a1bacf7216ce75_rle_crop_4032098671_0.png', 1394170517: '1763019906_2605144_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098743_0.png', 1394171048: '1763020027_2611267_1394169639_baccf6bc6177863b5c60ce68e5b44105_rle_crop_4032099645_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/ad60beb1c450ef4bd6ed2d01b723ba46_5713760.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/3adab990ba994ed929c89e42ca63cafe_24847065.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/35bf1f7d644674421d1d023ca70d5159_89070522.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/ad60beb1c450ef4bd6ed2d01b723ba46_84202351.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/3adab990ba994ed929c89e42ca63cafe_96831692.png change filename to text .imagette284810311763095715/ imagette284810311763095715/1763020027_2611267_1394169639_baccf6bc6177863b5c60ce68e5b44105_rle_crop_4032099645_0.png.png imagette284810311763095715/1763019906_2605144_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098743_0.png.png imagette284810311763095715/1763019906_2605144_1394169877_6a7a80f6232fc88fa3a1bacf7216ce75_rle_crop_4032098671_0.png.png imagette284810311763095715/1763019785_2598057_1394169773_0b2393c2161edc2bf7daee441db50131_rle_crop_4032098743_0.png.png imagette284810311763095715/1763019785_2598057_1394169877_6a7a80f6232fc88fa3a1bacf7216ce75_rle_crop_4032098671_0.png.png imagette284810311763095715/1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098875_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/97300dc690a8f8221af8708332db4694_62965264.png imagette284810311763095715 28481037 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=28481037 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394169865: '1763019566_2588331_1394169683_591b15f95f8138d07a09f298c5e73f44_rle_crop_4032096257_0.png', 1394170066: '1763019668_2593849_1394169705_fd31c7e2e6eaed2cb59124c2902a7052_rle_crop_4032096964_0.png', 1394170208: '1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098880_0.png', 1394170209: '1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098874_0.png', 1394170210: '1763019807_2598568_1394170049_6e40c61aa350edde3a2b387b0a2a983b_rle_crop_4032098887_0.png', 1394170617: '1763019926_2605566_1394170135_625dc8849ab560a8abf8e7d87b4d2d69_rle_crop_4032099369_0.png', 1394170619: '1763019926_2605566_1394170085_e4bbfe0f4347f550bc005c4cf67545e6_rle_crop_4032099383_0.png', 1394170621: '1763019926_2605566_1394170085_e4bbfe0f4347f550bc005c4cf67545e6_rle_crop_4032099385_0.png', 1394171035: '1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099658_0.png', 1394171037: '1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099660_0.png', 1394171038: '1763020027_2611267_1394169442_2080c8334b3cf68f4007c1aa7d5e2c9a_rle_crop_4032099673_0.png', 1394171167: '1763020147_2617143_1394169531_3958316eae385283773f10a242bfb710_rle_crop_4032099997_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/1e76b8ab0206ea33b6b6c7b4dde8f945_90556452.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/b23539d62c8100ecda374a90bcd4e3ea_73458466.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/18b7e3b1d58879fb4dcdf1759b3e526f_73602294.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/92c19ac27e7add45bc29803c661f0e26_90717192.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/d9fc23159e52b0321d15f58107852101_84289051.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/9513da967fd6fc6e902f66df5fbfb24b_95871410.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/23a5a738e2a069c3918f2b0cdcc59bc4_97005332.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/33b140702442e4d87a5850f8fba2f7d1_89099714.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/16e48c9f263b751a9f989c4abc766ef6_15878387.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/bbfdbd09025cd6c207a4d8d3b334fdb0_27955581.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/04f86fbaa85d596f64e3ed969a820e1d_57303489.png change filename to text .imagette284810371763095716/ imagette284810371763095716/1763019807_2598568_1394170049_6e40c61aa350edde3a2b387b0a2a983b_rle_crop_4032098887_0.png.png imagette284810371763095716/1763019926_2605566_1394170085_e4bbfe0f4347f550bc005c4cf67545e6_rle_crop_4032099385_0.png.png imagette284810371763095716/1763019926_2605566_1394170135_625dc8849ab560a8abf8e7d87b4d2d69_rle_crop_4032099369_0.png.png imagette284810371763095716/1763019566_2588331_1394169683_591b15f95f8138d07a09f298c5e73f44_rle_crop_4032096257_0.png.png imagette284810371763095716/1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098880_0.png.png imagette284810371763095716/1763019668_2593849_1394169705_fd31c7e2e6eaed2cb59124c2902a7052_rle_crop_4032096964_0.png.png imagette284810371763095716/1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099658_0.png.png imagette284810371763095716/1763020027_2611267_1394169442_2080c8334b3cf68f4007c1aa7d5e2c9a_rle_crop_4032099673_0.png.png imagette284810371763095716/1763020027_2611267_1394169477_8dbf1ab79af6ca623e962ef584e10ba8_rle_crop_4032099660_0.png.png imagette284810371763095716/1763019807_2598568_1394170087_a2497599355faf046f3032dce5bd5523_rle_crop_4032098874_0.png.png imagette284810371763095716/1763019926_2605566_1394170085_e4bbfe0f4347f550bc005c4cf67545e6_rle_crop_4032099383_0.png.png imagette284810371763095716/1763020147_2617143_1394169531_3958316eae385283773f10a242bfb710_rle_crop_4032099997_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/69de6253c912babce94f9786c68929e1_47417670.png imagette284810371763095716 28481042 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=28481042 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394170067: '1763019668_2593849_1394169705_fd31c7e2e6eaed2cb59124c2902a7052_rle_crop_4032096960_0.png', 1394170068: '1763019668_2593849_1394169705_fd31c7e2e6eaed2cb59124c2902a7052_rle_crop_4032096958_0.png', 1394170069: '1763019668_2593849_1394169632_227688b3dcf0a87114f5f846b479df28_rle_crop_4032096980_0.png', 1394170070: '1763019668_2593849_1394169631_b3b917d99c0bfd98b7d13bec87596e9a_rle_crop_4032097020_0.png', 1394170211: '1763019807_2598568_1394170049_6e40c61aa350edde3a2b387b0a2a983b_rle_crop_4032098884_0.png', 1394171041: '1763020027_2611267_1394169639_baccf6bc6177863b5c60ce68e5b44105_rle_crop_4032099643_0.png', 1394171168: '1763020147_2617143_1394169531_3958316eae385283773f10a242bfb710_rle_crop_4032099987_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/c2ea2c814eede769046d0741c78f1be4_31439973.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/95581d6a1d8e00d1e1f0f4746cb19413_45636450.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/a97f2f966973d90bdb37139ed184f2ef_77248530.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/c701d34cf11aeb836c5cfac32558eb92_79736448.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/4b744021c4e48d7671e74fa7d74719b1_89574444.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/a33806d92aee1790df5f9fd8980da68b_20585652.png change filename to text .imagette284810421763095717/ imagette284810421763095717/1763019807_2598568_1394170049_6e40c61aa350edde3a2b387b0a2a983b_rle_crop_4032098884_0.png.png imagette284810421763095717/1763019668_2593849_1394169631_b3b917d99c0bfd98b7d13bec87596e9a_rle_crop_4032097020_0.png.png imagette284810421763095717/1763020147_2617143_1394169531_3958316eae385283773f10a242bfb710_rle_crop_4032099987_0.png.png imagette284810421763095717/1763019668_2593849_1394169705_fd31c7e2e6eaed2cb59124c2902a7052_rle_crop_4032096958_0.png.png imagette284810421763095717/1763019668_2593849_1394169632_227688b3dcf0a87114f5f846b479df28_rle_crop_4032096980_0.png.png imagette284810421763095717/1763019668_2593849_1394169705_fd31c7e2e6eaed2cb59124c2902a7052_rle_crop_4032096960_0.png.png imagette284810421763095717/1763020027_2611267_1394169639_baccf6bc6177863b5c60ce68e5b44105_rle_crop_4032099643_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/605674b1fe592f7d50bb7e9cfbd86278_17440467.png imagette284810421763095717 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28481026 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28481043,28481044,28481045,28481046,28481047,28481048,28481049,28481050,28481051,28481052,28481053,28481054?tags=Carton_brun,papier,plastique,flou,environnement,mal_croppe,Teint_Dans_La_Masse,cartonnette,kraft,autre_refus,metal,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1394171273] : ('0.07013858077307186',) no score found for photo 1394171273 We are sending mail with results at report@fotonower.com args[1394170424] : ('0.07013858077307186',) no score found for photo 1394170424 We are sending mail with results at report@fotonower.com args[1394170422] : ('0.07013858077307186',) no score found for photo 1394170422 We are sending mail with results at report@fotonower.com args[1394170219] : ('0.07013858077307186',) no score found for photo 1394170219 We are sending mail with results at report@fotonower.com args[1394170135] : ('0.07013858077307186',) no score found for photo 1394170135 We are sending mail with results at report@fotonower.com args[1394170087] : ('0.07013858077307186',) no score found for photo 1394170087 We are sending mail with results at report@fotonower.com args[1394170085] : ('0.07013858077307186',) no score found for photo 1394170085 We are sending mail with results at report@fotonower.com args[1394170051] : ('0.07013858077307186',) no score found for photo 1394170051 We are sending mail with results at report@fotonower.com args[1394170049] : ('0.07013858077307186',) no score found for photo 1394170049 We are sending mail with results at report@fotonower.com args[1394169877] : ('0.07013858077307186',) no score found for photo 1394169877 We are sending mail with results at report@fotonower.com args[1394169780] : ('0.07013858077307186',) no score found for photo 1394169780 We are sending mail with results at report@fotonower.com args[1394169777] : ('0.07013858077307186',) no score found for photo 1394169777 We are sending mail with results at report@fotonower.com args[1394169776] : ('0.07013858077307186',) no score found for photo 1394169776 We are sending mail with results at report@fotonower.com args[1394169773] : ('0.07013858077307186',) no score found for photo 1394169773 We are sending mail with results at report@fotonower.com args[1394169705] : ('0.07013858077307186',) no score found for photo 1394169705 We are sending mail with results at report@fotonower.com args[1394169685] : ('0.07013858077307186',) no score found for photo 1394169685 We are sending mail with results at report@fotonower.com args[1394169683] : ('0.07013858077307186',) no score found for photo 1394169683 We are sending mail with results at report@fotonower.com args[1394169639] : ('0.07013858077307186',) no score found for photo 1394169639 We are sending mail with results at report@fotonower.com args[1394169633] : ('0.07013858077307186',) no score found for photo 1394169633 We are sending mail with results at report@fotonower.com args[1394169632] : ('0.07013858077307186',) no score found for photo 1394169632 We are sending mail with results at report@fotonower.com args[1394169631] : ('0.07013858077307186',) no score found for photo 1394169631 We are sending mail with results at report@fotonower.com args[1394169531] : ('0.07013858077307186',) no score found for photo 1394169531 We are sending mail with results at report@fotonower.com args[1394169477] : ('0.07013858077307186',) no score found for photo 1394169477 We are sending mail with results at report@fotonower.com args[1394169442] : ('0.07013858077307186',) no score found for photo 1394169442 We are sending mail with results at report@fotonower.com args[1394169411] : ('0.07013858077307186',) no score found for photo 1394169411 We are sending mail with results at report@fotonower.com args[1394169370] : ('0.07013858077307186',) no score found for photo 1394169370 We are sending mail with results at report@fotonower.com args[1394169168] : ('0.07013858077307186',) no score found for photo 1394169168 We are sending mail with results at report@fotonower.com args[1394169165] : ('0.07013858077307186',) no score found for photo 1394169165 We are sending mail with results at report@fotonower.com args[1394169109] : ('0.07013858077307186',) no score found for photo 1394169109 We are sending mail with results at report@fotonower.com args[1394169085] : ('0.07013858077307186',) no score found for photo 1394169085 We are sending mail with results at report@fotonower.com args[1394169075] : ('0.07013858077307186',) no score found for photo 1394169075 We are sending mail with results at report@fotonower.com refus_total : 0.07013858077307186 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=28481026 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_P28481026_14-11-2025_05_48_33.pdf results_Auto_P28481026_14-11-2025_05_48_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481026_14-11-2025_05_48_33.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','28481026','results_Auto_P28481026_14-11-2025_05_48_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481026_14-11-2025_05_48_33.pdf','pdf','','0.35','0.07013858077307186') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28481026]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] map_info['map_portfolio_photo'] : {28481026: [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075]} final : False mtd_id 4302 list_pids : [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] 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, '4044541') ('4302', '28481026', '1394171273', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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', '28481026', '1394171273', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541')] time used for this insertion : 0.015613317489624023 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.101743936538696 time spend to save output : 0.015950441360473633 total time spend for step 4 : 8.11769437789917 step5:split_time_score Fri Nov 14 05:48:40 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 : ['28481026'] 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 : [('28481026',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28481026) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1394170422: {'path': 'temp/1763095712_2335964_1394170422_18777d8465c113e7a187da550e3d42be.jpg', 'extension': 'jpg'}, 1394170424: {'path': 'temp/1763095712_2335964_1394170424_35f8c7abe8b2579e02ed89ef1545d5d8.jpg', 'extension': 'jpg'}, 1394171273: {'path': 'temp/1763095712_2335964_1394171273_ea31b04d5aababc5e2805def7e69fca0.jpg', 'extension': 'jpg'}, 1394169683: {'path': 'temp/1763095712_2335964_1394169683_591b15f95f8138d07a09f298c5e73f44.jpg', 'extension': 'jpg'}, 1394169685: {'path': 'temp/1763095712_2335964_1394169685_fcfd369b7558ab1a2b27ee22ba2ee2f5.jpg', 'extension': 'jpg'}, 1394169705: {'path': 'temp/1763095712_2335964_1394169705_fd31c7e2e6eaed2cb59124c2902a7052.jpg', 'extension': 'jpg'}, 1394169773: {'path': 'temp/1763095712_2335964_1394169773_0b2393c2161edc2bf7daee441db50131.jpg', 'extension': 'jpg'}, 1394169776: {'path': 'temp/1763095712_2335964_1394169776_5bd04d864bde9a4b6c2110d5bc439fd4.jpg', 'extension': 'jpg'}, 1394169777: {'path': 'temp/1763095712_2335964_1394169777_9131b31e33817a0245757726a6f6ca1e.jpg', 'extension': 'jpg'}, 1394169780: {'path': 'temp/1763095712_2335964_1394169780_ec9b95b417d8b17a6eb9d9a825b69ee2.jpg', 'extension': 'jpg'}, 1394169075: {'path': 'temp/1763095712_2335964_1394169075_86c42de0f087691e34b26a32b0c8b246.jpg', 'extension': 'jpg'}, 1394169085: {'path': 'temp/1763095712_2335964_1394169085_f46d76534950af92a62d001673aeea1d.jpg', 'extension': 'jpg'}, 1394169109: {'path': 'temp/1763095712_2335964_1394169109_67189cc2ddeb044794edfd20e185cd92.jpg', 'extension': 'jpg'}, 1394169165: {'path': 'temp/1763095712_2335964_1394169165_690c4971568d01e34b2be920ee3623d2.jpg', 'extension': 'jpg'}, 1394169168: {'path': 'temp/1763095712_2335964_1394169168_527c69a6f25568ac20117d24fff30782.jpg', 'extension': 'jpg'}, 1394169370: {'path': 'temp/1763095712_2335964_1394169370_88fd92574558284d93d6da36a62e30c1.jpg', 'extension': 'jpg'}, 1394169411: {'path': 'temp/1763095712_2335964_1394169411_eef4a4342b795150da4a5da8c68cd841.jpg', 'extension': 'jpg'}, 1394169442: {'path': 'temp/1763095712_2335964_1394169442_2080c8334b3cf68f4007c1aa7d5e2c9a.jpg', 'extension': 'jpg'}, 1394169477: {'path': 'temp/1763095712_2335964_1394169477_8dbf1ab79af6ca623e962ef584e10ba8.jpg', 'extension': 'jpg'}, 1394169531: {'path': 'temp/1763095712_2335964_1394169531_3958316eae385283773f10a242bfb710.jpg', 'extension': 'jpg'}, 1394169631: {'path': 'temp/1763095712_2335964_1394169631_b3b917d99c0bfd98b7d13bec87596e9a.jpg', 'extension': 'jpg'}, 1394169632: {'path': 'temp/1763095712_2335964_1394169632_227688b3dcf0a87114f5f846b479df28.jpg', 'extension': 'jpg'}, 1394169633: {'path': 'temp/1763095712_2335964_1394169633_b25cbfd1add409f269e3bca5f1670582.jpg', 'extension': 'jpg'}, 1394169639: {'path': 'temp/1763095712_2335964_1394169639_baccf6bc6177863b5c60ce68e5b44105.jpg', 'extension': 'jpg'}, 1394169877: {'path': 'temp/1763095712_2335964_1394169877_6a7a80f6232fc88fa3a1bacf7216ce75.jpg', 'extension': 'jpg'}, 1394170049: {'path': 'temp/1763095712_2335964_1394170049_6e40c61aa350edde3a2b387b0a2a983b.jpg', 'extension': 'jpg'}, 1394170051: {'path': 'temp/1763095712_2335964_1394170051_de84504147ad44a82e4a111bdc83ea38.jpg', 'extension': 'jpg'}, 1394170085: {'path': 'temp/1763095712_2335964_1394170085_e4bbfe0f4347f550bc005c4cf67545e6.jpg', 'extension': 'jpg'}, 1394170087: {'path': 'temp/1763095712_2335964_1394170087_a2497599355faf046f3032dce5bd5523.jpg', 'extension': 'jpg'}, 1394170135: {'path': 'temp/1763095712_2335964_1394170135_625dc8849ab560a8abf8e7d87b4d2d69.jpg', 'extension': 'jpg'}, 1394170219: {'path': 'temp/1763095712_2335964_1394170219_a308b4e8462bac7a612eb37f0cb4001c.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 = 28481026; (('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 = 28481026 group by h (('08', 31),) 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=28481026 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 (28481026) 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 (28481026) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13112025 28481026 Nombre de photos uploadées : 31 / 23040 (0%) 13112025 28481026 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 13112025 28481026 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1394169085, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/f46d76534950af92a62d001673aeea1d.jpg', 'username': None, 'uploaded_at': 1763019127, 'text': 'image_13112025_08_30_34_10135.jpg'}, {'photo_id': 1394169075, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/86c42de0f087691e34b26a32b0c8b246.jpg', 'username': None, 'uploaded_at': 1763019127, 'text': 'image_13112025_08_31_04_010145m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1394169109, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/67189cc2ddeb044794edfd20e185cd92.jpg', 'username': None, 'uploaded_at': 1763019187, 'text': 'image_13112025_08_31_14_010134m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1394169168, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/13/527c69a6f25568ac20117d24fff30782.jpg', 'username': None, 'uploaded_at': 1763019307, 'text': 'image_13112025_08_32_54_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015094280242919922 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28481026, '2025-11-13' ) 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-11-13' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2571511,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23055601119995117 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= 2571511 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28472071, 'dashboard_result_id': 17228675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472071_14-11-2025_05_34_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28472072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472083, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28472625, 'dashboard_result_id': 17228676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472625_14-11-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28472627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472637, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28472733, 'dashboard_result_id': 17228677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472733_14-11-2025_05_36_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472741, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28472742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472745, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28472999, 'dashboard_result_id': 17228678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472999_14-11-2025_05_36_13.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473011, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28473209, 'dashboard_result_id': 17228679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473209_14-11-2025_05_36_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28473210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473215, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473221, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28473342, 'dashboard_result_id': 17228680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473342_14-11-2025_05_37_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28473343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473354, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28473449, 'dashboard_result_id': 17228681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473449_14-11-2025_05_38_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473461, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28473687, 'dashboard_result_id': 17228682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473687_14-11-2025_05_38_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28473690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473701, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28473852, 'dashboard_result_id': 17228683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473852_14-11-2025_05_39_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473865, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28473961, 'dashboard_result_id': 17228684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473961_14-11-2025_05_40_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473974, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28474121, 'dashboard_result_id': 17228685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474121_14-11-2025_05_40_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474133, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28474652, 'dashboard_result_id': 17228686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474652_14-11-2025_05_41_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474664, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28474833, 'dashboard_result_id': 17228687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474833_14-11-2025_05_41_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474858, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28475052, 'dashboard_result_id': 17228688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475052_14-11-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28475054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28475058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475064, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28475207, 'dashboard_result_id': 17228689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475207_14-11-2025_05_42_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28475267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28475274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475278, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28475735, 'dashboard_result_id': 17228690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475735_14-11-2025_05_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28475740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28475748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475751, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28476127, 'dashboard_result_id': 17228691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476127_14-11-2025_05_44_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476144, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28476594, 'dashboard_result_id': 17228692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476594_14-11-2025_05_45_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476610, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28476939, 'dashboard_result_id': 17228693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476939_14-11-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476976, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28477612, 'dashboard_result_id': 17228694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28477612_14-11-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28477642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28477643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28477644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28477645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28477646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28477647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28477648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28477649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28477650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28477651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28477652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28477653, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28478484, 'dashboard_result_id': 17228695, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28478484_14-11-2025_05_46_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28478518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28478519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28478520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28478521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28478522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28478523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28478524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28478525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28478526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28478527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28478528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28478529, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28479124, 'dashboard_result_id': 17228696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479124_14-11-2025_05_46_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28479174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28479176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28479177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28479178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28479179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28479180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28479181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28479182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28479183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28479184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28479185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28479186, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28479655, 'dashboard_result_id': 17228697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479655_14-11-2025_05_47_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28479690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28479691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28479693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28479694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28479695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28479697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28479698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28479699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28479701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28479702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28479703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28479705, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28480486, 'dashboard_result_id': 17228698, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28480486_14-11-2025_05_48_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28480495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28480496, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28480497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28480498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28480499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28480500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28480501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28480502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28480503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28480504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28480505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28480506, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28481026, 'dashboard_result_id': 17228699, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481026_13-11-2025_08_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28481031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28481032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28481033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28481034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28481035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28481036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28481037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28481038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28481039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28481040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28481041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28481042, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28481665, 'dashboard_result_id': 17228700, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481665_13-11-2025_20_01_14.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28481691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28481692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28481693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28481694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28481695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28481696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28481697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28481698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28481699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28481701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28481702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28481703, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28495096, 'dashboard_result_id': 17228701, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495096_13-11-2025_20_01_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495151, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28495103, 'dashboard_result_id': 17228702, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495103_13-11-2025_20_01_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495120, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28491918, 'dashboard_result_id': 17228703, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491918_13-11-2025_20_00_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28492155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28492165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492166, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28491933, 'dashboard_result_id': 17228704, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491933_13-11-2025_19_01_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28492084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492093, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28491947, 'dashboard_result_id': 17228705, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491947_13-11-2025_19_01_15.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28492006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492009, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28491964, 'dashboard_result_id': 17228706, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491964_13-11-2025_19_00_40.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28491968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28491969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28491970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28491971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28491973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28491974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28491975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28491976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28491977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28491978, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28488135, 'dashboard_result_id': 17228707, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488135_13-11-2025_19_01_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28488186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28488187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28488188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28488190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28488191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28488192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28488194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28488195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28488196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28488198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28488199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28488200, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28487370, 'dashboard_result_id': 17228708, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487370_13-11-2025_18_00_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28487418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487419, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28487015, 'dashboard_result_id': 17228709, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487015_13-11-2025_17_47_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28487020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487031, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28487016, 'dashboard_result_id': 17228710, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487016_13-11-2025_17_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28487056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487060, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28488683, 'dashboard_result_id': 17228711, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488683_13-11-2025_18_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28488759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28488760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28488761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28488762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28488763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28488764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28488765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28488766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28488767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28488768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28488769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28488770, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28489451, 'dashboard_result_id': 17228712, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28489451_13-11-2025_18_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28489467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28489468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28489469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28489470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28489471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28489472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28489473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28489474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28489475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28489476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28489477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28489478, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28490335, 'dashboard_result_id': 17228713, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28490335_13-11-2025_18_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28490360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28490361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28490362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28490363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28490364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28490365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28490366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28490367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28490368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28490369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28490370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28490371, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28491255, 'dashboard_result_id': 17228714, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491255_13-11-2025_19_05_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28491309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28491311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28491312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28491313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28491314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28491315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28491316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28491317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28491318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28491320, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28492278, 'dashboard_result_id': 17228715, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28492278_13-11-2025_19_19_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28492324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492335, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28493130, 'dashboard_result_id': 17228716, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493130_13-11-2025_19_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28493161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28493162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28493163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28493165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28493166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28493167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28493168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28493169, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28493170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28493171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28493172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28493173, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28493879, 'dashboard_result_id': 17228717, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493879_13-11-2025_19_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28493931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28493933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28493935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28493936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28493938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28493940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28493941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28493943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28493946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28493948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28493950, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28494689, 'dashboard_result_id': 17228718, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28494689_13-11-2025_21_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28494690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28494691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28494692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28494693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28494694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28494695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28494696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28494697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28494698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28494699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28494700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28494701, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28495220, 'dashboard_result_id': 17228719, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495220_13-11-2025_20_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495256, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28496058, 'dashboard_result_id': 17228720, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496058_13-11-2025_20_33_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28496059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28496060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28496061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28496062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28496063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28496064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28496065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28496066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28496067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28496068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28496069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28496070, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28496616, 'dashboard_result_id': 17228721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496616_13-11-2025_21_13_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28496641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28496642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28496643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28496644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28496645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28496646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28496647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28496648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28496649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28496650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28496651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28496652, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28497901, 'dashboard_result_id': 17228722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28497901_13-11-2025_21_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28497905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28497906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28497907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28497908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28497909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28497910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28497911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28497912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28497913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28497914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28497915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28497916, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28498383, 'dashboard_result_id': 17228723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498383_13-11-2025_21_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28498391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28498393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28498394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28498395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28498396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28498397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28498398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28498399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28498400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28498401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28498402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28498403, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28498900, 'dashboard_result_id': 17228724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498900_13-11-2025_22_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28498907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28498908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28498909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28498910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28498911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28498912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28498913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28498914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28498915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28498916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28498917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28498918, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28499336, 'dashboard_result_id': 17228725, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499336_13-11-2025_22_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28499342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28499343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28499344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28499345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28499346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28499347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28499348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28499349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28499350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28499351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28499352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28499353, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28499823, 'dashboard_result_id': 17228726, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499823_13-11-2025_22_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28499849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28499850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28499851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28499852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28499853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28499854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28499855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28499856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28499857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28499858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28499859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28499860, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28500318, 'dashboard_result_id': 17228727, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500318_13-11-2025_22_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28500330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28500331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28500332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28500333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28500334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28500335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28500336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28500337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28500338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28500339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28500340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28500341, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28500878, 'dashboard_result_id': 17228728, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500878_14-11-2025_00_31_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28500880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28500881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28500882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28500883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28500884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28500885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28500886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28500887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28500888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28500889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28500890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28500891, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28501357, 'dashboard_result_id': 17228729, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28501357_13-11-2025_23_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28501372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28501373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28501374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28501375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28501376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28501378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28501379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28501380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28501381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28501382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28501383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28501384, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28502025, 'dashboard_result_id': 17228730, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502025_13-11-2025_23_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28502050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28502051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28502052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28502053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28502054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28502055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28502056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28502057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28502058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28502059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28502060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28502061, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28502668, 'dashboard_result_id': 17228731, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502668_13-11-2025_23_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28502699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28502700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28502701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28502702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28502703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28502704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28502705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28502706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28502707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28502708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28502709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28502710, 'pht': 3726}}"}, {'dashboat_entry_day': 2571511, 'dashboard_run_id': 2586209, 'mtr_portfolio_id': 28503283, 'dashboard_result_id': 17228732, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28503283_14-11-2025_01_31_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28503354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28503357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28503359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28503361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28503363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28503366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28503367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28503368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28503369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28503370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28503371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28503372, '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 = 28472071 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044517, 'mtr_portfolio_id': 28472071, 'created_at': datetime.datetime(2025, 11, 14, 5, 34, 32), 'result': '0.07328867128515715', 'result_long': None, 'result_double': None}] Qualite : 0.07328867128515715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28472071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472071_14-11-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28472071 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472071_14-11-2025_05_34_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28472072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472083, 'pht': 3726}}" where mtr_portfolio_id = 28472071 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28472071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228675, 0.07328867128515715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472071_14-11-2025_05_34_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28472072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472075, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472083, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28472625 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044518, 'mtr_portfolio_id': 28472625, 'created_at': datetime.datetime(2025, 11, 14, 5, 35, 30), 'result': '0.05459551597737143', 'result_long': None, 'result_double': None}] Qualite : 0.05459551597737143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28472625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472625_14-11-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28472625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472625_14-11-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28472627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472637, 'pht': 3726}}" where mtr_portfolio_id = 28472625 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28472625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228676, 0.05459551597737143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472625_14-11-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28472627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472637, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28472733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044519, 'mtr_portfolio_id': 28472733, 'created_at': datetime.datetime(2025, 11, 14, 5, 35, 59), 'result': '0.06486000606200416', 'result_long': None, 'result_double': None}] Qualite : 0.06486000606200416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28472733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472733_14-11-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28472733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472733_14-11-2025_05_36_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472741, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28472742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472745, 'pht': 3726}}" where mtr_portfolio_id = 28472733 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28472733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228677, 0.06486000606200416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472733_14-11-2025_05_36_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28472734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28472735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28472736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28472737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28472738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28472739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28472740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28472741, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28472742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28472743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28472744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28472745, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28472999 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28472999 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28472999 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28472999 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28472999 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044520, 'mtr_portfolio_id': 28472999, 'created_at': datetime.datetime(2025, 11, 14, 5, 36, 12), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28472999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472999_14-11-2025_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28472999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472999_14-11-2025_05_36_13.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473011, 'pht': 3726}}" where mtr_portfolio_id = 28472999 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28472999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228678, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28472999_14-11-2025_05_36_13.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28473209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044521, 'mtr_portfolio_id': 28473209, 'created_at': datetime.datetime(2025, 11, 14, 5, 36, 29), 'result': '0.10468934540547628', 'result_long': None, 'result_double': None}] Qualite : 0.10468934540547628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28473209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473209_14-11-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28473209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473209_14-11-2025_05_36_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28473210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473215, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473221, 'pht': 3726}}" where mtr_portfolio_id = 28473209 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28473209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228679, 0.10468934540547628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473209_14-11-2025_05_36_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28473210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473215, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28473342 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044522, 'mtr_portfolio_id': 28473342, 'created_at': datetime.datetime(2025, 11, 14, 5, 37, 27), 'result': '0.0243220349400973', 'result_long': None, 'result_double': None}] Qualite : 0.0243220349400973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28473342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473342_14-11-2025_05_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28473342 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473342_14-11-2025_05_37_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28473343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473354, 'pht': 3726}}" where mtr_portfolio_id = 28473342 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28473342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228680, 0.0243220349400973, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473342_14-11-2025_05_37_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28473343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473354, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28473449 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044523, 'mtr_portfolio_id': 28473449, 'created_at': datetime.datetime(2025, 11, 14, 5, 37, 59), 'result': '0.07468073642089822', 'result_long': None, 'result_double': None}] Qualite : 0.07468073642089822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28473449 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473449_14-11-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28473449 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473449_14-11-2025_05_38_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473461, 'pht': 3726}}" where mtr_portfolio_id = 28473449 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28473449 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228681, 0.07468073642089822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473449_14-11-2025_05_38_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473461, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28473687 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044524, 'mtr_portfolio_id': 28473687, 'created_at': datetime.datetime(2025, 11, 14, 5, 38, 28), 'result': '0.06107707693387454', 'result_long': None, 'result_double': None}] Qualite : 0.06107707693387454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28473687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473687_14-11-2025_05_38_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28473687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473687_14-11-2025_05_38_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28473690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473701, 'pht': 3726}}" where mtr_portfolio_id = 28473687 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28473687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228682, 0.06107707693387454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473687_14-11-2025_05_38_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28473690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473701, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28473852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044525, 'mtr_portfolio_id': 28473852, 'created_at': datetime.datetime(2025, 11, 14, 5, 39, 29), 'result': '0.0649765457543171', 'result_long': None, 'result_double': None}] Qualite : 0.0649765457543171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28473852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473852_14-11-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28473852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473852_14-11-2025_05_39_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473865, 'pht': 3726}}" where mtr_portfolio_id = 28473852 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28473852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228683, 0.0649765457543171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473852_14-11-2025_05_39_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473865, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28473961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044526, 'mtr_portfolio_id': 28473961, 'created_at': datetime.datetime(2025, 11, 14, 5, 40), 'result': '0.02444975978011983', 'result_long': None, 'result_double': None}] Qualite : 0.02444975978011983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28473961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473961_14-11-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28473961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473961_14-11-2025_05_40_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473974, 'pht': 3726}}" where mtr_portfolio_id = 28473961 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28473961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228684, 0.02444975978011983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28473961_14-11-2025_05_40_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28473963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28473964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28473965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28473966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28473967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28473968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28473969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28473970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28473971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28473972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28473973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28473974, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28474121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044527, 'mtr_portfolio_id': 28474121, 'created_at': datetime.datetime(2025, 11, 14, 5, 40, 58), 'result': '0.0528851463779323', 'result_long': None, 'result_double': None}] Qualite : 0.0528851463779323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28474121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474121_14-11-2025_05_40_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28474121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474121_14-11-2025_05_40_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474133, 'pht': 3726}}" where mtr_portfolio_id = 28474121 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28474121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228685, 0.0528851463779323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474121_14-11-2025_05_40_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474133, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28474652 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044528, 'mtr_portfolio_id': 28474652, 'created_at': datetime.datetime(2025, 11, 14, 5, 41, 13), 'result': '0.06999538444913557', 'result_long': None, 'result_double': None}] Qualite : 0.06999538444913557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28474652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474652_14-11-2025_05_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28474652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474652_14-11-2025_05_41_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474664, 'pht': 3726}}" where mtr_portfolio_id = 28474652 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28474652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228686, 0.06999538444913557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474652_14-11-2025_05_41_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28474833 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044529, 'mtr_portfolio_id': 28474833, 'created_at': datetime.datetime(2025, 11, 14, 5, 41, 29), 'result': '0.048134693199410335', 'result_long': None, 'result_double': None}] Qualite : 0.048134693199410335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28474833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474833_14-11-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28474833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474833_14-11-2025_05_41_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474858, 'pht': 3726}}" where mtr_portfolio_id = 28474833 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28474833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228687, 0.048134693199410335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28474833_14-11-2025_05_41_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28474844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28474845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28474846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28474847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28474849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28474850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28474851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28474853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28474854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28474855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28474857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28474858, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28475052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044530, 'mtr_portfolio_id': 28475052, 'created_at': datetime.datetime(2025, 11, 14, 5, 41, 59), 'result': '0.037169346935257495', 'result_long': None, 'result_double': None}] Qualite : 0.037169346935257495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28475052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475052_14-11-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28475052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475052_14-11-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28475054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28475058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475064, 'pht': 3726}}" where mtr_portfolio_id = 28475052 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28475052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228688, 0.037169346935257495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475052_14-11-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28475054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28475058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28475207 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044531, 'mtr_portfolio_id': 28475207, 'created_at': datetime.datetime(2025, 11, 14, 5, 42, 27), 'result': '0.03973303894814801', 'result_long': None, 'result_double': None}] Qualite : 0.03973303894814801 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28475207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475207_14-11-2025_05_42_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28475207 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475207_14-11-2025_05_42_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28475267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28475274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475278, 'pht': 3726}}" where mtr_portfolio_id = 28475207 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28475207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228689, 0.03973303894814801, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475207_14-11-2025_05_42_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28475267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28475274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475278, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28475735 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044532, 'mtr_portfolio_id': 28475735, 'created_at': datetime.datetime(2025, 11, 14, 5, 43, 29), 'result': '0.05149242921649692', 'result_long': None, 'result_double': None}] Qualite : 0.05149242921649692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28475735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475735_14-11-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28475735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475735_14-11-2025_05_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28475740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28475748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475751, 'pht': 3726}}" where mtr_portfolio_id = 28475735 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28475735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228690, 0.05149242921649692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28475735_14-11-2025_05_43_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28475740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28475741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28475742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28475743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28475744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28475745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28475746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28475747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28475748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28475749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28475750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28475751, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28476127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044533, 'mtr_portfolio_id': 28476127, 'created_at': datetime.datetime(2025, 11, 14, 5, 43, 58), 'result': '0.050524107177754386', 'result_long': None, 'result_double': None}] Qualite : 0.050524107177754386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28476127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476127_14-11-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28476127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476127_14-11-2025_05_44_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476144, 'pht': 3726}}" where mtr_portfolio_id = 28476127 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28476127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228691, 0.050524107177754386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476127_14-11-2025_05_44_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476144, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28476594 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044534, 'mtr_portfolio_id': 28476594, 'created_at': datetime.datetime(2025, 11, 14, 5, 45, 1), 'result': '0.035173642674121576', 'result_long': None, 'result_double': None}] Qualite : 0.035173642674121576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28476594 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476594_14-11-2025_05_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28476594 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476594_14-11-2025_05_45_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476610, 'pht': 3726}}" where mtr_portfolio_id = 28476594 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28476594 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228692, 0.035173642674121576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476594_14-11-2025_05_45_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28476939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044535, 'mtr_portfolio_id': 28476939, 'created_at': datetime.datetime(2025, 11, 14, 5, 45, 31), 'result': '0.04306035426042336', 'result_long': None, 'result_double': None}] Qualite : 0.04306035426042336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28476939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476939_14-11-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28476939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476939_14-11-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476976, 'pht': 3726}}" where mtr_portfolio_id = 28476939 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28476939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228693, 0.04306035426042336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28476939_14-11-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28476965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28476966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28476967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28476968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28476969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28476970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28476971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28476972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28476973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28476974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28476975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28476976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28477612 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044536, 'mtr_portfolio_id': 28477612, 'created_at': datetime.datetime(2025, 11, 14, 5, 46), 'result': '0.05318197060679609', 'result_long': None, 'result_double': None}] Qualite : 0.05318197060679609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28477612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28477612_14-11-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28477612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28477612_14-11-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28477642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28477643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28477644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28477645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28477646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28477647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28477648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28477649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28477650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28477651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28477652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28477653, 'pht': 3726}}" where mtr_portfolio_id = 28477612 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28477612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228694, 0.05318197060679609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28477612_14-11-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28477642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28477643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28477644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28477645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28477646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28477647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28477648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28477649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28477650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28477651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28477652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28477653, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28478484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044537, 'mtr_portfolio_id': 28478484, 'created_at': datetime.datetime(2025, 11, 14, 5, 46, 12), 'result': '0.06811495054908717', 'result_long': None, 'result_double': None}] Qualite : 0.06811495054908717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28478484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28478484_14-11-2025_05_46_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28478484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28478484_14-11-2025_05_46_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28478518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28478519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28478520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28478521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28478522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28478523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28478524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28478525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28478526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28478527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28478528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28478529, 'pht': 3726}}" where mtr_portfolio_id = 28478484 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28478484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228695, 0.06811495054908717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28478484_14-11-2025_05_46_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28478518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28478519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28478520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28478521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28478522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28478523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28478524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28478525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28478526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28478527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28478528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28478529, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28479124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044538, 'mtr_portfolio_id': 28479124, 'created_at': datetime.datetime(2025, 11, 14, 5, 46, 28), 'result': '0.042612854454436286', 'result_long': None, 'result_double': None}] Qualite : 0.042612854454436286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28479124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479124_14-11-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28479124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479124_14-11-2025_05_46_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28479174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28479176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28479177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28479178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28479179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28479180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28479181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28479182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28479183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28479184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28479185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28479186, 'pht': 3726}}" where mtr_portfolio_id = 28479124 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28479124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228696, 0.042612854454436286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479124_14-11-2025_05_46_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28479174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28479176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28479177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28479178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28479179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28479180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28479181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28479182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28479183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28479184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28479185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28479186, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28479655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044539, 'mtr_portfolio_id': 28479655, 'created_at': datetime.datetime(2025, 11, 14, 5, 47, 29), 'result': '0.04141866976464584', 'result_long': None, 'result_double': None}] Qualite : 0.04141866976464584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28479655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479655_14-11-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28479655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479655_14-11-2025_05_47_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28479690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28479691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28479693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28479694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28479695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28479697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28479698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28479699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28479701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28479702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28479703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28479705, 'pht': 3726}}" where mtr_portfolio_id = 28479655 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28479655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228697, 0.04141866976464584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28479655_14-11-2025_05_47_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28479690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28479691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28479693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28479694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28479695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28479697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28479698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28479699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28479701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28479702, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28479703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28479705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28480486 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044540, 'mtr_portfolio_id': 28480486, 'created_at': datetime.datetime(2025, 11, 14, 5, 47, 58), 'result': '0.04804381125265802', 'result_long': None, 'result_double': None}] Qualite : 0.04804381125265802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28480486 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28480486_14-11-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28480486 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28480486_14-11-2025_05_48_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28480495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28480496, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28480497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28480498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28480499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28480500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28480501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28480502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28480503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28480504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28480505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28480506, 'pht': 3726}}" where mtr_portfolio_id = 28480486 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28480486 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228698, 0.04804381125265802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28480486_14-11-2025_05_48_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28480495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28480496, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28480497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28480498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28480499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28480500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28480501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28480502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28480503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28480504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28480505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28480506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28481026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4044541, 'mtr_portfolio_id': 28481026, 'created_at': datetime.datetime(2025, 11, 14, 5, 48, 32), 'result': '0.07013858077307186', 'result_long': None, 'result_double': None}] Qualite : 0.07013858077307186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28481026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481026_14-11-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28481026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481026_14-11-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28481031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28481032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28481033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28481034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28481035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28481036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28481037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28481038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28481039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28481040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28481041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28481042, 'pht': 3726}}" where mtr_portfolio_id = 28481026 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28481026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228699, 0.07013858077307186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481026_14-11-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28481031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28481032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28481033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28481034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28481035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28481036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28481037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28481038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28481039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28481040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28481041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28481042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28481665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4040620, 'mtr_portfolio_id': 28481665, 'created_at': datetime.datetime(2025, 11, 13, 20, 1, 14), 'result': '0.06794717008014957', 'result_long': None, 'result_double': None}] Qualite : 0.06794717008014957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28481665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481665_13-11-2025_20_01_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28481665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481665_13-11-2025_20_01_14.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28481691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28481692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28481693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28481694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28481695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28481696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28481697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28481698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28481699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28481701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28481702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28481703, 'pht': 3726}}" where mtr_portfolio_id = 28481665 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28481665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228700, 0.06794717008014957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28481665_13-11-2025_20_01_14.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28481691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28481692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28481693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28481694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28481695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28481696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28481697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28481698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28481699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28481701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28481702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28481703, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495096 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495096 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28495096 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495096 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495096 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28495096 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495096_13-11-2025_20_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28495096 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495096_13-11-2025_20_01_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495151, 'pht': 3726}}" where mtr_portfolio_id = 28495096 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495103 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28495103 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495103 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495103 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28495103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495103_13-11-2025_20_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28495103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495103_13-11-2025_20_01_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495120, 'pht': 3726}}" where mtr_portfolio_id = 28495103 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491918 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491918 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28491918 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491918 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491918 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28491918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491918_13-11-2025_20_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28491918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491918_13-11-2025_20_00_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28492155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28492165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492166, 'pht': 3726}}" where mtr_portfolio_id = 28491918 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491933 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28491933 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491933 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491933 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28491933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491933_13-11-2025_19_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28491933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491933_13-11-2025_19_01_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28492084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492093, 'pht': 3726}}" where mtr_portfolio_id = 28491933 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491947 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491947 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28491947 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491947 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491947 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28491947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491947_13-11-2025_19_01_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28491947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491947_13-11-2025_19_01_15.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28492006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492009, 'pht': 3726}}" where mtr_portfolio_id = 28491947 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491964 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28491964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28491964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491964_13-11-2025_19_00_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28491964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491964_13-11-2025_19_00_40.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28491968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28491969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28491970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28491971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28491973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28491974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28491975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28491976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28491977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28491978, 'pht': 3726}}" where mtr_portfolio_id = 28491964 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28488135 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28488135 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28488135 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28488135 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28488135 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28488135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488135_13-11-2025_19_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28488135 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488135_13-11-2025_19_01_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28488186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28488187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28488188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28488190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28488191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28488192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28488194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28488195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28488196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28488198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28488199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28488200, 'pht': 3726}}" where mtr_portfolio_id = 28488135 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487370 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28487370 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487370 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487370 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28487370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487370_13-11-2025_18_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28487370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487370_13-11-2025_18_00_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28487418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487419, 'pht': 3726}}" where mtr_portfolio_id = 28487370 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487015 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28487015 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487015 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487015 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28487015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487015_13-11-2025_17_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28487015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487015_13-11-2025_17_47_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28487020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487031, 'pht': 3726}}" where mtr_portfolio_id = 28487015 and dashboard_run_id = 2586209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28487016 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4041284, 'mtr_portfolio_id': 28487016, 'created_at': datetime.datetime(2025, 11, 13, 17, 45, 30), 'result': '0.04668984996368189', 'result_long': None, 'result_double': None}] Qualite : 0.04668984996368189 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28487016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487016_13-11-2025_17_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28487016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487016_13-11-2025_17_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28487056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487060, 'pht': 3726}}" where mtr_portfolio_id = 28487016 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28487016 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228710, 0.04668984996368189, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28487016_13-11-2025_17_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28487049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28487050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28487051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28487052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28487053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28487054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28487055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28487056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28487057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28487058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28487059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28487060, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28488683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4041604, 'mtr_portfolio_id': 28488683, 'created_at': datetime.datetime(2025, 11, 13, 18, 19, 2), 'result': '0.033961139242055245', 'result_long': None, 'result_double': None}] Qualite : 0.033961139242055245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28488683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488683_13-11-2025_18_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28488683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488683_13-11-2025_18_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28488759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28488760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28488761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28488762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28488763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28488764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28488765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28488766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28488767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28488768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28488769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28488770, 'pht': 3726}}" where mtr_portfolio_id = 28488683 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28488683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228711, 0.033961139242055245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28488683_13-11-2025_18_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28488759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28488760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28488761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28488762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28488763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28488764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28488765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28488766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28488767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28488768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28488769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28488770, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28489451 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4041680, 'mtr_portfolio_id': 28489451, 'created_at': datetime.datetime(2025, 11, 13, 18, 35, 34), 'result': '0.05190381113485905', 'result_long': None, 'result_double': None}] Qualite : 0.05190381113485905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28489451 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28489451_13-11-2025_18_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28489451 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28489451_13-11-2025_18_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28489467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28489468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28489469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28489470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28489471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28489472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28489473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28489474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28489475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28489476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28489477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28489478, 'pht': 3726}}" where mtr_portfolio_id = 28489451 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28489451 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228712, 0.05190381113485905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28489451_13-11-2025_18_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28489467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28489468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28489469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28489470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28489471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28489472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28489473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28489474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28489475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28489476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28489477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28489478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28490335 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4041767, 'mtr_portfolio_id': 28490335, 'created_at': datetime.datetime(2025, 11, 13, 18, 49, 2), 'result': '0.05340877728613073', 'result_long': None, 'result_double': None}] Qualite : 0.05340877728613073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28490335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28490335_13-11-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28490335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28490335_13-11-2025_18_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28490360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28490361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28490362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28490363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28490364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28490365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28490366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28490367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28490368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28490369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28490370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28490371, 'pht': 3726}}" where mtr_portfolio_id = 28490335 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28490335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228713, 0.05340877728613073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28490335_13-11-2025_18_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28490360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28490361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28490362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28490363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28490364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28490365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28490366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28490367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28490368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28490369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28490370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28490371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28491255 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4041878, 'mtr_portfolio_id': 28491255, 'created_at': datetime.datetime(2025, 11, 13, 19, 5, 28), 'result': '0.04511045684571284', 'result_long': None, 'result_double': None}] Qualite : 0.04511045684571284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28491255 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491255_13-11-2025_19_05_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28491255 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491255_13-11-2025_19_05_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28491309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28491311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28491312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28491313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28491314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28491315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28491316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28491317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28491318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28491320, 'pht': 3726}}" where mtr_portfolio_id = 28491255 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28491255 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228714, 0.04511045684571284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28491255_13-11-2025_19_05_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28491309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28491310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28491311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28491312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28491313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28491314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28491315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28491316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28491317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28491318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28491319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28491320, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28492278 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4041983, 'mtr_portfolio_id': 28492278, 'created_at': datetime.datetime(2025, 11, 13, 19, 19, 2), 'result': '0.05437890631082395', 'result_long': None, 'result_double': None}] Qualite : 0.05437890631082395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28492278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28492278_13-11-2025_19_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28492278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28492278_13-11-2025_19_19_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28492324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492335, 'pht': 3726}}" where mtr_portfolio_id = 28492278 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28492278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228715, 0.05437890631082395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28492278_13-11-2025_19_19_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28492324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28492325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28492326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28492327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28492328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28492329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28492330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28492331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28492332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28492333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28492334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28492335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28493130 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042099, 'mtr_portfolio_id': 28493130, 'created_at': datetime.datetime(2025, 11, 13, 19, 32, 57), 'result': '0.05397544778120502', 'result_long': None, 'result_double': None}] Qualite : 0.05397544778120502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28493130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493130_13-11-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28493130 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493130_13-11-2025_19_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28493161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28493162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28493163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28493165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28493166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28493167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28493168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28493169, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28493170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28493171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28493172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28493173, 'pht': 3726}}" where mtr_portfolio_id = 28493130 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28493130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228716, 0.05397544778120502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493130_13-11-2025_19_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28493161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28493162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28493163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28493165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28493166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28493167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28493168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28493169, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28493170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28493171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28493172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28493173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28493879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042169, 'mtr_portfolio_id': 28493879, 'created_at': datetime.datetime(2025, 11, 13, 19, 49, 5), 'result': '0.058213347536229365', 'result_long': None, 'result_double': None}] Qualite : 0.058213347536229365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28493879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493879_13-11-2025_19_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28493879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493879_13-11-2025_19_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28493931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28493933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28493935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28493936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28493938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28493940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28493941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28493943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28493946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28493948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28493950, 'pht': 3726}}" where mtr_portfolio_id = 28493879 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28493879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228717, 0.058213347536229365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28493879_13-11-2025_19_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28493931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28493933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28493935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28493936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28493938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28493940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28493941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28493943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28493946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28493948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28493950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28494689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042260, 'mtr_portfolio_id': 28494689, 'created_at': datetime.datetime(2025, 11, 13, 21, 31, 12), 'result': '0.04486900972007203', 'result_long': None, 'result_double': None}] Qualite : 0.04486900972007203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28494689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28494689_13-11-2025_21_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28494689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28494689_13-11-2025_21_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28494690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28494691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28494692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28494693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28494694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28494695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28494696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28494697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28494698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28494699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28494700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28494701, 'pht': 3726}}" where mtr_portfolio_id = 28494689 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28494689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228718, 0.04486900972007203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28494689_13-11-2025_21_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28494690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28494691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28494692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28494693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28494694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28494695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28494696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28494697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28494698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28494699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28494700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28494701, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28495220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042319, 'mtr_portfolio_id': 28495220, 'created_at': datetime.datetime(2025, 11, 13, 20, 17, 3), 'result': '0.05137684738598703', 'result_long': None, 'result_double': None}] Qualite : 0.05137684738598703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28495220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495220_13-11-2025_20_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28495220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495220_13-11-2025_20_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495256, 'pht': 3726}}" where mtr_portfolio_id = 28495220 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28495220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228719, 0.05137684738598703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28495220_13-11-2025_20_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28495245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28495246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28495247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28495248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28495249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28495250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28495251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28495252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28495253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28495254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28495255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28495256, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28496058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042428, 'mtr_portfolio_id': 28496058, 'created_at': datetime.datetime(2025, 11, 13, 20, 33, 31), 'result': '0.0595907662420879', 'result_long': None, 'result_double': None}] Qualite : 0.0595907662420879 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28496058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496058_13-11-2025_20_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28496058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496058_13-11-2025_20_33_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28496059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28496060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28496061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28496062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28496063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28496064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28496065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28496066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28496067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28496068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28496069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28496070, 'pht': 3726}}" where mtr_portfolio_id = 28496058 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28496058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228720, 0.0595907662420879, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496058_13-11-2025_20_33_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28496059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28496060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28496061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28496062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28496063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28496064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28496065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28496066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28496067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28496068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28496069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28496070, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28496616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042477, 'mtr_portfolio_id': 28496616, 'created_at': datetime.datetime(2025, 11, 13, 21, 13), 'result': '0.0504809106958481', 'result_long': None, 'result_double': None}] Qualite : 0.0504809106958481 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28496616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496616_13-11-2025_21_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28496616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496616_13-11-2025_21_13_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28496641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28496642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28496643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28496644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28496645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28496646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28496647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28496648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28496649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28496650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28496651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28496652, 'pht': 3726}}" where mtr_portfolio_id = 28496616 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28496616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228721, 0.0504809106958481, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28496616_13-11-2025_21_13_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28496641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28496642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28496643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28496644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28496645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28496646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28496647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28496648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28496649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28496650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28496651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28496652, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28497901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042629, 'mtr_portfolio_id': 28497901, 'created_at': datetime.datetime(2025, 11, 13, 21, 33), 'result': '0.04040776268629106', 'result_long': None, 'result_double': None}] Qualite : 0.04040776268629106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28497901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28497901_13-11-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28497901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28497901_13-11-2025_21_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28497905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28497906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28497907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28497908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28497909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28497910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28497911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28497912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28497913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28497914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28497915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28497916, 'pht': 3726}}" where mtr_portfolio_id = 28497901 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28497901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228722, 0.04040776268629106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28497901_13-11-2025_21_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28497905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28497906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28497907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28497908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28497909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28497910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28497911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28497912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28497913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28497914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28497915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28497916, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28498383 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042673, 'mtr_portfolio_id': 28498383, 'created_at': datetime.datetime(2025, 11, 13, 21, 48, 59), 'result': '0.04482586850874542', 'result_long': None, 'result_double': None}] Qualite : 0.04482586850874542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28498383 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498383_13-11-2025_21_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28498383 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498383_13-11-2025_21_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28498391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28498393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28498394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28498395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28498396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28498397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28498398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28498399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28498400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28498401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28498402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28498403, 'pht': 3726}}" where mtr_portfolio_id = 28498383 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28498383 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228723, 0.04482586850874542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498383_13-11-2025_21_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28498391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28498393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28498394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28498395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28498396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28498397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28498398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28498399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28498400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28498401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28498402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28498403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28498900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042744, 'mtr_portfolio_id': 28498900, 'created_at': datetime.datetime(2025, 11, 13, 22, 3, 30), 'result': '0.05287681329948334', 'result_long': None, 'result_double': None}] Qualite : 0.05287681329948334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28498900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498900_13-11-2025_22_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28498900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498900_13-11-2025_22_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28498907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28498908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28498909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28498910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28498911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28498912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28498913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28498914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28498915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28498916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28498917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28498918, 'pht': 3726}}" where mtr_portfolio_id = 28498900 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28498900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228724, 0.05287681329948334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28498900_13-11-2025_22_03_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28498907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28498908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28498909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28498910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28498911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28498912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28498913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28498914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28498915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28498916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28498917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28498918, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28499336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042813, 'mtr_portfolio_id': 28499336, 'created_at': datetime.datetime(2025, 11, 13, 22, 17, 1), 'result': '0.048644498751714345', 'result_long': None, 'result_double': None}] Qualite : 0.048644498751714345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28499336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499336_13-11-2025_22_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28499336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499336_13-11-2025_22_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28499342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28499343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28499344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28499345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28499346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28499347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28499348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28499349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28499350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28499351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28499352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28499353, 'pht': 3726}}" where mtr_portfolio_id = 28499336 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28499336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228725, 0.048644498751714345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499336_13-11-2025_22_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28499342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28499343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28499344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28499345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28499346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28499347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28499348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28499349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28499350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28499351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28499352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28499353, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28499823 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042873, 'mtr_portfolio_id': 28499823, 'created_at': datetime.datetime(2025, 11, 13, 22, 32, 58), 'result': '0.0416605544662256', 'result_long': None, 'result_double': None}] Qualite : 0.0416605544662256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28499823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499823_13-11-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28499823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499823_13-11-2025_22_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28499849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28499850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28499851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28499852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28499853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28499854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28499855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28499856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28499857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28499858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28499859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28499860, 'pht': 3726}}" where mtr_portfolio_id = 28499823 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28499823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228726, 0.0416605544662256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28499823_13-11-2025_22_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28499849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28499850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28499851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28499852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28499853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28499854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28499855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28499856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28499857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28499858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28499859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28499860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28500318 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042938, 'mtr_portfolio_id': 28500318, 'created_at': datetime.datetime(2025, 11, 13, 22, 49, 31), 'result': '0.05013419355483844', 'result_long': None, 'result_double': None}] Qualite : 0.05013419355483844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28500318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500318_13-11-2025_22_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28500318 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500318_13-11-2025_22_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28500330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28500331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28500332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28500333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28500334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28500335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28500336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28500337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28500338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28500339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28500340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28500341, 'pht': 3726}}" where mtr_portfolio_id = 28500318 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28500318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228727, 0.05013419355483844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500318_13-11-2025_22_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28500330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28500331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28500332, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28500333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28500334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28500335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28500336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28500337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28500338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28500339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28500340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28500341, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28500878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4042997, 'mtr_portfolio_id': 28500878, 'created_at': datetime.datetime(2025, 11, 14, 0, 31, 12), 'result': '0.04665805270743271', 'result_long': None, 'result_double': None}] Qualite : 0.04665805270743271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28500878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500878_14-11-2025_00_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28500878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500878_14-11-2025_00_31_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28500880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28500881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28500882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28500883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28500884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28500885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28500886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28500887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28500888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28500889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28500890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28500891, 'pht': 3726}}" where mtr_portfolio_id = 28500878 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28500878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228728, 0.04665805270743271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28500878_14-11-2025_00_31_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28500880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28500881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28500882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28500883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28500884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28500885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28500886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28500887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28500888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28500889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28500890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28500891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28501357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4043093, 'mtr_portfolio_id': 28501357, 'created_at': datetime.datetime(2025, 11, 13, 23, 19, 1), 'result': '0.05732905571316867', 'result_long': None, 'result_double': None}] Qualite : 0.05732905571316867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28501357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28501357_13-11-2025_23_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28501357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28501357_13-11-2025_23_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28501372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28501373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28501374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28501375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28501376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28501378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28501379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28501380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28501381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28501382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28501383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28501384, 'pht': 3726}}" where mtr_portfolio_id = 28501357 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28501357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228729, 0.05732905571316867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28501357_13-11-2025_23_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28501372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28501373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28501374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28501375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28501376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28501378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28501379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28501380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28501381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28501382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28501383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28501384, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28502025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4043155, 'mtr_portfolio_id': 28502025, 'created_at': datetime.datetime(2025, 11, 13, 23, 33, 2), 'result': '0.07609893404093493', 'result_long': None, 'result_double': None}] Qualite : 0.07609893404093493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28502025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502025_13-11-2025_23_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28502025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502025_13-11-2025_23_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28502050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28502051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28502052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28502053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28502054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28502055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28502056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28502057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28502058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28502059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28502060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28502061, 'pht': 3726}}" where mtr_portfolio_id = 28502025 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28502025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228730, 0.07609893404093493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502025_13-11-2025_23_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28502050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28502051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28502052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28502053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28502054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28502055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28502056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28502057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28502058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28502059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28502060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28502061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28502668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4043205, 'mtr_portfolio_id': 28502668, 'created_at': datetime.datetime(2025, 11, 13, 23, 49), 'result': '0.04321907113185868', 'result_long': None, 'result_double': None}] Qualite : 0.04321907113185868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28502668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502668_13-11-2025_23_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28502668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502668_13-11-2025_23_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28502699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28502700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28502701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28502702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28502703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28502704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28502705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28502706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28502707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28502708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28502709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28502710, 'pht': 3726}}" where mtr_portfolio_id = 28502668 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28502668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228731, 0.04321907113185868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28502668_13-11-2025_23_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28502699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28502700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28502701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28502702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28502703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28502704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28502705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28502706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28502707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28502708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28502709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28502710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28503283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4043254, 'mtr_portfolio_id': 28503283, 'created_at': datetime.datetime(2025, 11, 14, 1, 31, 58), 'result': '0.05127966387393724', 'result_long': None, 'result_double': None}] Qualite : 0.05127966387393724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28503283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28503283_14-11-2025_01_31_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28503283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28503283_14-11-2025_01_31_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28503354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28503357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28503359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28503361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28503363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28503366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28503367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28503368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28503369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28503370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28503371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28503372, 'pht': 3726}}" where mtr_portfolio_id = 28503283 and dashboard_run_id = 2586209 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28503283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17228732, 0.05127966387393724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28503283_14-11-2025_01_31_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28503354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28503357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28503359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28503361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28503363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28503366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28503367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28503368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28503369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28503370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28503371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28503372, '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 (28472071,28472625,28472733,28472999,28473209,28473342,28473449,28473687,28473852,28473961,28474121,28474652,28474833,28475052,28475207,28475735,28476127,28476594,28476939,28477612,28478484,28479124,28479655,28480486,28481026,28481665,28495096,28495103,28491918,28491933,28491947,28491964,28488135,28487370,28487015,28487016,28488683,28489451,28490335,28491255,28492278,28493130,28493879,28494689,28495220,28496058,28496616,28497901,28498383,28498900,28499336,28499823,28500318,28500878,28501357,28502025,28502668,28503283) result : ((1394133573,), (1394133823,), (1394133824,), (1394134091,), (1394134214,), (1394134217,), (1394134284,), (1394134287,), (1394134367,), (1394138510,), (1394138536,), (1394138610,), (1394138613,), (1394138650,), (1394138652,), (1394138653,), (1394138654,), (1394138713,), (1394138715,), (1394138806,), (1394138831,), (1394138858,), (1394138860,), (1394139061,), (1394139063,), (1394140058,), (1394140070,), (1394140096,), (1394140116,), (1394140139,), (1394140137,), (1394140490,), (1394141894,), (1394142345,), (1394142365,), (1394142499,), (1394142573,), (1394142676,), (1394142709,), (1394142736,), (1394142782,), (1394142838,), (1394142884,), (1394142910,), (1394142940,), (1394142943,), (1394142963,), (1394142964,), (1394142965,), (1394142967,), (1394143056,), (1394143059,), (1394143062,), (1394143087,), (1394143174,), (1394143168,), (1394143197,), (1394143250,), (1394143252,), (1394143253,), (1394143378,), (1394143400,), (1394143405,), (1394143408,), (1394143457,), (1394143482,), (1394143484,), (1394143517,), (1394143555,), (1394143585,), (1394143586,), (1394143663,), (1394143666,), (1394143688,), (1394143689,), (1394143795,), (1394143797,), (1394143798,), (1394143818,), (1394144370,), (1394144422,), (1394144426,), (1394144843,), (1394144871,), (1394144900,), (1394145458,), (1394145460,), (1394145580,), (1394145581,), (1394145634,), (1394145657,), (1394145706,), (1394145737,), (1394145758,), (1394145793,), (1394145843,), (1394145841,), (1394145873,), (1394145926,), (1394145928,), (1394145954,), (1394145980,), (1394146009,), (1394146050,), (1394146069,), (1394146072,), (1394146100,), (1394146125,), (1394146170,), (1394146192,), (1394146211,), (1394146214,), (1394146246,), (1394146249,), (1394146349,), (1394146351,), (1394146403,), (1394146405,), (1394146424,), (1394146485,), (1394146541,), (1394146543,), (1394146594,), (1394146593,), (1394146621,), (1394146649,), (1394146699,), (1394146700,), (1394146724,), (1394146754,), (1394146755,), (1394146840,), (1394146845,), (1394146866,), (1394146868,), (1394148200,), (1394151231,), (1394151862,), (1394151896,), (1394151952,), (1394151954,), (1394151987,), (1394151989,), (1394151992,), (1394152017,), (1394152018,), (1394152043,), (1394152046,), (1394152084,), (1394152107,), (1394152109,), (1394152111,), (1394152144,), (1394152146,), (1394152148,), (1394152172,), (1394152174,), (1394152176,), (1394152180,), (1394152185,), (1394152212,), (1394152209,), (1394152210,), (1394152239,), (1394152241,), (1394152242,), (1394152244,), (1394152248,), (1394152250,), (1394152274,), (1394152277,), (1394152278,), (1394152280,), (1394152301,), (1394153021,), (1394153091,), (1394153248,), (1394153273,), (1394153277,), (1394153280,), (1394153283,), (1394153286,), (1394153304,), (1394153307,), (1394153311,), (1394153316,), (1394153320,), (1394153337,), (1394153338,), (1394153339,), (1394153342,), (1394153346,), (1394153366,), (1394153368,), (1394153402,), (1394153404,), (1394153405,), (1394153406,), (1394154128,), (1394154177,), (1394154214,), (1394154245,), (1394154254,), (1394154424,), (1394154420,), (1394154422,), (1394154453,), (1394154457,), (1394154462,), (1394154467,), (1394154473,), (1394154493,), (1394154495,), (1394154497,), (1394154500,), (1394154656,), (1394154691,), (1394154725,), (1394154758,), (1394154795,), (1394154835,), (1394155132,), (1394155135,), (1394155137,), (1394155285,), (1394155287,), (1394155289,), (1394155317,), (1394155319,), (1394155321,), (1394155325,), (1394155354,), (1394155356,), (1394155357,), (1394155359,), (1394155380,), (1394155383,), (1394155436,), (1394155438,), (1394155462,), (1394155465,), (1394155467,), (1394155470,), (1394155498,), (1394155500,), (1394155502,), (1394155505,), (1394155530,), (1394155532,), (1394155535,), (1394155539,), (1394155543,), (1394155545,), (1394155578,), (1394155580,), (1394155583,), (1394155604,), (1394155607,), (1394155610,), (1394155612,), (1394155613,), (1394155615,), (1394155663,), (1394155649,), (1394155651,), (1394155653,), (1394155655,), (1394155659,), (1394155682,), (1394155684,), (1394155685,), (1394155686,), (1394155724,), (1394155727,), (1394155729,), (1394155731,), (1394155733,), (1394155754,), (1394155755,), (1394155756,), (1394155758,), (1394155761,), (1394155793,), (1394155796,), (1394155799,), (1394155803,), (1394155822,), (1394155823,), (1394155851,), (1394155852,), (1394155853,), (1394155855,), (1394155876,), (1394155879,), (1394155881,), (1394155911,), (1394155913,), (1394155914,), (1394155936,), (1394155938,), (1394155942,), (1394155949,), (1394155952,), (1394155980,), (1394155982,), (1394155985,), (1394155988,), (1394156011,), (1394156012,), (1394156013,), (1394156014,), (1394156056,), (1394156059,), (1394156062,), (1394156066,), (1394156095,), (1394156097,), (1394156098,), (1394156099,), (1394156102,), (1394156152,), (1394156153,), (1394156155,), (1394156159,), (1394156164,), (1394156168,), (1394156207,), (1394156214,), (1394156215,), (1394156219,), (1394156223,), (1394156225,), (1394156227,), (1394156242,), (1394156246,), (1394156182,), (1394156185,), (1394156190,), (1394156194,), (1394156201,), (1394156234,), (1394156236,), (1394156239,), (1394156253,), (1394156255,), (1394156257,), (1394156316,), (1394156318,), (1394156320,), (1394156323,), (1394156354,), (1394156355,), (1394156357,), (1394156389,), (1394156427,), (1394156429,), (1394156430,), (1394156432,), (1394156435,), (1394156437,), (1394156452,), (1394156455,), (1394156458,), (1394156462,), (1394156466,), (1394156470,), (1394156499,), (1394156501,), (1394156502,), (1394156504,), (1394156522,), (1394156525,), (1394156558,), (1394156560,), (1394156562,), (1394156565,), (1394156587,), (1394156589,), (1394156592,), (1394156596,), (1394156600,), (1394156642,), (1394156646,), (1394156647,), (1394156675,), (1394156678,), (1394156725,), (1394156712,), (1394156714,), (1394156716,), (1394156720,), (1394156744,), (1394156746,), (1394156748,), (1394156751,), (1394156755,), (1394156782,), (1394156785,), (1394156787,), (1394156807,), (1394156809,), (1394156811,), (1394156816,), (1394156820,), (1394156841,), (1394156872,), (1394156874,), (1394156875,), (1394156877,), (1394156879,), (1394156916,), (1394156917,), (1394156918,), (1394156920,), (1394156943,), (1394156946,), (1394156949,), (1394156954,), (1394156988,), (1394156991,), (1394156993,), (1394157015,), (1394157016,), (1394157017,), (1394157019,), (1394157022,), (1394157047,), (1394157050,), (1394157053,), (1394157056,), (1394157060,), (1394157064,), (1394157083,), (1394157086,), (1394157089,), (1394157115,), (1394157118,), (1394157120,), (1394157155,), (1394157160,), (1394157166,), (1394157284,), (1394157345,), (1394157406,), (1394157473,), (1394157217,), (1394158183,), (1394158244,), (1394158752,), (1394158757,), (1394159065,), (1394159067,), (1394159094,), (1394159097,), (1394159099,), (1394159101,), (1394159126,), (1394159127,), (1394159128,), (1394159131,), (1394159155,), (1394159156,), (1394159158,), (1394159162,), (1394159167,), (1394159191,), (1394159198,), (1394159201,), (1394159205,), (1394159207,), (1394159221,), (1394159244,), (1394159246,), (1394159346,), (1394159348,), (1394159350,), (1394159440,), (1394159442,), (1394159444,), (1394159447,), (1394159451,), (1394159550,), (1394159556,), (1394159558,), (1394159561,), (1394159565,), (1394159590,), (1394159591,), (1394159593,), (1394159596,), (1394159702,), (1394159705,), (1394159708,), (1394159711,), (1394159716,), (1394159720,), (1394159856,), (1394159861,), (1394159863,), (1394159864,), (1394159867,), (1394159870,), (1394159917,), (1394159909,), (1394159912,), (1394159914,), (1394159939,), (1394159944,), (1394159947,), (1394159963,), (1394159968,), (1394159972,), (1394159996,), (1394159999,), (1394160002,), (1394160035,), (1394160071,), (1394160131,), (1394160133,), (1394160134,), (1394160254,), (1394160268,), (1394160291,), (1394160360,), (1394160542,), (1394160551,), (1394160563,), (1394160667,), (1394160681,), (1394161095,), (1394161112,), (1394161115,), (1394161119,), (1394161265,), (1394161268,), (1394161271,), (1394161277,), (1394161345,), (1394161348,), (1394161350,), (1394161358,), (1394161431,), (1394161434,), (1394161436,), (1394161442,), (1394161445,), (1394161450,), (1394161471,), (1394161473,), (1394161521,), (1394161725,), (1394161740,), (1394161840,), (1394161887,), (1394162194,), (1394162227,), (1394162229,), (1394162231,), (1394162280,), (1394162315,), (1394162319,), (1394162322,), (1394162326,), (1394162438,), (1394162440,), (1394162441,), (1394162469,), (1394162472,), (1394162475,), (1394162479,), (1394162514,), (1394162517,), (1394162544,), (1394162547,), (1394162549,), (1394162553,), (1394162561,), (1394162607,), (1394162610,), (1394162612,), (1394162615,), (1394162620,), (1394162625,), (1394162755,), (1394162758,), (1394162762,), (1394162768,), (1394162773,), (1394162777,), (1394162805,), (1394162812,), (1394162884,), (1394162889,), (1394162895,), (1394163011,), (1394163043,), (1394163052,), (1394163055,), (1394163060,), (1394163062,), (1394163183,), (1394163189,), (1394163195,), (1394163203,), (1394163213,), (1394163217,), (1394163250,), (1394163253,), (1394163255,), (1394163283,), (1394163286,), (1394163290,), (1394163294,), (1394163299,), (1394163339,), (1394163322,), (1394163323,), (1394163324,), (1394163326,), (1394163330,), (1394163495,), (1394163503,), (1394163506,), (1394163509,), (1394163514,), (1394163517,), (1394163533,), (1394163534,), (1394163597,), (1394163605,), (1394163608,), (1394163613,), (1394163616,), (1394163619,), (1394163629,), (1394163632,), (1394163639,), (1394163641,), (1394163643,), (1394163731,), (1394163758,), (1394163759,), (1394163907,), (1394163909,), (1394163940,), (1394163960,), (1394163990,), (1394163992,), (1394163993,), (1394163994,), (1394164029,), (1394164039,), (1394164042,), (1394164046,), (1394164051,), (1394164055,), (1394164071,), (1394164073,), (1394164120,), (1394164121,), (1394164122,), (1394164125,), (1394164152,), (1394164159,), (1394164217,), (1394164220,), (1394164223,), (1394164226,), (1394164230,), (1394164255,), (1394164257,), (1394164259,), (1394164261,), (1394164327,), (1394164365,), (1394164433,), (1394164496,), (1394164557,), (1394164789,), (1394164853,), (1394164923,), (1394164987,), (1394165416,), (1394165450,), (1394165492,), (1394165496,), (1394165652,), (1394165372,), (1394165384,), (1394165607,), (1394165619,), (1394165622,), (1394165625,), (1394165628,), (1394165631,), (1394165713,), (1394165728,), (1394165739,), (1394165744,), (1394165755,), (1394165777,), (1394165896,), (1394165929,), (1394165960,), (1394165993,), (1394166027,), (1394166395,), (1394166396,), (1394166397,), (1394166399,), (1394166403,), (1394166405,), (1394166606,), (1394166618,), (1394166652,), (1394166761,), (1394166765,), (1394166797,), (1394166838,), (1394166884,), (1394166957,), (1394166989,), (1394167019,), (1394167052,), (1394167088,), (1394167124,), (1394167190,), (1394167193,), (1394167196,), (1394167199,), (1394167307,), (1394167309,), (1394167310,), (1394167312,), (1394167315,), (1394167335,), (1394167337,), (1394167340,), (1394167349,), (1394167352,), (1394167391,), (1394167393,), (1394167395,), (1394167397,), (1394167452,), (1394167455,), (1394167459,), (1394167465,), (1394167472,), (1394167521,), (1394167523,), (1394167525,), (1394167528,), (1394167551,), (1394167554,), (1394167558,), (1394167560,), (1394167655,), (1394167605,), (1394167616,), (1394167627,), (1394167630,), (1394167748,), (1394167761,), (1394168046,), (1394168136,), (1394168170,), (1394168573,), (1394168577,), (1394168668,), (1394168731,), (1394168877,), (1394168965,), (1394168994,), (1394168996,), (1394169024,), (1394169039,), (1394169046,), (1394169075,), (1394169085,), (1394169109,), (1394169165,), (1394169168,), (1394169370,), (1394169411,), (1394169442,), (1394169477,), (1394169531,), (1394169631,), (1394169632,), (1394169633,), (1394169639,), (1394169683,), (1394169685,), (1394169705,), (1394169773,), (1394169776,), (1394169777,), (1394169780,), (1394169877,), (1394170049,), (1394170051,), (1394170085,), (1394170087,), (1394170135,), (1394170219,), (1394170422,), (1394170424,), (1394171273,), (1394171072,), (1394171268,), (1394171376,), (1394171476,), (1394171480,), (1394171577,), (1394171606,), (1394171609,), (1394171651,), (1394172797,), (1394258304,), (1394215608,), (1394215618,), (1394215623,), (1394215628,), (1394215664,), (1394215667,), (1394215670,), (1394215712,), (1394215728,), (1394215730,), (1394215733,), (1394215735,), (1394215741,), (1394215754,), (1394215758,), (1394215760,), (1394215762,), (1394215764,), (1394215766,), (1394215775,), (1394215778,), (1394215783,), (1394215787,), (1394215790,), (1394215794,), (1394215799,), (1394215802,), (1394215804,), (1394215808,), (1394215813,), (1394215818,), (1394215844,), (1394215845,), (1394215846,), (1394215849,), (1394215852,), (1394215866,), (1394215869,), (1394215883,), (1394215888,), (1394215891,), (1394215903,), (1394215923,), (1394215927,), (1394215931,), (1394215933,), (1394215935,), (1394215937,), (1394215958,), (1394215961,), (1394215964,), (1394215969,), (1394215972,), (1394215975,), (1394215979,), (1394215988,), (1394216006,), (1394216017,), (1394216055,), (1394216093,), (1394216228,), (1394216267,), (1394216304,), (1394216331,), (1394216359,), (1394216389,), (1394216512,), (1394216521,), (1394216532,), (1394216543,), (1394216555,), (1394216624,), (1394216633,), (1394216636,), (1394216637,), (1394216638,), (1394216641,), (1394216654,), (1394216661,), (1394216665,), (1394216668,), (1394216671,), (1394215183,), (1394215184,), (1394215185,), (1394215186,), (1394215187,), (1394215189,), (1394215198,), (1394215200,), (1394215204,), (1394215206,), (1394215208,), (1394215210,), (1394215216,), (1394215217,), (1394215219,), (1394215223,), (1394215227,), (1394215232,), (1394215243,), (1394215246,), (1394215248,), (1394215250,), (1394215253,), (1394215257,), (1394215268,), (1394215273,), (1394215277,), (1394215281,), (1394215284,), (1394215288,), (1394215294,), (1394215299,), (1394215303,), (1394215307,), (1394215312,), (1394215317,), (1394215351,), (1394215354,), (1394215357,), (1394215360,), (1394215363,), (1394215368,), (1394215380,), (1394215384,), (1394215387,), (1394215390,), (1394215393,), (1394215396,), (1394215406,), (1394215410,), (1394215414,), (1394215419,), (1394215424,), (1394215429,), (1394215463,), (1394215469,), (1394215474,), (1394215477,), (1394215481,), (1394215485,), (1394215496,), (1394215501,), (1394215504,), (1394215508,), (1394215510,), (1394215514,), (1394215522,), (1394215525,), (1394215531,), (1394215535,), (1394215539,), (1394215542,), (1394215556,), (1394215557,), (1394215560,), (1394215561,), (1394215563,), (1394215564,), (1394215569,), (1394215570,), (1394215574,), (1394215576,), (1394215579,), (1394215580,), (1394215592,), (1394215595,), (1394215597,), (1394215600,), (1394215604,), (1394216490,), (1394216674,), (1394216693,), (1394216707,), (1394216723,), (1394216726,), (1394216728,), (1394216750,), (1394216766,), (1394216770,), (1394216774,), (1394216776,), (1394216778,), (1394216782,), (1394216797,), (1394216803,), (1394216805,), (1394216809,), (1394216814,), (1394216819,), (1394216833,), (1394216839,), (1394216844,), (1394216848,), (1394216852,), (1394216858,), (1394216924,), (1394216954,), (1394216982,), (1394217002,), (1394217011,), (1394217016,), (1394217085,), (1394217092,), (1394217096,), (1394217104,), (1394217120,), (1394217226,), (1394217267,), (1394217294,), (1394217309,), (1394217312,), (1394217316,), (1394217400,), (1394217419,), (1394217427,), (1394217433,), (1394217448,), (1394217476,), (1394217517,), (1394217546,), (1394217576,), (1394217604,), (1394217607,), (1394217610,), (1394217623,), (1394217652,), (1394217685,), (1394217719,), (1394217745,), (1394217776,), (1394217896,), (1394217922,), (1394217954,), (1394217982,), (1394218014,), (1394218056,), (1394218136,), (1394218138,), (1394218142,), (1394218145,), (1394218147,), (1394218150,), (1394218267,), (1394218322,), (1394218385,), (1394218450,), (1394218504,), (1394218532,), (1394218693,), (1394218737,), (1394218771,), (1394218804,), (1394218811,), (1394218852,), (1394219041,), (1394219043,), (1394219047,), (1394219140,), (1394219147,), (1394219152,), (1394219245,), (1394219248,), (1394219252,), (1394219341,), (1394219345,), (1394219349,), (1394219441,), (1394219444,), (1394219481,), (1394219501,), (1394219521,), (1394219581,), (1394219682,), (1394219688,), (1394219694,), (1394219698,), (1394219703,), (1394219799,), (1394219908,), (1394219909,), (1394219916,), (1394219917,), (1394219920,), (1394219921,), (1394219938,), (1394219948,), (1394220051,), (1394220063,), (1394220162,), (1394220166,), (1394220650,), (1394220712,), (1394220772,), (1394220838,), (1394220973,), (1394221144,), (1394221178,), (1394221301,), (1394221311,), (1394221389,), (1394221449,), (1394222095,), (1394222123,), (1394222145,), (1394222151,), (1394222157,), (1394222164,), (1394222186,), (1394222828,), (1394223238,), (1394223946,), (1394223950,), (1394223953,), (1394223965,), (1394223995,), (1394224117,), (1394224758,), (1394224793,), (1394224850,), (1394224907,), (1394224919,), (1394224959,), (1394225241,), (1394225265,), (1394225284,), (1394225297,), (1394225301,), (1394225305,), (1394225381,), (1394225383,), (1394225387,), (1394225390,), (1394225393,), (1394225398,), (1394225422,), (1394225425,), (1394225428,), (1394225431,), (1394225434,), (1394225437,), (1394225454,), (1394225462,), (1394225483,), (1394225520,), (1394225551,), (1394225589,), (1394225713,), (1394225743,), (1394225764,), (1394225775,), (1394225781,), (1394225880,), (1394225893,), (1394225896,), (1394225909,), (1394225941,), (1394225960,), (1394225971,), (1394225980,), (1394225984,), (1394225988,), (1394226088,), (1394226089,), (1394226091,), (1394226092,), (1394226094,), (1394226095,), (1394226102,), (1394226103,), (1394226524,), (1394226526,), (1394226547,), (1394226585,), (1394226617,), (1394226623,), (1394226662,), (1394226668,), (1394226671,), (1394226680,), (1394226687,), (1394226697,), (1394226723,), (1394226743,), (1394226752,), (1394226832,), (1394226833,), (1394226836,), (1394226842,), (1394226847,), (1394226862,), (1394226968,), (1394226993,), (1394227020,), (1394227044,), (1394227329,), (1394227331,), (1394227304,), (1394227305,), (1394227309,), (1394227310,), (1394227314,), (1394227316,), (1394227321,), (1394227322,), (1394227325,), (1394227327,), (1394227342,), (1394227345,), (1394227348,), (1394227352,), (1394227420,), (1394227446,), (1394227487,), (1394227518,), (1394227546,), (1394227572,), (1394227664,), (1394227688,), (1394227718,), (1394227751,), (1394228156,), (1394228171,), (1394228173,), (1394228197,), (1394228244,), (1394228487,), (1394228548,), (1394228602,), (1394228651,), (1394228724,), (1394229916,), (1394229988,), (1394230056,), (1394230107,), (1394230157,), (1394230333,), (1394230363,), (1394230390,), (1394230424,), (1394231437,), (1394231438,), (1394231467,), (1394231470,), (1394231496,), (1394231497,), (1394231544,), (1394231546,), (1394231584,), (1394231585,), (1394231630,), (1394231632,), (1394231799,), (1394231848,), (1394231897,), (1394231949,), (1394232015,), (1394232325,), (1394232326,), (1394232328,), (1394232329,), (1394232350,), (1394232352,), (1394232375,), (1394232378,), (1394232397,), (1394232398,), (1394232409,), (1394232412,), (1394232432,), (1394232437,), (1394232442,), (1394232448,), (1394232733,), (1394232759,), (1394232821,), (1394232864,), (1394232894,), (1394232921,), (1394233022,), (1394233039,), (1394233041,), (1394233043,), (1394233351,), (1394233379,), (1394233407,), (1394233433,), (1394233461,), (1394233789,), (1394233790,), (1394233809,), (1394233812,), (1394233858,), (1394233862,), (1394233864,), (1394233887,), (1394233709,), (1394233711,), (1394233736,), (1394233737,), (1394233761,), (1394233764,), (1394233785,), (1394233786,), (1394233848,), (1394233851,), (1394233854,), (1394233911,), (1394233913,), (1394233915,), (1394233916,), (1394233922,), (1394233927,), (1394233960,), (1394233962,), (1394233999,), (1394234001,), (1394234152,), (1394234178,), (1394234208,), (1394234467,), (1394234497,), (1394234524,), (1394234549,), (1394234596,), (1394234650,), (1394234827,), (1394234837,), (1394234870,), (1394234899,), (1394235226,), (1394235228,), (1394235254,), (1394235256,), (1394235280,), (1394235283,), (1394235311,), (1394235312,), (1394235513,), (1394235517,), (1394235521,), (1394235979,), (1394235983,), (1394236006,), (1394236234,), (1394236265,), (1394236271,), (1394236274,), (1394236276,), (1394236280,), (1394236353,), (1394236381,), (1394236408,), (1394236447,), (1394236475,), (1394236881,), (1394236928,), (1394236957,), (1394236985,), (1394237036,), (1394237088,), (1394237327,), (1394237395,), (1394237741,), (1394237774,), (1394237807,), (1394237841,), (1394237885,), (1394238100,), (1394238121,), (1394238144,), (1394238146,), (1394238160,), (1394238928,), (1394238749,), (1394238775,), (1394238808,), (1394238860,), (1394239093,), (1394239124,), (1394239155,), (1394239193,), (1394240255,), (1394240330,), (1394240396,), (1394240452,), (1394240505,), (1394240556,), (1394240787,), (1394240828,), (1394240859,), (1394240908,), (1394240932,), (1394241496,), (1394241553,), (1394241608,), (1394241681,), (1394241755,), (1394241802,), (1394241990,), (1394242028,), (1394242056,), (1394242127,), (1394242173,), (1394242407,), (1394242417,), (1394242420,), (1394242778,), (1394242900,), (1394242986,), (1394243060,), (1394243130,), (1394243208,), (1394244082,), (1394244180,), (1394244247,), (1394244336,), (1394244404,), (1394244549,), (1394244593,), (1394244619,), (1394244656,), (1394244685,), (1394245504,), (1394245554,), (1394245594,), (1394245621,), (1394245667,), (1394245724,), (1394245822,), (1394245832,), (1394245840,), (1394246417,), (1394246463,), (1394246504,), (1394246548,), (1394246593,), (1394247345,), (1394247425,), (1394247484,), (1394247535,), (1394247597,), (1394247931,), (1394247978,), (1394248008,), (1394248041,), (1394248097,), (1394248333,), (1394248348,), (1394248382,), (1394248694,), (1394248696,), (1394248701,), (1394244960,), (1394245037,), (1394245112,), (1394245194,), (1394245254,), (1394245301,), (1394245843,), (1394245861,), (1394245892,), (1394246083,), (1394246130,), (1394246175,), (1394246207,), (1394246232,), (1394246261,), (1394246642,), (1394247668,), (1394248137,), (1394248888,), (1394248939,), (1394248980,), (1394249009,), (1394249045,), (1394249077,), (1394249328,), (1394249336,), (1394249449,), (1394249484,), (1394249536,), (1394249567,), (1394249736,), (1394249800,), (1394249852,), (1394249924,), (1394249963,), (1394249968,), (1394249973,), (1394249977,), (1394249981,), (1394249986,), (1394249992,), (1394250006,), (1394250155,), (1394250187,), (1394250217,), (1394250248,), (1394250265,), (1394250266,), (1394250267,), (1394250269,), (1394250276,), (1394250279,), (1394250307,), (1394250308,), (1394250311,), (1394250312,), (1394250437,), (1394250483,), (1394250512,), (1394250537,), (1394235785,), (1394235808,), (1394235871,), (1394235873,), (1394235876,), (1394235883,), (1394235885,), (1394235889,), (1394236024,), (1394236051,), (1394236081,), (1394236167,), (1394236168,), (1394236171,), (1394236174,), (1394236179,), (1394236185,), (1394236504,), (1394237467,), (1394237512,), (1394237574,), (1394237626,), (1394237950,), (1394238192,), (1394238309,), (1394238356,), (1394238406,), (1394238454,), (1394238505,), (1394238555,), (1394238954,), (1394239226,), (1394239283,), (1394239650,), (1394239706,), (1394239753,), (1394239807,), (1394239889,), (1394239968,), (1394240965,), (1394241081,), (1394241108,), (1394241153,), (1394241199,), (1394241243,), (1394241289,), (1394242220,), (1394242336,), (1394242364,), (1394242388,), (1394242389,), (1394242391,), (1394242394,), (1394242422,), (1394242440,), (1394242464,), (1394243412,), (1394243473,), (1394243529,), (1394243608,), (1394243693,), (1394243778,), (1394244446,), (1394244720,), (1394230827,), (1394230901,), (1394230976,), (1394231059,), (1394231112,), (1394231175,), (1394232045,), (1394232178,), (1394232180,), (1394232182,), (1394232187,), (1394232204,), (1394232235,), (1394232454,), (1394232458,), (1394232503,), (1394232530,), (1394232556,), (1394232585,), (1394232618,), (1394232644,), (1394233047,), (1394233051,), (1394233145,), (1394233170,), (1394233182,), (1394233184,), (1394233215,), (1394233229,), (1394233485,), (1394233890,), (1394233892,), (1394233896,), (1394233900,), (1394233903,), (1394234028,), (1394234032,), (1394234235,), (1394234262,), (1394234287,), (1394234386,), (1394234416,), (1394234426,), (1394234431,), (1394234435,), (1394234440,), (1394234909,), (1394234913,), (1394234974,), (1394235000,), (1394235026,), (1394235059,), (1394235091,), (1394235122,), (1394235343,), (1394235344,), (1394235384,), (1394235386,), (1394235525,), (1394235529,), (1394235530,), (1394235655,), (1394235666,), (1394235717,), (1394235757,), (1394222215,), (1394222260,), (1394222301,), (1394222336,), (1394222370,), (1394222877,), (1394222912,), (1394222954,), (1394222997,), (1394223057,), (1394223340,), (1394223388,), (1394223427,), (1394223462,), (1394223650,), (1394223687,), (1394223716,), (1394223741,), (1394223745,), (1394223749,), (1394225797,), (1394225913,), (1394225924,), (1394225996,), (1394225998,), (1394226023,), (1394226048,), (1394226052,), (1394226065,), (1394226116,), (1394226118,), (1394226148,), (1394226149,), (1394226762,), (1394226777,), (1394226797,), (1394227078,), (1394227104,), (1394227182,), (1394227194,), (1394227225,), (1394227244,), (1394227257,), (1394227267,), (1394227355,), (1394227357,), (1394227374,), (1394227378,), (1394227382,), (1394227387,), (1394227391,), (1394227393,), (1394227781,), (1394227809,), (1394227925,), (1394227955,), (1394227983,), (1394228019,), (1394228048,), (1394228076,), (1394228290,), (1394228774,), (1394229081,), (1394229163,), (1394229247,), (1394229355,), (1394229463,), (1394229553,), (1394230202,), (1394230475,), (1394230530,), (1394248328,), (1394248330,), (1394248331,), (1394248485,), (1394248510,), (1394248536,), (1394248560,), (1394248589,), (1394248604,), (1394248674,), (1394248688,), (1394248691,), (1394249190,), (1394249191,), (1394249217,), (1394249218,), (1394249247,), (1394249253,), (1394249273,), (1394249281,), (1394249302,), (1394249308,), (1394249398,), (1394249424,), (1394250095,), (1394250122,), (1394250288,), (1394250289,), (1394250292,), (1394250293,), (1394250296,), (1394250297,), (1394250301,), (1394250302,), (1394250350,), (1394250388,), (1394250838,), (1394250841,), (1394250983,), (1394251014,), (1394251031,), (1394251036,), (1394251042,), (1394251045,), (1394251421,), (1394251422,), (1394251424,), (1394251425,), (1394251427,), (1394251428,), (1394251431,), (1394251432,), (1394251539,), (1394251568,), (1394251575,), (1394251604,), (1394251986,), (1394252010,), (1394252037,), (1394252062,), (1394252087,), (1394252109,), (1394252222,), (1394252232,), (1394252236,), (1394252240,), (1394252831,), (1394252597,), (1394252632,), (1394252664,), (1394252711,), (1394252769,), (1394253053,), (1394253106,), (1394253160,), (1394253230,), (1394253570,), (1394253571,), (1394253610,), (1394253611,), (1394253685,), (1394253688,), (1394253757,), (1394253759,), (1394253829,), (1394253830,), (1394253874,), (1394253879,), (1394254088,), (1394254139,), (1394254189,), (1394254253,), (1394254370,), (1394254394,), (1394254420,), (1394254446,), (1394254471,), (1394254493,), (1394254829,), (1394254900,), (1394254975,), (1394255026,), (1394255072,), (1394255140,), (1394255668,), (1394255720,), (1394255771,), (1394255806,), (1394256114,), (1394256169,), (1394256248,), (1394256304,), (1394256324,), (1394256332,), (1394256471,), (1394256521,), (1394256574,), (1394256790,), (1394256816,), (1394256841,), (1394256869,), (1394256902,), (1394256933,), (1394257059,), (1394257062,), (1394257065,), (1394257081,), (1394257105,), (1394257248,), (1394257300,), (1394257345,), (1394257375,), (1394257689,), (1394257691,), (1394257694,), (1394257696,), (1394257698,), (1394257700,), (1394257706,), (1394257710,), (1394257714,), (1394257718,), (1394257722,), (1394257742,), (1394257996,), (1394258008,), (1394258010,), (1394258012,), (1394258014,), (1394257952,), (1394257975,), (1394257977,), (1394257983,), (1394257993,), (1394258037,), (1394258040,), (1394258043,), (1394258059,), (1394258105,), (1394258109,), (1394258110,), (1394258112,), (1394258116,), (1394258137,), (1394258232,), (1394258236,), (1394258240,), (1394258244,), (1394258249,), (1394258264,), (1394258267,), (1394258270,), (1394258276,), (1394258281,), (1394258284,), (1394258309,), (1394258311,), (1394258312,), (1394258315,), (1394258318,), (1394258326,), (1394258406,), (1394258443,), (1394258467,), (1394258494,), (1394258824,), (1394258856,), (1394258890,), (1394258909,), (1394258914,), (1394258917,), (1394258970,), (1394258972,), (1394258977,), (1394259001,), (1394259006,), (1394259204,), (1394259232,), (1394259242,), (1394259244,), (1394259324,), (1394259326,), (1394259435,), (1394259512,), (1394259544,), (1394259569,), (1394259603,), (1394259706,), (1394260505,), (1394260544,), (1394260548,), (1394260600,), (1394260602,), (1394260603,), (1394260605,), (1394260608,), (1394260724,), (1394260727,), (1394260729,), (1394260742,), (1394260745,), (1394260748,), (1394260798,), (1394260813,), (1394260823,), (1394260825,), (1394261044,), (1394261050,), (1394261093,), (1394261111,), (1394261118,), (1394261248,), (1394261252,), (1394261255,), (1394261257,), (1394261261,), (1394261265,), (1394261288,), (1394261291,), (1394261293,), (1394261455,), (1394261481,), (1394261504,), (1394261534,), (1394261563,), (1394261592,), (1394261844,), (1394261902,), (1394261935,), (1394261947,), (1394261961,), (1394262124,), (1394262160,), (1394262190,), (1394262217,), (1394262248,), (1394263090,), (1394263165,), (1394263242,), (1394263321,), (1394263389,), (1394264165,), (1394257132,), (1394257402,), (1394257434,), (1394257528,), (1394257575,), (1394257618,), (1394257632,), (1394257636,), (1394257641,), (1394257772,), (1394257779,), (1394257781,), (1394257782,), (1394257784,), (1394258017,), (1394258026,), (1394258082,), (1394258087,), (1394258170,), (1394250657,), (1394250684,), (1394250711,), (1394250740,), (1394250768,), (1394250793,), (1394250855,), (1394250884,), (1394250910,), (1394250938,), (1394251164,), (1394251188,), (1394251213,), (1394251243,), (1394251270,), (1394251296,), (1394251445,), (1394251452,), (1394251469,), (1394251477,), (1394251627,), (1394251632,), (1394251738,), (1394251761,), (1394251791,), (1394251816,), (1394251848,), (1394251878,), (1394252242,), (1394252244,), (1394252264,), (1394252266,), (1394252279,), (1394252310,), (1394252359,), (1394252407,), (1394253275,), (1394253307,), (1394253323,), (1394253327,), (1394253360,), (1394253395,), (1394253430,), (1394253462,), (1394254287,), (1394254294,), (1394254323,), (1394254327,), (1394254331,), (1394254334,), (1394254337,), (1394254340,), (1394255350,), (1394255393,), (1394255421,), (1394255446,), (1394255475,), (1394255501,), (1394255837,), (1394255909,), (1394256352,), (1394256353,), (1394256356,), (1394256360,), (1394256364,), (1394256368,), (1394256606,), (1394256632,), (1394256657,), (1394256955,), (1394256958,), (1394257001,), (1394257038,), (1394257045,), (1394257050,), (1394264013,), (1394264086,), (1394264122,), (1394264130,), (1394264372,), (1394264380,), (1394264397,), (1394264421,), (1394264437,), (1394264449,), (1394264506,), (1394264514,), (1394264538,), (1394264542,), (1394264816,), (1394264818,), (1394264820,), (1394264821,), (1394264825,), (1394264828,), (1394264845,), (1394264846,), (1394264847,), (1394264850,), (1394264855,), (1394264882,), (1394264884,), (1394264886,), (1394264889,), (1394264894,), (1394264898,), (1394265305,), (1394265361,), (1394265411,), (1394265872,), (1394265922,), (1394265969,), (1394266709,), (1394266760,), (1394266807,), (1394266854,), (1394266903,), (1394266952,), (1394267450,), (1394267502,), (1394267529,), (1394267571,), (1394268168,), (1394268221,), (1394268282,), (1394268337,), (1394268388,), (1394268442,), (1394268766,), (1394268812,), (1394268849,), (1394268892,), (1394269178,), (1394269182,), (1394269185,), (1394269189,), (1394269201,), (1394269209,), (1394269250,), (1394269253,), (1394269256,), (1394269261,), (1394269296,), (1394269301,), (1394269311,), (1394269320,), (1394269341,), (1394269762,), (1394269821,), (1394270177,), (1394270185,), (1394270196,), (1394270309,), (1394270337,), (1394270360,), (1394270363,), (1394270381,), (1394270635,), (1394270690,), (1394270810,), (1394270893,), (1394270979,), (1394271061,), (1394271477,), (1394271480,), (1394271482,), (1394271509,), (1394271512,), (1394271514,), (1394271516,), (1394271518,), (1394271519,), (1394271540,), (1394271564,), (1394271600,), (1394271629,), (1394271656,), (1394271683,), (1394271734,), (1394271738,), (1394271746,), (1394272058,), (1394272067,), (1394272071,), (1394272075,), (1394272080,), (1394272084,), (1394272195,), (1394272208,), (1394272218,), (1394272226,), (1394272230,), (1394272233,), (1394272259,), (1394272262,), (1394272264,), (1394272268,), (1394272328,), (1394272331,), (1394272333,), (1394272335,), (1394272338,), (1394272420,), (1394272429,), (1394272434,), (1394272444,), (1394272474,), (1394272877,), (1394272901,), (1394272928,), (1394272953,), (1394273074,), (1394273104,), (1394272828,), (1394272852,), (1394273276,), (1394273325,), (1394273375,), (1394273423,), (1394273457,), (1394273494,), (1394273742,), (1394273765,), (1394273791,), (1394274025,), (1394274058,), (1394274083,), (1394274110,), (1394274367,), (1394274390,), (1394274418,), (1394274446,), (1394274467,), (1394274590,), (1394274599,), (1394274632,), (1394274647,), (1394274654,), (1394274681,), (1394274716,), (1394274719,), (1394274727,), (1394274755,), (1394275064,), (1394275082,), (1394275090,), (1394275095,), (1394275100,), (1394275104,), (1394275134,), (1394275160,), (1394275186,), (1394275216,), (1394275228,), (1394275295,), (1394275297,), (1394275299,), (1394275303,), (1394275360,), (1394275363,), (1394275377,), (1394275381,), (1394275386,), (1394275416,), (1394275418,), (1394275443,), (1394278395,), (1394279029,), (1394279056,), (1394279432,), (1394279441,), (1394279443,), (1394279666,), (1394279691,), (1394279719,), (1394279889,), (1394279910,), (1394279930,), (1394279934,), (1394279936,), (1394279939,), (1394279981,), (1394279984,), (1394280014,), (1394280016,), (1394280020,), (1394280050,), (1394280051,), (1394280052,), (1394280055,), (1394280085,), (1394280086,), (1394280089,), (1394280117,), (1394280146,), (1394280178,), (1394280397,), (1394280400,), (1394280402,), (1394280405,), (1394280457,), (1394280460,), (1394280461,), (1394280463,), (1394280466,), (1394280635,), (1394280637,), (1394280654,), (1394280681,), (1394281016,), (1394281217,), (1394281254,), (1394281280,), (1394281307,), (1394281393,), (1394281401,), (1394281427,), (1394281551,), (1394281553,), (1394281560,), (1394281561,), (1394281565,), (1394281868,), (1394281894,), (1394281904,), (1394281915,), (1394281916,), (1394281923,), (1394281791,), (1394281816,), (1394281842,), (1394281932,), (1394281935,), (1394281939,), (1394281943,), (1394281946,), (1394281965,), (1394281967,), (1394281969,), (1394281971,), (1394281975,), (1394281979,), (1394282005,), (1394282008,), (1394282010,), (1394282013,), (1394282031,), (1394282033,), (1394282035,), (1394282063,), (1394282067,), (1394282099,), (1394282103,), (1394282106,), (1394282109,), (1394282112,), (1394282162,), (1394282188,), (1394282221,), (1394282463,), (1394282467,), (1394282472,), (1394282476,), (1394282481,), (1394282485,), (1394282507,), (1394282512,), (1394282516,), (1394282520,), (1394282524,), (1394282528,), (1394282539,), (1394282542,), (1394282545,), (1394282626,), (1394282629,), (1394282653,), (1394282657,), (1394282670,), (1394282672,), (1394282676,), (1394282682,), (1394282686,), (1394282690,), (1394282697,), (1394282716,), (1394282962,), (1394282985,), (1394282998,), (1394283001,), (1394283005,), (1394283091,), (1394283093,), (1394283097,), (1394283100,), (1394283488,), (1394283373,), (1394283401,), (1394283428,), (1394283454,), (1394283483,), (1394283526,), (1394283530,), (1394283560,), (1394283594,), (1394283622,), (1394283635,), (1394283677,), (1394283684,), (1394283687,), (1394283709,), (1394283715,), (1394283729,), (1394283734,), (1394283738,), (1394283743,), (1394283768,), (1394283772,), (1394283775,), (1394283779,), (1394283782,), (1394283885,), (1394283886,), (1394283910,), (1394284023,), (1394284026,), (1394284029,), (1394284033,), (1394284060,), (1394284300,), (1394284304,), (1394284322,), (1394284380,), (1394284430,), (1394284479,), (1394284769,), (1394284796,), (1394284799,), (1394284803,), (1394284807,), (1394284821,), (1394284824,), (1394284828,), (1394284836,), (1394284869,), (1394284873,), (1394284877,), (1394284882,), (1394284887,), (1394284891,), (1394284900,), (1394284904,), (1394284907,), (1394284911,), (1394285130,), (1394285162,), (1394285173,), (1394285177,), (1394285227,), (1394285232,), (1394285237,), (1394285240,), (1394285244,), (1394285248,), (1394285292,), (1394285271,), (1394285274,), (1394285278,), (1394285282,), (1394285573,), (1394285576,), (1394285578,), (1394285580,), (1394285583,), (1394285586,), (1394285637,), (1394285662,), (1394285687,), (1394285884,), (1394285888,), (1394285890,), (1394285901,), (1394285922,), (1394285926,), (1394285989,), (1394286008,), (1394286011,), (1394286013,), (1394286067,), (1394286072,), (1394286083,), (1394286105,), (1394286131,), (1394286149,), (1394286195,), (1394286197,), (1394286274,), (1394286283,), (1394286293,), (1394286298,), (1394286302,), (1394286345,), (1394286402,), (1394286414,), (1394286417,), (1394286480,), (1394286484,), (1394286629,), (1394286640,), (1394286643,), (1394286647,), (1394286671,), (1394286674,), (1394286677,), (1394286682,), (1394286699,), (1394286703,), (1394286706,), (1394286710,), (1394286715,), (1394286733,), (1394286852,), (1394286845,), (1394286848,), (1394286850,), (1394286866,), (1394286868,), (1394286870,), (1394286874,), (1394286878,), (1394286880,), (1394286897,), (1394286900,), (1394286905,), (1394286935,), (1394286965,), (1394286974,), (1394287196,), (1394287226,), (1394287260,), (1394287287,), (1394287312,), (1394287340,), (1394287433,), (1394287461,), (1394287487,), (1394287679,), (1394287705,), (1394287721,), (1394287725,), (1394287729,), (1394287998,), (1394288000,), (1394288002,), (1394288005,), (1394288029,), (1394288032,), (1394288035,), (1394288038,), (1394288088,), (1394288091,), (1394288093,), (1394288144,), (1394288153,), (1394288154,), (1394288155,), (1394288128,), (1394288129,), (1394288132,), (1394288136,), (1394288140,), (1394288169,), (1394288172,), (1394288176,), (1394288196,), (1394288199,), (1394288281,), (1394288308,), (1394288339,), (1394288367,), (1394288496,), (1394288517,), (1394288537,), (1394288557,), (1394288562,), (1394288572,), (1394288693,), (1394288700,), (1394288748,), (1394288754,), (1394288757,), (1394288762,), (1394288766,), (1394288781,), (1394288786,), (1394288813,), (1394288817,), (1394288820,), (1394288823,), (1394288827,), (1394288840,), (1394288843,), (1394288847,), (1394288888,), (1394288892,), (1394288896,), (1394288901,), (1394288906,), (1394288910,), (1394288926,), (1394288928,), (1394288931,), (1394288934,), (1394288938,), (1394288940,), (1394288971,), (1394289005,), (1394289009,), (1394289012,), (1394289016,), (1394289130,), (1394289154,), (1394289180,), (1394289196,), (1394289330,), (1394289310,), (1394289314,), (1394289318,), (1394289323,), (1394289327,), (1394289430,), (1394289434,), (1394289437,), (1394289458,), (1394289461,), (1394289464,), (1394289469,), (1394289474,), (1394289479,), (1394289496,), (1394289500,), (1394289504,), (1394289509,), (1394289529,), (1394289533,), (1394289536,), (1394289539,), (1394289542,), (1394289588,), (1394289595,), (1394289598,), (1394289602,), (1394289629,), (1394289653,), (1394289660,), (1394289668,), (1394289672,), (1394289676,), (1394289693,), (1394289698,), (1394289703,), (1394289743,), (1394289747,), (1394289751,), (1394289757,), (1394289766,), (1394289888,), (1394289901,), (1394289904,), (1394289909,), (1394289913,), (1394289938,), (1394289941,), (1394289944,), (1394289962,), (1394289966,), (1394289970,), (1394289975,), (1394289983,), (1394289988,), (1394290021,), (1394290025,), (1394290033,), (1394290037,), (1394290051,), (1394290307,), (1394290330,), (1394290341,), (1394290589,), (1394290509,), (1394290535,), (1394290564,), (1394291130,), (1394291164,), (1394291201,), (1394291491,), (1394291527,), (1394291561,), (1394291602,), (1394291635,), (1394291670,), (1394291876,), (1394291899,), (1394291924,), (1394291951,), (1394292110,), (1394292137,), (1394292163,), (1394292190,), (1394292202,), (1394292218,), (1394292292,), (1394292296,), (1394292300,), (1394292332,), (1394292337,), (1394292340,), (1394292357,), (1394292384,), (1394292387,), (1394292391,), (1394292395,), (1394292400,), (1394292426,), (1394292429,), (1394292433,), (1394292437,), (1394292441,), (1394292454,), (1394292457,), (1394292460,), (1394292491,), (1394292493,), (1394292495,), (1394292497,), (1394292499,), (1394292501,), (1394292529,), (1394292548,), (1394292552,), (1394292556,), (1394292560,), (1394292564,), (1394292577,), (1394292585,), (1394292588,), (1394292590,), (1394292592,), (1394292595,), (1394292615,), (1394292617,), (1394292621,), (1394292623,), (1394292625,), (1394292631,), (1394292634,), (1394292637,), (1394292940,), (1394292807,), (1394292835,), (1394292861,), (1394292886,), (1394292914,), (1394293142,), (1394293144,), (1394293146,), (1394293149,), (1394293162,), (1394293326,), (1394293353,), (1394293417,), (1394293420,), (1394293423,), (1394293426,), (1394293460,), (1394293523,), (1394293525,), (1394293550,), (1394293552,), (1394293553,), (1394293555,), (1394293558,), (1394293561,), (1394293583,), (1394293586,), (1394293587,), (1394293617,), (1394293626,), (1394293630,), (1394293634,), (1394293636,), (1394293638,), (1394293655,), (1394293659,), (1394293662,), (1394293664,), (1394293671,), (1394293707,), (1394293895,), (1394293911,), (1394293913,), (1394293917,), (1394294063,), (1394294067,), (1394294070,), (1394294073,), (1394294076,), (1394294095,), (1394294102,), (1394294106,), (1394294110,), (1394294115,), (1394294120,), (1394294132,), (1394294140,), (1394294146,), (1394294185,), (1394294188,), (1394294191,), (1394294225,), (1394294176,), (1394294179,), (1394294182,), (1394294247,), (1394294251,), (1394294254,), (1394294258,), (1394294262,), (1394294321,), (1394294325,), (1394294327,), (1394294330,), (1394294365,), (1394294366,), (1394294368,), (1394294370,), (1394294371,), (1394294372,), (1394294379,), (1394294383,), (1394294387,), (1394294392,), (1394294398,), (1394294399,), (1394294448,), (1394294453,), (1394294456,), (1394294458,), (1394294482,), (1394294484,), (1394294504,), (1394294507,), (1394294510,), (1394294514,), (1394294520,), (1394294547,), (1394294548,), (1394294549,), (1394294551,), (1394294581,), (1394294585,), (1394294588,), (1394294594,), (1394294795,), (1394294820,), (1394294845,), (1394294869,), (1394295118,), (1394295119,), (1394295120,), (1394295122,), (1394295307,), (1394295324,), (1394295333,), (1394295344,), (1394295368,), (1394295404,), (1394295411,), (1394295413,), (1394295501,), (1394295514,), (1394295518,), (1394295521,), (1394295524,), (1394295526,), (1394295539,), (1394295548,), (1394295552,), (1394295556,), (1394295560,), (1394295563,), (1394295612,), (1394295590,), (1394295593,), (1394295600,), (1394295603,), (1394295607,), (1394295678,), (1394295686,), (1394295739,), (1394295792,), (1394295794,), (1394295796,), (1394295800,), (1394296042,), (1394296046,), (1394296050,), (1394296055,), (1394296059,), (1394296061,), (1394296078,), (1394296088,), (1394296095,), (1394296103,), (1394296181,), (1394296184,), (1394296187,), (1394296191,), (1394296195,), (1394296199,), (1394296349,), (1394296356,), (1394296360,), (1394296364,), (1394296377,), (1394296378,), (1394296379,), (1394296380,), (1394296384,), (1394296391,), (1394296458,), (1394296467,), (1394296481,), (1394296493,), (1394296499,), (1394296503,), (1394296512,), (1394296513,), (1394296519,), (1394296526,), (1394296538,), (1394296543,), (1394296546,), (1394296548,), (1394296550,), (1394296552,), (1394296561,), (1394296573,), (1394296577,), (1394296782,), (1394296821,), (1394296846,), (1394296871,), (1394296896,), (1394297174,), (1394297223,), (1394297275,), (1394297320,), (1394298182,), (1394298211,), (1394298247,), (1394298285,), (1394298337,), (1394299692,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13112025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28481026]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] map_info['map_portfolio_photo'] : {28481026: [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075]} final : True mtd_id 4302 list_pids : [1394171273, 1394170424, 1394170422, 1394170219, 1394170135, 1394170087, 1394170085, 1394170051, 1394170049, 1394169877, 1394169780, 1394169777, 1394169776, 1394169773, 1394169705, 1394169685, 1394169683, 1394169639, 1394169633, 1394169632, 1394169631, 1394169531, 1394169477, 1394169442, 1394169411, 1394169370, 1394169168, 1394169165, 1394169109, 1394169085, 1394169075] Looping around the photos to save general results len do output : 1 /28481026Didn'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, '4044541') ('4302', '28481026', '1394171273', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541') ('4302', None, None, None, None, None, None, None, '4044541') ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28481026', 'None', None, None, None, None, '4044541'), ('4302', '28481026', '1394171273', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170424', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170422', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170219', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170135', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170087', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170085', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170051', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394170049', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169877', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169780', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169777', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169776', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169773', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169705', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169685', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169683', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169639', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169633', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169632', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169631', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169531', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169477', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169442', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169411', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169370', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169168', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169165', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169109', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169085', None, None, None, None, None, '4044541'), ('4302', '28481026', '1394169075', None, None, None, None, None, '4044541')] time used for this insertion : 0.018533945083618164 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.730755805969238 time spend to save output : 0.018900632858276367 total time spend for step 5 : 4.749656438827515 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 (4044541) 3.00user 2.61system 0:19.21elapsed 29%CPU (0avgtext+0avgdata 162804maxresident)k 64inputs+23216outputs (2major+75794minor)pagefaults 0swaps