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 : 1804922 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 (3528271) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3528271) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934139 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3528271'] with mtr_portfolio_ids : ['25934139'] and first list_photo_ids : [] new path : /proc/1804922/ Name: python3 Umask: 0002 State: R (running) Tgid: 1804922 Ngid: 0 Pid: 1804922 PPid: 1804920 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1804922 NSpid: 1804922 NSpgid: 1804777 NSsid: 1804777 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 101024 kB VmRSS: 101024 kB RssAnon: 60160 kB RssFile: 40864 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 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: 47 nonvoluntary_ctxt_switches: 101 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1804922', 'Ngid': '0', 'Pid': '1804922', 'PPid': '1804920', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1804922', 'NSpid': '1804922', 'NSpgid': '1804777', 'NSsid': '1804777', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '101024 kB', 'VmRSS': '101024 kB', 'RssAnon': '60160 kB', 'RssFile': '40864 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 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': '47', 'nonvoluntary_ctxt_switches': '101'} ('datou_batch_current', '1804922', '1107252', '0', '1107252', '866004', '101024', b'', 'marlene', '3528271') 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 ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (25934139) 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 (3528271 ) ) 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 (25934139) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1376741200, 'portfolio_id': 25934139}, {'photo_id': 1376741198, 'portfolio_id': 25934139}, {'photo_id': 1376741195, 'portfolio_id': 25934139}, {'photo_id': 1376741191, 'portfolio_id': 25934139}, {'photo_id': 1376741189, 'portfolio_id': 25934139}, {'photo_id': 1376741187, 'portfolio_id': 25934139}, {'photo_id': 1376741175, 'portfolio_id': 25934139}, {'photo_id': 1376741172, 'portfolio_id': 25934139}, {'photo_id': 1376741170, 'portfolio_id': 25934139}, {'photo_id': 1376741167, 'portfolio_id': 25934139}, {'photo_id': 1376741164, 'portfolio_id': 25934139}, {'photo_id': 1376741161, 'portfolio_id': 25934139}, {'photo_id': 1376741156, 'portfolio_id': 25934139}, {'photo_id': 1376741154, 'portfolio_id': 25934139}, {'photo_id': 1376741151, 'portfolio_id': 25934139}, {'photo_id': 1376741149, 'portfolio_id': 25934139}, {'photo_id': 1376741147, 'portfolio_id': 25934139}, {'photo_id': 1376741145, 'portfolio_id': 25934139}, {'photo_id': 1376741137, 'portfolio_id': 25934139}, {'photo_id': 1376741134, 'portfolio_id': 25934139}, {'photo_id': 1376741132, 'portfolio_id': 25934139}, {'photo_id': 1376741129, 'portfolio_id': 25934139}, {'photo_id': 1376741127, 'portfolio_id': 25934139}, {'photo_id': 1376741124, 'portfolio_id': 25934139}, {'photo_id': 1376741115, 'portfolio_id': 25934139}, {'photo_id': 1376741111, 'portfolio_id': 25934139}, {'photo_id': 1376741109, 'portfolio_id': 25934139}, {'photo_id': 1376741105, 'portfolio_id': 25934139}, {'photo_id': 1376741103, 'portfolio_id': 25934139}, {'photo_id': 1376741099, 'portfolio_id': 25934139}, {'photo_id': 1376741090, 'portfolio_id': 25934139}, {'photo_id': 1376741086, 'portfolio_id': 25934139}, {'photo_id': 1376741083, 'portfolio_id': 25934139}, {'photo_id': 1376741080, 'portfolio_id': 25934139}, {'photo_id': 1376741077, 'portfolio_id': 25934139}, {'photo_id': 1376741075, 'portfolio_id': 25934139}, {'photo_id': 1376741067, 'portfolio_id': 25934139}] map_portfolio_id_photo_id: {25934139: [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067]} ##### 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.014948606491088867 #### 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 Thu Aug 14 05:43:27 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 (25934139) 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 : 25934139 get user id for portfolio 25934139 get sub ptf for main ptf 25934139, type 3726 and hashtags ['kraft', 'Teint_Dans_La_Masse', 'environnement', 'cartonnette', 'metal', 'Carton_gris', 'Carton_brun', 'flou', 'papier', 'autre_refus', 'plastique', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25934139 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','metal','Carton_gris','Carton_brun','flou','papier','autre_refus','plastique','mal_croppe')) 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`=25934139 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','metal','Carton_gris','Carton_brun','flou','papier','autre_refus','plastique','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 25934139, 'sub_port_id': 25934141, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470789, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'metal': {'main_port_id': 25934139, 'sub_port_id': 25934142, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470790, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'mal_croppe': {'main_port_id': 25934139, 'sub_port_id': 25934143, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470791, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'flou': {'main_port_id': 25934139, 'sub_port_id': 25934144, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470792, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'autre_refus': {'main_port_id': 25934139, 'sub_port_id': 25934145, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470793, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'environnement': {'main_port_id': 25934139, 'sub_port_id': 25934146, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470794, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'kraft': {'main_port_id': 25934139, 'sub_port_id': 25934147, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470795, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'Carton_brun': {'main_port_id': 25934139, 'sub_port_id': 25934148, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470796, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 25934139, 'sub_port_id': 25934149, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470797, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'Carton_gris': {'main_port_id': 25934139, 'sub_port_id': 25934150, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470798, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'papier': {'main_port_id': 25934139, 'sub_port_id': 25934151, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470799, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}, 'cartonnette': {'main_port_id': 25934139, 'sub_port_id': 25934152, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470800, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934141 , 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=25934139 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 (25934141) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934142 , 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=25934139 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 (25934142) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934143 , 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=25934139 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 (25934143) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934144 , 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=25934139 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 (25934144) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934145 , 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=25934139 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 (25934145) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934146 , 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=25934139 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 (25934146) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934147 , 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=25934139 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 (25934147) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934148 , 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=25934139 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 (25934148) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934149 , 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=25934139 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 (25934149) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934150 , 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=25934139 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 (25934150) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934151 , 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=25934139 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 (25934151) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25934152 , 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=25934139 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 (25934152) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25934139) result : ((1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,)) 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 (1376741200) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25934139 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','metal','Carton_gris','Carton_brun','flou','papier','autre_refus','plastique','mal_croppe')) 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`=25934139 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','environnement','cartonnette','metal','Carton_gris','Carton_brun','flou','papier','autre_refus','plastique','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 25934139, 'sub_port_id': 25934153, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470801, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'metal': {'main_port_id': 25934139, 'sub_port_id': 25934154, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470802, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'mal_croppe': {'main_port_id': 25934139, 'sub_port_id': 25934155, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470803, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'flou': {'main_port_id': 25934139, 'sub_port_id': 25934156, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470804, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'autre_refus': {'main_port_id': 25934139, 'sub_port_id': 25934157, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470805, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'environnement': {'main_port_id': 25934139, 'sub_port_id': 25934158, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470806, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'kraft': {'main_port_id': 25934139, 'sub_port_id': 25934159, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470807, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'Carton_brun': {'main_port_id': 25934139, 'sub_port_id': 25934160, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470808, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 25934139, 'sub_port_id': 25934161, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470809, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'Carton_gris': {'main_port_id': 25934139, 'sub_port_id': 25934162, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470810, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'papier': {'main_port_id': 25934139, 'sub_port_id': 25934163, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470811, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}, 'cartonnette': {'main_port_id': 25934139, 'sub_port_id': 25934164, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17470812, 'last_updated_at': datetime.datetime(2025, 8, 13, 11, 0, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 13, 11, 0, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 13, 11, 0, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934153,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934141 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934154,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934142 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934155,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934143 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934156,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934144 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934157,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934145 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934158,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934146 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934159,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934147 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934160,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934148 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934161,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934149 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934162,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934150 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934163,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934151 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25934164,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25934152 lien utilise dans velours : https://www.fotonower.com/velours/25934153,25934154,25934155,25934156,25934157,25934158,25934159,25934160,25934161,25934162,25934163,25934164?tags=plastique,metal,mal_croppe,flou,autre_refus,environnement,kraft,Carton_brun,Teint_Dans_La_Masse,Carton_gris,papier,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25934139]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] map_info['map_portfolio_photo'] : {25934139: [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067]} final : False mtd_id 4302 list_pids : [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] Looping around the photos to save general results len do output : 1 /25934139. 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, '3528271') ('4302', '25934139', '1376741200', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '25934139', "{'plastique': 25934141, 'metal': 25934142, 'mal_croppe': 25934143, 'flou': 25934144, 'autre_refus': 25934145, 'environnement': 25934146, 'kraft': 25934147, 'Carton_brun': 25934148, 'Teint_Dans_La_Masse': 25934149, 'Carton_gris': 25934150, 'papier': 25934151, 'cartonnette': 25934152}", None, None, None, None, '3528271'), ('4302', '25934139', '1376741200', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271')] time used for this insertion : 0.06750106811523438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4116177558898926 time spend to save output : 0.06797122955322266 total time spend for step 1 : 0.47958898544311523 step2:final Thu Aug 14 05:43:27 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 (25934139) 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 25934139 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1376741200,1376741198,1376741195,1376741191,1376741189,1376741187,1376741175,1376741172,1376741170,1376741167,1376741164,1376741161,1376741156,1376741154,1376741151,1376741149,1376741147,1376741145,1376741137,1376741134,1376741132,1376741129,1376741127,1376741124,1376741115,1376741111,1376741109,1376741105,1376741103,1376741099,1376741090,1376741086,1376741083,1376741080,1376741077,1376741075,1376741067); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25934139]) Inside saveOutput : final : False verbose : True original output for save of step final : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} new output for save of step final : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] map_info['map_portfolio_photo'] : {25934139: [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067]} final : False mtd_id 4302 list_pids : [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] Looping around the photos to save general results len do output : 37 /1376741200.Didn't retrieve data . /1376741198.Didn't retrieve data . /1376741195.Didn't retrieve data . /1376741191.Didn't retrieve data . /1376741189.Didn't retrieve data . /1376741187.Didn't retrieve data . /1376741175.Didn't retrieve data . /1376741172.Didn't retrieve data . /1376741170.Didn't retrieve data . /1376741167.Didn't retrieve data . /1376741164.Didn't retrieve data . /1376741161.Didn't retrieve data . /1376741156.Didn't retrieve data . /1376741154.Didn't retrieve data . /1376741151.Didn't retrieve data . /1376741149.Didn't retrieve data . /1376741147.Didn't retrieve data . /1376741145.Didn't retrieve data . /1376741137.Didn't retrieve data . /1376741134.Didn't retrieve data . /1376741132.Didn't retrieve data . /1376741129.Didn't retrieve data . /1376741127.Didn't retrieve data . /1376741124.Didn't retrieve data . /1376741115.Didn't retrieve data . /1376741111.Didn't retrieve data . /1376741109.Didn't retrieve data . /1376741105.Didn't retrieve data . /1376741103.Didn't retrieve data . /1376741099.Didn't retrieve data . /1376741090.Didn't retrieve data . /1376741086.Didn't retrieve data . /1376741083.Didn't retrieve data . /1376741080.Didn't retrieve data . /1376741077.Didn't retrieve data . /1376741075.Didn't retrieve data . /1376741067.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, '3528271') ('4302', '25934139', '1376741200', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '25934139', '1376741200', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741198', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741195', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741191', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741189', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741187', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741175', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741172', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741170', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741167', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741164', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741161', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741156', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741154', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741151', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741149', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741147', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741145', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741137', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741134', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741132', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741129', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741127', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741124', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741115', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741111', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741109', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741105', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741103', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741099', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741090', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741086', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741083', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741080', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741077', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741075', '0.0', None, None, None, None, '3528271'), ('4302', '25934139', '1376741067', '0.0', None, None, None, None, '3528271')] time used for this insertion : 0.021615266799926758 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.049982309341430664 time spend to save output : 0.023058414459228516 total time spend for step 2 : 0.07304072380065918 step3:velours_tree Thu Aug 14 05:43:27 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 : {25934139: [{'plastique': 25934141, 'metal': 25934142, 'mal_croppe': 25934143, 'flou': 25934144, 'autre_refus': 25934145, 'environnement': 25934146, 'kraft': 25934147, 'Carton_brun': 25934148, 'Teint_Dans_La_Masse': 25934149, 'Carton_gris': 25934150, 'papier': 25934151, 'cartonnette': 25934152}]} input_args_next_step : {25934139: ()} output_args : {25934139: [{'plastique': 25934141, 'metal': 25934142, 'mal_croppe': 25934143, 'flou': 25934144, 'autre_refus': 25934145, 'environnement': 25934146, 'kraft': 25934147, 'Carton_brun': 25934148, 'Teint_Dans_La_Masse': 25934149, 'Carton_gris': 25934150, 'papier': 25934151, 'cartonnette': 25934152}]} args : 25934139 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 : ({'plastique': 25934141, 'metal': 25934142, 'mal_croppe': 25934143, 'flou': 25934144, 'autre_refus': 25934145, 'environnement': 25934146, 'kraft': 25934147, 'Carton_brun': 25934148, 'Teint_Dans_La_Masse': 25934149, 'Carton_gris': 25934150, 'papier': 25934151, 'cartonnette': 25934152},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25934139) 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([25934139]) 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.27443909645080566 time spend to save output : 5.0067901611328125e-05 total time spend for step 3 : 0.274489164352417 step4:send_mail_cod Thu Aug 14 05:43:27 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 : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} input_args_next_step : {1376741200: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741200 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741198 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741195 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741191 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741189 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741187 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741175 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741172 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741170 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741167 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741164 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741161 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741156 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741154 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741151 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741149 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741147 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741145 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741137 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741134 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741132 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741129 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741127 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741124 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741115 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741111 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741109 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741105 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741103 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741099 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741090 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741086 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741083 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741080 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741077 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741075 depend.output_id : 0 input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ()} output_args : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',)} args : 1376741067 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 : {25934139: [{'plastique': 25934141, 'metal': 25934142, 'mal_croppe': 25934143, 'flou': 25934144, 'autre_refus': 25934145, 'environnement': 25934146, 'kraft': 25934147, 'Carton_brun': 25934148, 'Teint_Dans_La_Masse': 25934149, 'Carton_gris': 25934150, 'papier': 25934151, 'cartonnette': 25934152}]} input_args_next_step : {1376741200: ('0.0',), 1376741198: ('0.0',), 1376741195: ('0.0',), 1376741191: ('0.0',), 1376741189: ('0.0',), 1376741187: ('0.0',), 1376741175: ('0.0',), 1376741172: ('0.0',), 1376741170: ('0.0',), 1376741167: ('0.0',), 1376741164: ('0.0',), 1376741161: ('0.0',), 1376741156: ('0.0',), 1376741154: ('0.0',), 1376741151: ('0.0',), 1376741149: ('0.0',), 1376741147: ('0.0',), 1376741145: ('0.0',), 1376741137: ('0.0',), 1376741134: ('0.0',), 1376741132: ('0.0',), 1376741129: ('0.0',), 1376741127: ('0.0',), 1376741124: ('0.0',), 1376741115: ('0.0',), 1376741111: ('0.0',), 1376741109: ('0.0',), 1376741105: ('0.0',), 1376741103: ('0.0',), 1376741099: ('0.0',), 1376741090: ('0.0',), 1376741086: ('0.0',), 1376741083: ('0.0',), 1376741080: ('0.0',), 1376741077: ('0.0',), 1376741075: ('0.0',), 1376741067: ('0.0',), 25934139: ()} output_args : {25934139: [{'plastique': 25934141, 'metal': 25934142, 'mal_croppe': 25934143, 'flou': 25934144, 'autre_refus': 25934145, 'environnement': 25934146, 'kraft': 25934147, 'Carton_brun': 25934148, 'Teint_Dans_La_Masse': 25934149, 'Carton_gris': 25934150, 'papier': 25934151, 'cartonnette': 25934152}]} args : 25934139 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 :38, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25934139) 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 ph WHERE photo_id IN (1376741200,1376741198,1376741195,1376741191,1376741189,1376741187,1376741175,1376741172,1376741170,1376741167,1376741164,1376741161,1376741156,1376741154,1376741151,1376741149,1376741147,1376741145,1376741137,1376741134,1376741132,1376741129,1376741127,1376741124,1376741115,1376741111,1376741109,1376741105,1376741103,1376741099,1376741090,1376741086,1376741083,1376741080,1376741077,1376741075,1376741067) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1376741067 begin to download photo : 1376741103 begin to download photo : 1376741132 begin to download photo : 1376741156 begin to download photo : 1376741189 download finish for photo 1376741103 begin to download photo : 1376741105 download finish for photo 1376741132 begin to download photo : 1376741134 download finish for photo 1376741189 begin to download photo : 1376741191 download finish for photo 1376741067 begin to download photo : 1376741075 download finish for photo 1376741156 begin to download photo : 1376741161 download finish for photo 1376741105 begin to download photo : 1376741109 download finish for photo 1376741134 begin to download photo : 1376741137 download finish for photo 1376741075 begin to download photo : 1376741077 download finish for photo 1376741191 begin to download photo : 1376741195 download finish for photo 1376741137 begin to download photo : 1376741145 download finish for photo 1376741161 begin to download photo : 1376741164 download finish for photo 1376741109 begin to download photo : 1376741111 download finish for photo 1376741077 begin to download photo : 1376741080 download finish for photo 1376741111 begin to download photo : 1376741115 download finish for photo 1376741164 begin to download photo : 1376741167 download finish for photo 1376741145 begin to download photo : 1376741147 download finish for photo 1376741080 begin to download photo : 1376741083 download finish for photo 1376741115 begin to download photo : 1376741124 download finish for photo 1376741167 begin to download photo : 1376741170 download finish for photo 1376741147 begin to download photo : 1376741149 download finish for photo 1376741124 begin to download photo : 1376741127 download finish for photo 1376741083 begin to download photo : 1376741086 download finish for photo 1376741170 begin to download photo : 1376741172 download finish for photo 1376741149 begin to download photo : 1376741151 download finish for photo 1376741127 begin to download photo : 1376741129 download finish for photo 1376741086 begin to download photo : 1376741090 download finish for photo 1376741172 begin to download photo : 1376741175 download finish for photo 1376741151 begin to download photo : 1376741154 download finish for photo 1376741129 download finish for photo 1376741090 begin to download photo : 1376741099 download finish for photo 1376741175 begin to download photo : 1376741187 download finish for photo 1376741154 download finish for photo 1376741099 download finish for photo 1376741187 download finish for photo 1376741195 begin to download photo : 1376741198 download finish for photo 1376741198 begin to download photo : 1376741200 download finish for photo 1376741200 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette259341411755143009/ imagette259341421755143009/ imagette259341431755143009/ imagette259341441755143009/ imagette259341451755143009/ imagette259341471755143009/ imagette259341521755143009/ imagette259341481755143009/ imagette259341491755143009/ imagette259341501755143009/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P25934139_14-08-2025_05_43_29.pdf 25934141 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934141 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341411755143009 25934142 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934142 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341421755143009 25934143 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934143 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341431755143009 25934144 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934144 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341441755143009 25934145 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934145 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341451755143009 25934147 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934147 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341471755143009 25934152 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934152 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341521755143009 25934148 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934148 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341481755143009 25934149 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934149 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341491755143009 25934150 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934150 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259341501755143009 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25934139 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25934153,25934154,25934155,25934156,25934157,25934158,25934159,25934160,25934161,25934162,25934163,25934164?tags=plastique,metal,mal_croppe,flou,autre_refus,environnement,kraft,Carton_brun,Teint_Dans_La_Masse,Carton_gris,papier,cartonnette your option no_mail is active, we will not send the real mail to your client args[1376741200] : ('0.0',) no score found for photo 1376741200 We are sending mail with results at report@fotonower.com args[1376741198] : ('0.0',) no score found for photo 1376741198 We are sending mail with results at report@fotonower.com args[1376741195] : ('0.0',) no score found for photo 1376741195 We are sending mail with results at report@fotonower.com args[1376741191] : ('0.0',) no score found for photo 1376741191 We are sending mail with results at report@fotonower.com args[1376741189] : ('0.0',) no score found for photo 1376741189 We are sending mail with results at report@fotonower.com args[1376741187] : ('0.0',) no score found for photo 1376741187 We are sending mail with results at report@fotonower.com args[1376741175] : ('0.0',) no score found for photo 1376741175 We are sending mail with results at report@fotonower.com args[1376741172] : ('0.0',) no score found for photo 1376741172 We are sending mail with results at report@fotonower.com args[1376741170] : ('0.0',) no score found for photo 1376741170 We are sending mail with results at report@fotonower.com args[1376741167] : ('0.0',) no score found for photo 1376741167 We are sending mail with results at report@fotonower.com args[1376741164] : ('0.0',) no score found for photo 1376741164 We are sending mail with results at report@fotonower.com args[1376741161] : ('0.0',) no score found for photo 1376741161 We are sending mail with results at report@fotonower.com args[1376741156] : ('0.0',) no score found for photo 1376741156 We are sending mail with results at report@fotonower.com args[1376741154] : ('0.0',) no score found for photo 1376741154 We are sending mail with results at report@fotonower.com args[1376741151] : ('0.0',) no score found for photo 1376741151 We are sending mail with results at report@fotonower.com args[1376741149] : ('0.0',) no score found for photo 1376741149 We are sending mail with results at report@fotonower.com args[1376741147] : ('0.0',) no score found for photo 1376741147 We are sending mail with results at report@fotonower.com args[1376741145] : ('0.0',) no score found for photo 1376741145 We are sending mail with results at report@fotonower.com args[1376741137] : ('0.0',) no score found for photo 1376741137 We are sending mail with results at report@fotonower.com args[1376741134] : ('0.0',) no score found for photo 1376741134 We are sending mail with results at report@fotonower.com args[1376741132] : ('0.0',) no score found for photo 1376741132 We are sending mail with results at report@fotonower.com args[1376741129] : ('0.0',) no score found for photo 1376741129 We are sending mail with results at report@fotonower.com args[1376741127] : ('0.0',) no score found for photo 1376741127 We are sending mail with results at report@fotonower.com args[1376741124] : ('0.0',) no score found for photo 1376741124 We are sending mail with results at report@fotonower.com args[1376741115] : ('0.0',) no score found for photo 1376741115 We are sending mail with results at report@fotonower.com args[1376741111] : ('0.0',) no score found for photo 1376741111 We are sending mail with results at report@fotonower.com args[1376741109] : ('0.0',) no score found for photo 1376741109 We are sending mail with results at report@fotonower.com args[1376741105] : ('0.0',) no score found for photo 1376741105 We are sending mail with results at report@fotonower.com args[1376741103] : ('0.0',) no score found for photo 1376741103 We are sending mail with results at report@fotonower.com args[1376741099] : ('0.0',) no score found for photo 1376741099 We are sending mail with results at report@fotonower.com args[1376741090] : ('0.0',) no score found for photo 1376741090 We are sending mail with results at report@fotonower.com args[1376741086] : ('0.0',) no score found for photo 1376741086 We are sending mail with results at report@fotonower.com args[1376741083] : ('0.0',) no score found for photo 1376741083 We are sending mail with results at report@fotonower.com args[1376741080] : ('0.0',) no score found for photo 1376741080 We are sending mail with results at report@fotonower.com args[1376741077] : ('0.0',) no score found for photo 1376741077 We are sending mail with results at report@fotonower.com args[1376741075] : ('0.0',) no score found for photo 1376741075 We are sending mail with results at report@fotonower.com args[1376741067] : ('0.0',) no score found for photo 1376741067 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934139 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_P25934139_14-08-2025_05_43_29.pdf results_Auto_P25934139_14-08-2025_05_43_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934139_14-08-2025_05_43_29.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','25934139','results_Auto_P25934139_14-08-2025_05_43_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934139_14-08-2025_05_43_29.pdf','pdf','','0.27','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25934139]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] map_info['map_portfolio_photo'] : {25934139: [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067]} final : False mtd_id 4302 list_pids : [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] 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, '3528271') ('4302', '25934139', '1376741200', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '25934139', '1376741200', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271')] time used for this insertion : 0.01924753189086914 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9146854877471924 time spend to save output : 0.019674301147460938 total time spend for step 4 : 3.9343597888946533 step5:split_time_score Thu Aug 14 05:43: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 complete output_args for input 0 : ['25934139'] 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 : [('25934139',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25934139) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1376741103: {'path': 'temp/1755143007_1804922_1376741103_9789cd34aac9e3b4b2bc63e8a2bd0187.jpg', 'extension': 'jpg'}, 1376741105: {'path': 'temp/1755143007_1804922_1376741105_43253f0ca9b34dedfd4125ea78be58e9.jpg', 'extension': 'jpg'}, 1376741109: {'path': 'temp/1755143007_1804922_1376741109_391685b5611d90ac6a238d9f143f766e.jpg', 'extension': 'jpg'}, 1376741111: {'path': 'temp/1755143007_1804922_1376741111_98ee3668647e3e5dabc3ef50f4772bfe.jpg', 'extension': 'jpg'}, 1376741115: {'path': 'temp/1755143007_1804922_1376741115_595dadb207cb2b8c367211b2e34887b1.jpg', 'extension': 'jpg'}, 1376741124: {'path': 'temp/1755143007_1804922_1376741124_f0668aea1d6000e42fb2042ffc615c87.jpg', 'extension': 'jpg'}, 1376741127: {'path': 'temp/1755143007_1804922_1376741127_6d24e613127b9d34ac817030e7db0aee.jpg', 'extension': 'jpg'}, 1376741129: {'path': 'temp/1755143007_1804922_1376741129_f3a492a358b55c3551bf921fe2288d01.jpg', 'extension': 'jpg'}, 1376741132: {'path': 'temp/1755143007_1804922_1376741132_5643d042dcefa9e4240b24789ed884ec.jpg', 'extension': 'jpg'}, 1376741134: {'path': 'temp/1755143007_1804922_1376741134_15647268d26c1bb63aa9e484f5ee3f4b.jpg', 'extension': 'jpg'}, 1376741137: {'path': 'temp/1755143007_1804922_1376741137_28177c4438cf0daab686181a1f812b2e.jpg', 'extension': 'jpg'}, 1376741145: {'path': 'temp/1755143007_1804922_1376741145_a00eadd0ca051f2d441daa0b1cf9a33c.jpg', 'extension': 'jpg'}, 1376741147: {'path': 'temp/1755143007_1804922_1376741147_113e509205df8c3d47fb9b85c48fb215.jpg', 'extension': 'jpg'}, 1376741149: {'path': 'temp/1755143007_1804922_1376741149_7806f6138d6af1528fed787496f3cfda.jpg', 'extension': 'jpg'}, 1376741151: {'path': 'temp/1755143007_1804922_1376741151_f403c60462d43bab3695ba2baf2e1e99.jpg', 'extension': 'jpg'}, 1376741154: {'path': 'temp/1755143007_1804922_1376741154_fc0aba32dc5c39f0d485b3b8a3fbb127.jpg', 'extension': 'jpg'}, 1376741067: {'path': 'temp/1755143007_1804922_1376741067_ca82dcb0494410404751fa4f54a14848.jpg', 'extension': 'jpg'}, 1376741075: {'path': 'temp/1755143007_1804922_1376741075_88fc19623244c27170275a9d5cb1f9d0.jpg', 'extension': 'jpg'}, 1376741077: {'path': 'temp/1755143007_1804922_1376741077_a3504c1022a127c6995e208426a8020d.jpg', 'extension': 'jpg'}, 1376741080: {'path': 'temp/1755143007_1804922_1376741080_d57f155aba476ae9aeb13bd8b7284843.jpg', 'extension': 'jpg'}, 1376741083: {'path': 'temp/1755143007_1804922_1376741083_8c1d111d6486a02bf680dbc4d2026de5.jpg', 'extension': 'jpg'}, 1376741086: {'path': 'temp/1755143007_1804922_1376741086_fddeadfc2729e5557d59d4f10a2400e2.jpg', 'extension': 'jpg'}, 1376741090: {'path': 'temp/1755143007_1804922_1376741090_179de08ecc2779d8921913e2c88f6904.jpg', 'extension': 'jpg'}, 1376741099: {'path': 'temp/1755143007_1804922_1376741099_a4e91ca02aa29feb1863b6df0c3e4491.jpg', 'extension': 'jpg'}, 1376741156: {'path': 'temp/1755143007_1804922_1376741156_fdb8504b4682a6a63663fa9ad443266f.jpg', 'extension': 'jpg'}, 1376741161: {'path': 'temp/1755143007_1804922_1376741161_c639923702b72df634acb6a7adf9f653.jpg', 'extension': 'jpg'}, 1376741164: {'path': 'temp/1755143007_1804922_1376741164_e4f73f4232bcf1892a04486638f97946.jpg', 'extension': 'jpg'}, 1376741167: {'path': 'temp/1755143007_1804922_1376741167_14ab87c7c6faeea6f07d129d1b62c54b.jpg', 'extension': 'jpg'}, 1376741170: {'path': 'temp/1755143007_1804922_1376741170_06eb0536ff102cbd2821be994a7dc154.jpg', 'extension': 'jpg'}, 1376741172: {'path': 'temp/1755143007_1804922_1376741172_4611a40a134bbc9cf15fb18635c7f721.jpg', 'extension': 'jpg'}, 1376741175: {'path': 'temp/1755143007_1804922_1376741175_3ff784e78b9321c500617343e8c38293.jpg', 'extension': 'jpg'}, 1376741187: {'path': 'temp/1755143007_1804922_1376741187_cd7af3ebfd0b661e279c49293860354d.jpg', 'extension': 'jpg'}, 1376741189: {'path': 'temp/1755143007_1804922_1376741189_7360aad4b6a95ab6aa1c3b7605f560de.jpg', 'extension': 'jpg'}, 1376741191: {'path': 'temp/1755143007_1804922_1376741191_9735560a98f4fefd7bd0444d36db27b1.jpg', 'extension': 'jpg'}, 1376741195: {'path': 'temp/1755143007_1804922_1376741195_3015ef3560d6bd4728925cc3a6e14e03.jpg', 'extension': 'jpg'}, 1376741198: {'path': 'temp/1755143007_1804922_1376741198_a11f53ed34dc0496ec06e91a1203abaf.jpg', 'extension': 'jpg'}, 1376741200: {'path': 'temp/1755143007_1804922_1376741200_cf0a1d87466206d35909afd059065457.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 = 25934139; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 25934139 group by h (('08', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25934139 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 (25934139) 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 (25934139) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13082025 25934139 Nombre de photos uploadées : 37 / 23040 (0%) 13082025 25934139 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 13082025 25934139 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1376741200, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/13/cf0a1d87466206d35909afd059065457.jpg', 'username': None, 'uploaded_at': 1755073813, 'text': 'image_13082025_08_00_04_10145.jpg'}, {'photo_id': 1376741198, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/13/a11f53ed34dc0496ec06e91a1203abaf.jpg', 'username': None, 'uploaded_at': 1755073813, 'text': 'image_13082025_08_00_14_10134.jpg'}, {'photo_id': 1376741195, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/13/3015ef3560d6bd4728925cc3a6e14e03.jpg', 'username': None, 'uploaded_at': 1755073813, 'text': 'image_13082025_08_00_24_9649.jpg'}, {'photo_id': 1376741191, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/13/9735560a98f4fefd7bd0444d36db27b1.jpg', 'username': None, 'uploaded_at': 1755073813, 'text': 'image_13082025_08_00_54_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015952587127685547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25934139, '2025-08-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2111483,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2072443962097168 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= 2111483 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935930, 'dashboard_result_id': 13968655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935930_14-08-2025_05_35_27.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25936879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936890, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935933, 'dashboard_result_id': 13968656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935933_14-08-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936750, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935936, 'dashboard_result_id': 13968657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935936_14-08-2025_05_36_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936832, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935939, 'dashboard_result_id': 13968658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935939_14-08-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935992, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935942, 'dashboard_result_id': 13968659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935942_14-08-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936704, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935945, 'dashboard_result_id': 13968660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935945_14-08-2025_05_38_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936658, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935949, 'dashboard_result_id': 13968661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935949_14-08-2025_05_39_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936608, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935952, 'dashboard_result_id': 13968662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935952_14-08-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25936550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936561, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935958, 'dashboard_result_id': 13968663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935958_14-08-2025_05_40_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936517, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935964, 'dashboard_result_id': 13968664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935964_14-08-2025_05_41_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936477, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936483, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934442, 'dashboard_result_id': 13968665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934442_14-08-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934459, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935967, 'dashboard_result_id': 13968666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935967_14-08-2025_05_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25936405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936419, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935970, 'dashboard_result_id': 13968667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935970_13-08-2025_15_10_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25936308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936319, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935972, 'dashboard_result_id': 13968668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935972_13-08-2025_15_11_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25936354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936365, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934918, 'dashboard_result_id': 13968669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934918_13-08-2025_14_01_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934932, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935975, 'dashboard_result_id': 13968670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935975_13-08-2025_15_10_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936273, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934137, 'dashboard_result_id': 13968671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934137_14-08-2025_05_34_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934178, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934345, 'dashboard_result_id': 13968672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934345_13-08-2025_12_01_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25934348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934359, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934139, 'dashboard_result_id': 13968673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934139_13-08-2025_11_00_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934152, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934513, 'dashboard_result_id': 13968674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934513_13-08-2025_13_17_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25934514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934525, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934542, 'dashboard_result_id': 13968675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934542_13-08-2025_15_20_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934554, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25934663, 'dashboard_result_id': 13968676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934663_13-08-2025_15_20_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934675, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935085, 'dashboard_result_id': 13968677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935085_13-08-2025_14_09_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935098, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935405, 'dashboard_result_id': 13968678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935405_13-08-2025_14_29_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935421, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935427, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935977, 'dashboard_result_id': 13968679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935977_13-08-2025_15_09_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936227, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25935663, 'dashboard_result_id': 13968680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935663_13-08-2025_15_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935675, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25936044, 'dashboard_result_id': 13968681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936044_13-08-2025_15_07_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936091, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25936045, 'dashboard_result_id': 13968682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936045_13-08-2025_15_19_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936057, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25936766, 'dashboard_result_id': 13968683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936766_13-08-2025_15_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936787, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25937395, 'dashboard_result_id': 13968684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25937395_13-08-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25937416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25937417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25937418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25937419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25937420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25937421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25937422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25937423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25937424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25937425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25937426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25937427, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25938040, 'dashboard_result_id': 13968685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938040_13-08-2025_16_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25938088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938094, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25938417, 'dashboard_result_id': 13968686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938417_13-08-2025_16_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25938436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938447, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25938955, 'dashboard_result_id': 13968687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938955_13-08-2025_16_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25938982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938986, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25939339, 'dashboard_result_id': 13968688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939339_13-08-2025_16_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939354, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25939474, 'dashboard_result_id': 13968689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939474_13-08-2025_17_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939519, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25939865, 'dashboard_result_id': 13968690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939865_13-08-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939890, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25940495, 'dashboard_result_id': 13968691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940495_13-08-2025_18_05_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25940497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25940498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25940499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25940500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25940501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25940502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25940503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25940504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25940505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25940506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25940507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25940508, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25941821, 'dashboard_result_id': 13968692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25941821_13-08-2025_18_19_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25941868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25941869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25941870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25941871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25941872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25941873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25941874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25941875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25941876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25941877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25941878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25941879, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25942715, 'dashboard_result_id': 13968693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942715_13-08-2025_18_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25942720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25942721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25942722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25942723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25942724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25942725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25942726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25942727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25942728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25942729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25942730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25942731, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25943364, 'dashboard_result_id': 13968694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25943364_13-08-2025_18_56_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25943389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25943390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25943391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25943392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25943393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25943394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25943395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25943396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25943397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25943398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25943399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25943400, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25944152, 'dashboard_result_id': 13968695, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944152_13-08-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25944161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25944162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25944163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25944164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25944165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25944166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25944167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25944168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25944169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25944170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25944171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25944172, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25944694, 'dashboard_result_id': 13968696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944694_13-08-2025_19_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25944729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25944730, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25944731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25944732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25944733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25944734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25944735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25944736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25944737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25944738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25944739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25944740, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25945477, 'dashboard_result_id': 13968697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25945477_13-08-2025_19_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25945530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25945531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25945532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25945533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25945534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25945535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25945536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25945537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25945538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25945539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25945540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25945541, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25946029, 'dashboard_result_id': 13968698, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946029_13-08-2025_19_50_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25946048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25946049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25946050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25946051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25946052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25946053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25946054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25946055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25946056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25946057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25946058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25946059, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25946942, 'dashboard_result_id': 13968699, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946942_13-08-2025_20_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25946959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25946960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25946961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25946962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25946963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25946964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25946965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25946966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25946967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25946968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25946969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25946970, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25947487, 'dashboard_result_id': 13968700, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25947487_13-08-2025_20_17_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25947497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25947498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25947499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25947500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25947501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25947502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25947503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25947504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25947505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25947506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25947507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25947508, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25948225, 'dashboard_result_id': 13968701, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948225_13-08-2025_20_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25948268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25948269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25948270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25948271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25948272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25948273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25948274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25948275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25948276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25948277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25948278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25948279, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25948971, 'dashboard_result_id': 13968702, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948971_13-08-2025_21_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25948980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25948981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25948982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25948983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25948984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25948985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25948986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25948987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25948988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25948989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25948990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25948991, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25950112, 'dashboard_result_id': 13968703, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950112_13-08-2025_21_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25950130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25950131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25950132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25950133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25950134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25950135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25950136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25950137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25950138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25950139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25950140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25950141, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25950740, 'dashboard_result_id': 13968704, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950740_13-08-2025_21_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25950751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25950752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25950753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25950754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25950755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25950756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25950757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25950758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25950759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25950760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25950761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25950762, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25951345, 'dashboard_result_id': 13968705, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951345_13-08-2025_21_47_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25951360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25951361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25951362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25951363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25951364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25951365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25951366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25951367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25951368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25951369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25951370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25951371, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25951827, 'dashboard_result_id': 13968706, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951827_13-08-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25951872, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25951873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25951874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25951875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25951876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25951877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25951878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25951879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25951880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25951881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25951882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25951883, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25952478, 'dashboard_result_id': 13968707, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25952478_13-08-2025_22_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25952531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25952532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25952533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25952534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25952535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25952536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25952537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25952538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25952539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25952540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25952541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25952542, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25953345, 'dashboard_result_id': 13968708, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953345_13-08-2025_22_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25953386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25953387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25953388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25953389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25953390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25953391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25953392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25953394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25953395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25953396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25953397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25953398, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25953937, 'dashboard_result_id': 13968709, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953937_13-08-2025_22_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25954030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25954031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25954032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25954033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25954034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25954035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25954036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25954037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25954038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25954039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25954040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25954041, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25954580, 'dashboard_result_id': 13968710, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25954580_13-08-2025_23_03_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25954657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25954658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25954659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25954660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25954661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25954662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25954663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25954664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25954665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25954666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25954667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25954668, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25955294, 'dashboard_result_id': 13968711, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25955294_13-08-2025_23_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25955311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25955312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25955313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25955314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25955315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25955316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25955317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25955318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25955319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25955320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25955322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25955323, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25956072, 'dashboard_result_id': 13968712, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956072_13-08-2025_23_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25956151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25956153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25956154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25956155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25956156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25956157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25956158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25956159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25956160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25956161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25956162, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25956733, 'dashboard_result_id': 13968713, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956733_13-08-2025_23_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25956827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25956828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25956830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25956831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25956832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25956833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25956834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25956835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25956836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25956837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25956838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25956839, 'pht': 3726}}"}, {'dashboat_entry_day': 2111483, 'dashboard_run_id': 2122611, 'mtr_portfolio_id': 25957469, 'dashboard_result_id': 13968714, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957469_14-08-2025_01_55_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25957520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25957521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25957522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25957523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25957524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25957525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25957526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25957527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25957528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25957529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25957530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25957531, '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 = 25935930 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 = 25935930 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 = 25935930 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935930 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 = 25935930 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 = 25935930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935930_14-08-2025_05_35_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935930_14-08-2025_05_35_27.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25936879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936890, 'pht': 3726}}" where mtr_portfolio_id = 25935930 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935933 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 = 25935933 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 = 25935933 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935933 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 = 25935933 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 = 25935933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935933_14-08-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935933_14-08-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936750, 'pht': 3726}}" where mtr_portfolio_id = 25935933 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935936 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 = 25935936 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 = 25935936 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935936 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 = 25935936 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 = 25935936 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935936_14-08-2025_05_36_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935936 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935936_14-08-2025_05_36_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936832, 'pht': 3726}}" where mtr_portfolio_id = 25935936 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935939 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 = 25935939 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 = 25935939 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935939 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 = 25935939 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 = 25935939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935939_14-08-2025_05_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935939_14-08-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935992, 'pht': 3726}}" where mtr_portfolio_id = 25935939 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935942 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 = 25935942 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 = 25935942 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935942 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 = 25935942 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 = 25935942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935942_14-08-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935942_14-08-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936704, 'pht': 3726}}" where mtr_portfolio_id = 25935942 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935945 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 = 25935945 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 = 25935945 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935945 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 = 25935945 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 = 25935945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935945_14-08-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935945_14-08-2025_05_38_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936658, 'pht': 3726}}" where mtr_portfolio_id = 25935945 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935949 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 = 25935949 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 = 25935949 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935949 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 = 25935949 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 = 25935949 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935949_14-08-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935949 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935949_14-08-2025_05_39_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936608, 'pht': 3726}}" where mtr_portfolio_id = 25935949 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935952 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 = 25935952 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 = 25935952 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935952 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 = 25935952 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 = 25935952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935952_14-08-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935952_14-08-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25936550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936561, 'pht': 3726}}" where mtr_portfolio_id = 25935952 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935958 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 = 25935958 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 = 25935958 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935958 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 = 25935958 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 = 25935958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935958_14-08-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935958_14-08-2025_05_40_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936517, 'pht': 3726}}" where mtr_portfolio_id = 25935958 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935964 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 = 25935964 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 = 25935964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935964 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 = 25935964 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 = 25935964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935964_14-08-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935964_14-08-2025_05_41_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936477, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936483, 'pht': 3726}}" where mtr_portfolio_id = 25935964 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934442 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 = 25934442 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 = 25934442 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934442 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 = 25934442 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 = 25934442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934442_14-08-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934442_14-08-2025_05_42_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934459, 'pht': 3726}}" where mtr_portfolio_id = 25934442 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935967 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 = 25935967 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 = 25935967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935967 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 = 25935967 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 = 25935967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935967_14-08-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935967_14-08-2025_05_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25936405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936419, 'pht': 3726}}" where mtr_portfolio_id = 25935967 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935970 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 = 25935970 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 = 25935970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935970 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 = 25935970 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 = 25935970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935970_13-08-2025_15_10_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935970_13-08-2025_15_10_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25936308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936319, 'pht': 3726}}" where mtr_portfolio_id = 25935970 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935972 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 = 25935972 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 = 25935972 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935972 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 = 25935972 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 = 25935972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935972_13-08-2025_15_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935972_13-08-2025_15_11_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25936354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936360, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936365, 'pht': 3726}}" where mtr_portfolio_id = 25935972 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934918 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 = 25934918 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 = 25934918 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934918 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 = 25934918 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 = 25934918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934918_13-08-2025_14_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934918_13-08-2025_14_01_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934932, 'pht': 3726}}" where mtr_portfolio_id = 25934918 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935975 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 = 25935975 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 = 25935975 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25935975 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 = 25935975 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 = 25935975 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935975_13-08-2025_15_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935975 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935975_13-08-2025_15_10_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936273, 'pht': 3726}}" where mtr_portfolio_id = 25935975 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934137 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 = 25934137 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 = 25934137 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934137 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 = 25934137 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 = 25934137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934137_14-08-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934137_14-08-2025_05_34_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934178, 'pht': 3726}}" where mtr_portfolio_id = 25934137 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934345 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 = 25934345 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 = 25934345 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934345 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 = 25934345 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 = 25934345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934345_13-08-2025_12_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934345_13-08-2025_12_01_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25934348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934359, 'pht': 3726}}" where mtr_portfolio_id = 25934345 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934139 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 = 25934139 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 = 25934139 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934139 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 = 25934139 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 = 25934139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934139_14-08-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934139_14-08-2025_05_43_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934152, 'pht': 3726}}" where mtr_portfolio_id = 25934139 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934513 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 = 25934513 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 = 25934513 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934513 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 = 25934513 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 = 25934513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934513_13-08-2025_13_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934513_13-08-2025_13_17_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25934514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934525, 'pht': 3726}}" where mtr_portfolio_id = 25934513 and dashboard_run_id = 2122611 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25934542 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': 3517675, 'mtr_portfolio_id': 25934542, 'created_at': datetime.datetime(2025, 8, 13, 15, 20, 39), 'result': '0.03304468007031132', 'result_long': None, 'result_double': None}] Qualite : 0.03304468007031132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25934542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934542_13-08-2025_15_20_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934542 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934542_13-08-2025_15_20_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934554, 'pht': 3726}}" where mtr_portfolio_id = 25934542 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25934542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968675, 0.03304468007031132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934542_13-08-2025_15_20_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934554, '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 = 25934663 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': 3517704, 'mtr_portfolio_id': 25934663, 'created_at': datetime.datetime(2025, 8, 13, 15, 20, 27), 'result': '0.042618473234173636', 'result_long': None, 'result_double': None}] Qualite : 0.042618473234173636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25934663 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934663_13-08-2025_15_20_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25934663 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934663_13-08-2025_15_20_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934675, 'pht': 3726}}" where mtr_portfolio_id = 25934663 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25934663 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968676, 0.042618473234173636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25934663_13-08-2025_15_20_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25934664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25934665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25934666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25934667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25934668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25934669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25934670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25934671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25934672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25934673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25934674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25934675, '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 = 25935085 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': 3517879, 'mtr_portfolio_id': 25935085, 'created_at': datetime.datetime(2025, 8, 13, 14, 9, 31), 'result': '0.048939354374723514', 'result_long': None, 'result_double': None}] Qualite : 0.048939354374723514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25935085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935085_13-08-2025_14_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935085_13-08-2025_14_09_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935098, 'pht': 3726}}" where mtr_portfolio_id = 25935085 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25935085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968677, 0.048939354374723514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935085_13-08-2025_14_09_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935098, '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 = 25935405 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': 3518024, 'mtr_portfolio_id': 25935405, 'created_at': datetime.datetime(2025, 8, 13, 14, 29, 30), 'result': '0.07268717194542583', 'result_long': None, 'result_double': None}] Qualite : 0.07268717194542583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25935405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935405_13-08-2025_14_29_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935405_13-08-2025_14_29_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935421, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935427, 'pht': 3726}}" where mtr_portfolio_id = 25935405 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25935405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968678, 0.07268717194542583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935405_13-08-2025_14_29_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935421, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935427, '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 = 25935977 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': 3518346, 'mtr_portfolio_id': 25935977, 'created_at': datetime.datetime(2025, 8, 13, 15, 9, 29), 'result': '0.041068805150732114', 'result_long': None, 'result_double': None}] Qualite : 0.041068805150732114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25935977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935977_13-08-2025_15_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935977_13-08-2025_15_09_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936227, 'pht': 3726}}" where mtr_portfolio_id = 25935977 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25935977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968679, 0.041068805150732114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935977_13-08-2025_15_09_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936227, '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 = 25935663 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': 3518151, 'mtr_portfolio_id': 25935663, 'created_at': datetime.datetime(2025, 8, 13, 15, 19, 59), 'result': '0.012786813451486549', 'result_long': None, 'result_double': None}] Qualite : 0.012786813451486549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25935663 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935663_13-08-2025_15_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25935663 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935663_13-08-2025_15_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935675, 'pht': 3726}}" where mtr_portfolio_id = 25935663 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25935663 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968680, 0.012786813451486549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25935663_13-08-2025_15_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25935664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25935665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25935666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25935667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25935668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25935669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25935670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25935671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25935672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25935673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25935674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25935675, '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 = 25936044 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': 3518394, 'mtr_portfolio_id': 25936044, 'created_at': datetime.datetime(2025, 8, 13, 15, 7, 31), 'result': '0.06281819863072642', 'result_long': None, 'result_double': None}] Qualite : 0.06281819863072642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25936044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936044_13-08-2025_15_07_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25936044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936044_13-08-2025_15_07_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936091, 'pht': 3726}}" where mtr_portfolio_id = 25936044 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25936044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968681, 0.06281819863072642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936044_13-08-2025_15_07_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936091, '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 = 25936045 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': 3518395, 'mtr_portfolio_id': 25936045, 'created_at': datetime.datetime(2025, 8, 13, 15, 19, 28), 'result': '0.03614589944434155', 'result_long': None, 'result_double': None}] Qualite : 0.03614589944434155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25936045 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936045_13-08-2025_15_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25936045 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936045_13-08-2025_15_19_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936057, 'pht': 3726}}" where mtr_portfolio_id = 25936045 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25936045 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968682, 0.03614589944434155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936045_13-08-2025_15_19_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936057, '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 = 25936766 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': 3518536, 'mtr_portfolio_id': 25936766, 'created_at': datetime.datetime(2025, 8, 13, 15, 32, 58), 'result': '0.05358607067510839', 'result_long': None, 'result_double': None}] Qualite : 0.05358607067510839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25936766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936766_13-08-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25936766 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936766_13-08-2025_15_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936787, 'pht': 3726}}" where mtr_portfolio_id = 25936766 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25936766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968683, 0.05358607067510839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25936766_13-08-2025_15_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25936776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25936777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25936778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25936779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25936780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25936781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25936782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25936783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25936784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25936785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25936786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25936787, '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 = 25937395 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': 3518900, 'mtr_portfolio_id': 25937395, 'created_at': datetime.datetime(2025, 8, 13, 15, 48, 59), 'result': '0.04863714685229094', 'result_long': None, 'result_double': None}] Qualite : 0.04863714685229094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25937395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25937395_13-08-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25937395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25937395_13-08-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25937416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25937417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25937418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25937419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25937420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25937421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25937422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25937423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25937424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25937425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25937426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25937427, 'pht': 3726}}" where mtr_portfolio_id = 25937395 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25937395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968684, 0.04863714685229094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25937395_13-08-2025_15_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25937416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25937417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25937418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25937419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25937420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25937421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25937422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25937423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25937424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25937425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25937426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25937427, '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 = 25938040 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': 3519266, 'mtr_portfolio_id': 25938040, 'created_at': datetime.datetime(2025, 8, 13, 16, 2, 57), 'result': '0.06173461371281378', 'result_long': None, 'result_double': None}] Qualite : 0.06173461371281378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25938040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938040_13-08-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25938040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938040_13-08-2025_16_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25938088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938094, 'pht': 3726}}" where mtr_portfolio_id = 25938040 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25938040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968685, 0.06173461371281378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938040_13-08-2025_16_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25938088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938094, '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 = 25938417 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': 3519448, 'mtr_portfolio_id': 25938417, 'created_at': datetime.datetime(2025, 8, 13, 16, 18, 59), 'result': '0.070094383180425', 'result_long': None, 'result_double': None}] Qualite : 0.070094383180425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25938417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938417_13-08-2025_16_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25938417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938417_13-08-2025_16_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25938436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938447, 'pht': 3726}}" where mtr_portfolio_id = 25938417 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25938417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968686, 0.070094383180425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938417_13-08-2025_16_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25938436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938447, '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 = 25938955 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': 3519685, 'mtr_portfolio_id': 25938955, 'created_at': datetime.datetime(2025, 8, 13, 16, 41, 31), 'result': '0.029580955247325756', 'result_long': None, 'result_double': None}] Qualite : 0.029580955247325756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25938955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938955_13-08-2025_16_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25938955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938955_13-08-2025_16_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25938982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938986, 'pht': 3726}}" where mtr_portfolio_id = 25938955 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25938955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968687, 0.029580955247325756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25938955_13-08-2025_16_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25938975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25938976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25938977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25938978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25938979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25938980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25938981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25938982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25938983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25938984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25938985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25938986, '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 = 25939339 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': 3519878, 'mtr_portfolio_id': 25939339, 'created_at': datetime.datetime(2025, 8, 13, 16, 46, 58), 'result': '0.02993341923346382', 'result_long': None, 'result_double': None}] Qualite : 0.02993341923346382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25939339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939339_13-08-2025_16_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25939339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939339_13-08-2025_16_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939354, 'pht': 3726}}" where mtr_portfolio_id = 25939339 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25939339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968688, 0.02993341923346382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939339_13-08-2025_16_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939354, '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 = 25939474 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': 3519938, 'mtr_portfolio_id': 25939474, 'created_at': datetime.datetime(2025, 8, 13, 17, 4, 59), 'result': '0.048077283116028914', 'result_long': None, 'result_double': None}] Qualite : 0.048077283116028914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25939474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939474_13-08-2025_17_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25939474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939474_13-08-2025_17_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939519, 'pht': 3726}}" where mtr_portfolio_id = 25939474 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25939474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968689, 0.048077283116028914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939474_13-08-2025_17_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939519, '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 = 25939865 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': 3520118, 'mtr_portfolio_id': 25939865, 'created_at': datetime.datetime(2025, 8, 13, 17, 18, 57), 'result': '0.06383222843936398', 'result_long': None, 'result_double': None}] Qualite : 0.06383222843936398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25939865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939865_13-08-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25939865 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939865_13-08-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939890, 'pht': 3726}}" where mtr_portfolio_id = 25939865 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25939865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968690, 0.06383222843936398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25939865_13-08-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25939879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25939880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25939881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25939882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25939883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25939884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25939885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25939886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25939887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25939888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25939889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25939890, '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 = 25940495 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': 3520457, 'mtr_portfolio_id': 25940495, 'created_at': datetime.datetime(2025, 8, 13, 18, 5), 'result': '0.07239538544245322', 'result_long': None, 'result_double': None}] Qualite : 0.07239538544245322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25940495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940495_13-08-2025_18_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940495_13-08-2025_18_05_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25940497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25940498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25940499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25940500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25940501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25940502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25940503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25940504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25940505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25940506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25940507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25940508, 'pht': 3726}}" where mtr_portfolio_id = 25940495 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25940495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968691, 0.07239538544245322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940495_13-08-2025_18_05_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25940497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25940498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25940499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25940500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25940501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25940502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25940503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25940504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25940505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25940506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25940507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25940508, '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 = 25941821 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': 3520720, 'mtr_portfolio_id': 25941821, 'created_at': datetime.datetime(2025, 8, 13, 18, 19, 29), 'result': '0.04299025332392132', 'result_long': None, 'result_double': None}] Qualite : 0.04299025332392132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25941821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25941821_13-08-2025_18_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25941821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25941821_13-08-2025_18_19_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25941868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25941869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25941870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25941871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25941872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25941873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25941874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25941875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25941876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25941877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25941878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25941879, 'pht': 3726}}" where mtr_portfolio_id = 25941821 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25941821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968692, 0.04299025332392132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25941821_13-08-2025_18_19_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25941868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25941869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25941870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25941871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25941872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25941873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25941874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25941875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25941876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25941877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25941878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25941879, '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 = 25942715 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': 3520815, 'mtr_portfolio_id': 25942715, 'created_at': datetime.datetime(2025, 8, 13, 18, 32, 59), 'result': '0.05582123481811539', 'result_long': None, 'result_double': None}] Qualite : 0.05582123481811539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25942715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942715_13-08-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25942715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942715_13-08-2025_18_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25942720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25942721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25942722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25942723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25942724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25942725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25942726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25942727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25942728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25942729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25942730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25942731, 'pht': 3726}}" where mtr_portfolio_id = 25942715 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25942715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968693, 0.05582123481811539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942715_13-08-2025_18_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25942720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25942721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25942722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25942723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25942724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25942725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25942726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25942727, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25942728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25942729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25942730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25942731, '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 = 25943364 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': 3520904, 'mtr_portfolio_id': 25943364, 'created_at': datetime.datetime(2025, 8, 13, 18, 56, 29), 'result': '0.04151651630878079', 'result_long': None, 'result_double': None}] Qualite : 0.04151651630878079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25943364 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25943364_13-08-2025_18_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25943364 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25943364_13-08-2025_18_56_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25943389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25943390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25943391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25943392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25943393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25943394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25943395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25943396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25943397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25943398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25943399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25943400, 'pht': 3726}}" where mtr_portfolio_id = 25943364 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25943364 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968694, 0.04151651630878079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25943364_13-08-2025_18_56_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25943389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25943390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25943391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25943392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25943393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25943394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25943395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25943396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25943397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25943398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25943399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25943400, '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 = 25944152 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': 3521028, 'mtr_portfolio_id': 25944152, 'created_at': datetime.datetime(2025, 8, 13, 19, 2, 59), 'result': '0.06310918140800892', 'result_long': None, 'result_double': None}] Qualite : 0.06310918140800892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25944152 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944152_13-08-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25944152 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944152_13-08-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25944161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25944162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25944163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25944164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25944165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25944166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25944167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25944168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25944169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25944170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25944171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25944172, 'pht': 3726}}" where mtr_portfolio_id = 25944152 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25944152 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968695, 0.06310918140800892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944152_13-08-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25944161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25944162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25944163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25944164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25944165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25944166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25944167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25944168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25944169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25944170, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25944171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25944172, '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 = 25944694 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': 3521182, 'mtr_portfolio_id': 25944694, 'created_at': datetime.datetime(2025, 8, 13, 19, 18, 58), 'result': '0.04047041117981313', 'result_long': None, 'result_double': None}] Qualite : 0.04047041117981313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25944694 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944694_13-08-2025_19_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25944694 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944694_13-08-2025_19_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25944729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25944730, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25944731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25944732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25944733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25944734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25944735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25944736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25944737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25944738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25944739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25944740, 'pht': 3726}}" where mtr_portfolio_id = 25944694 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25944694 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968696, 0.04047041117981313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25944694_13-08-2025_19_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25944729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25944730, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25944731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25944732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25944733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25944734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25944735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25944736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25944737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25944738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25944739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25944740, '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 = 25945477 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': 3521399, 'mtr_portfolio_id': 25945477, 'created_at': datetime.datetime(2025, 8, 13, 19, 32, 59), 'result': '0.02673942088155237', 'result_long': None, 'result_double': None}] Qualite : 0.02673942088155237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25945477 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25945477_13-08-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25945477 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25945477_13-08-2025_19_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25945530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25945531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25945532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25945533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25945534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25945535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25945536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25945537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25945538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25945539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25945540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25945541, 'pht': 3726}}" where mtr_portfolio_id = 25945477 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25945477 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968697, 0.02673942088155237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25945477_13-08-2025_19_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25945530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25945531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25945532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25945533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25945534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25945535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25945536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25945537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25945538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25945539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25945540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25945541, '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 = 25946029 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': 3521607, 'mtr_portfolio_id': 25946029, 'created_at': datetime.datetime(2025, 8, 13, 19, 50, 58), 'result': '0.02826399138938136', 'result_long': None, 'result_double': None}] Qualite : 0.02826399138938136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25946029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946029_13-08-2025_19_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25946029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946029_13-08-2025_19_50_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25946048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25946049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25946050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25946051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25946052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25946053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25946054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25946055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25946056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25946057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25946058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25946059, 'pht': 3726}}" where mtr_portfolio_id = 25946029 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25946029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968698, 0.02826399138938136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946029_13-08-2025_19_50_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25946048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25946049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25946050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25946051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25946052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25946053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25946054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25946055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25946056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25946057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25946058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25946059, '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 = 25946942 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': 3521857, 'mtr_portfolio_id': 25946942, 'created_at': datetime.datetime(2025, 8, 13, 20, 4, 59), 'result': '0.0352365003295346', 'result_long': None, 'result_double': None}] Qualite : 0.0352365003295346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25946942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946942_13-08-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25946942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946942_13-08-2025_20_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25946959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25946960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25946961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25946962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25946963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25946964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25946965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25946966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25946967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25946968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25946969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25946970, 'pht': 3726}}" where mtr_portfolio_id = 25946942 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25946942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968699, 0.0352365003295346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25946942_13-08-2025_20_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25946959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25946960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25946961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25946962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25946963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25946964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25946965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25946966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25946967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25946968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25946969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25946970, '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 = 25947487 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': 3522041, 'mtr_portfolio_id': 25947487, 'created_at': datetime.datetime(2025, 8, 13, 20, 17, 2), 'result': '0.03771766155022843', 'result_long': None, 'result_double': None}] Qualite : 0.03771766155022843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25947487 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25947487_13-08-2025_20_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25947487 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25947487_13-08-2025_20_17_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25947497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25947498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25947499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25947500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25947501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25947502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25947503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25947504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25947505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25947506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25947507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25947508, 'pht': 3726}}" where mtr_portfolio_id = 25947487 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25947487 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968700, 0.03771766155022843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25947487_13-08-2025_20_17_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25947497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25947498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25947499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25947500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25947501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25947502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25947503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25947504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25947505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25947506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25947507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25947508, '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 = 25948225 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': 3522239, 'mtr_portfolio_id': 25948225, 'created_at': datetime.datetime(2025, 8, 13, 20, 33, 29), 'result': '0.02176452114877716', 'result_long': None, 'result_double': None}] Qualite : 0.02176452114877716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25948225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948225_13-08-2025_20_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25948225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948225_13-08-2025_20_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25948268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25948269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25948270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25948271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25948272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25948273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25948274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25948275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25948276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25948277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25948278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25948279, 'pht': 3726}}" where mtr_portfolio_id = 25948225 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25948225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968701, 0.02176452114877716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948225_13-08-2025_20_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25948268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25948269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25948270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25948271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25948272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25948273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25948274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25948275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25948276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25948277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25948278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25948279, '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 = 25948971 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': 3522451, 'mtr_portfolio_id': 25948971, 'created_at': datetime.datetime(2025, 8, 13, 21, 5, 30), 'result': '0.056926033013974975', 'result_long': None, 'result_double': None}] Qualite : 0.056926033013974975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25948971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948971_13-08-2025_21_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25948971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948971_13-08-2025_21_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25948980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25948981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25948982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25948983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25948984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25948985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25948986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25948987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25948988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25948989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25948990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25948991, 'pht': 3726}}" where mtr_portfolio_id = 25948971 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25948971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968702, 0.056926033013974975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25948971_13-08-2025_21_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25948980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25948981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25948982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25948983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25948984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25948985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25948986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25948987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25948988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25948989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25948990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25948991, '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 = 25950112 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': 3522734, 'mtr_portfolio_id': 25950112, 'created_at': datetime.datetime(2025, 8, 13, 21, 18, 57), 'result': '0.047171811408336456', 'result_long': None, 'result_double': None}] Qualite : 0.047171811408336456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25950112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950112_13-08-2025_21_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25950112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950112_13-08-2025_21_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25950130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25950131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25950132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25950133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25950134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25950135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25950136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25950137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25950138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25950139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25950140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25950141, 'pht': 3726}}" where mtr_portfolio_id = 25950112 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25950112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968703, 0.047171811408336456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950112_13-08-2025_21_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25950130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25950131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25950132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25950133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25950134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25950135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25950136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25950137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25950138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25950139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25950140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25950141, '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 = 25950740 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': 3522784, 'mtr_portfolio_id': 25950740, 'created_at': datetime.datetime(2025, 8, 13, 21, 34, 58), 'result': '0.0511005918005206', 'result_long': None, 'result_double': None}] Qualite : 0.0511005918005206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25950740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950740_13-08-2025_21_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25950740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950740_13-08-2025_21_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25950751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25950752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25950753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25950754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25950755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25950756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25950757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25950758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25950759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25950760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25950761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25950762, 'pht': 3726}}" where mtr_portfolio_id = 25950740 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25950740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968704, 0.0511005918005206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25950740_13-08-2025_21_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25950751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25950752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25950753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25950754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25950755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25950756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25950757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25950758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25950759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25950760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25950761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25950762, '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 = 25951345 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': 3522893, 'mtr_portfolio_id': 25951345, 'created_at': datetime.datetime(2025, 8, 13, 21, 46, 59), 'result': '0.03913894618436537', 'result_long': None, 'result_double': None}] Qualite : 0.03913894618436537 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25951345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951345_13-08-2025_21_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25951345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951345_13-08-2025_21_47_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25951360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25951361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25951362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25951363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25951364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25951365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25951366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25951367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25951368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25951369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25951370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25951371, 'pht': 3726}}" where mtr_portfolio_id = 25951345 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25951345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968705, 0.03913894618436537, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951345_13-08-2025_21_47_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25951360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25951361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25951362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25951363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25951364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25951365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25951366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25951367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25951368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25951369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25951370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25951371, '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 = 25951827 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': 3522978, 'mtr_portfolio_id': 25951827, 'created_at': datetime.datetime(2025, 8, 13, 22, 2, 56), 'result': '0.04150132229026103', 'result_long': None, 'result_double': None}] Qualite : 0.04150132229026103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25951827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951827_13-08-2025_22_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25951827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951827_13-08-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25951872, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25951873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25951874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25951875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25951876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25951877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25951878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25951879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25951880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25951881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25951882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25951883, 'pht': 3726}}" where mtr_portfolio_id = 25951827 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25951827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968706, 0.04150132229026103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25951827_13-08-2025_22_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25951872, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25951873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25951874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25951875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25951876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25951877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25951878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25951879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25951880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25951881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25951882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25951883, '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 = 25952478 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': 3523197, 'mtr_portfolio_id': 25952478, 'created_at': datetime.datetime(2025, 8, 13, 22, 18, 57), 'result': '0.06061599715338865', 'result_long': None, 'result_double': None}] Qualite : 0.06061599715338865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25952478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25952478_13-08-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25952478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25952478_13-08-2025_22_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25952531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25952532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25952533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25952534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25952535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25952536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25952537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25952538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25952539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25952540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25952541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25952542, 'pht': 3726}}" where mtr_portfolio_id = 25952478 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25952478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968707, 0.06061599715338865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25952478_13-08-2025_22_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25952531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25952532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25952533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25952534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25952535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25952536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25952537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25952538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25952539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25952540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25952541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25952542, '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 = 25953345 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': 3523454, 'mtr_portfolio_id': 25953345, 'created_at': datetime.datetime(2025, 8, 13, 22, 33), 'result': '0.04377607914645456', 'result_long': None, 'result_double': None}] Qualite : 0.04377607914645456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25953345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953345_13-08-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25953345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953345_13-08-2025_22_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25953386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25953387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25953388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25953389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25953390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25953391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25953392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25953394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25953395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25953396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25953397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25953398, 'pht': 3726}}" where mtr_portfolio_id = 25953345 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25953345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968708, 0.04377607914645456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953345_13-08-2025_22_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25953386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25953387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25953388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25953389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25953390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25953391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25953392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25953394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25953395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25953396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25953397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25953398, '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 = 25953937 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': 3523658, 'mtr_portfolio_id': 25953937, 'created_at': datetime.datetime(2025, 8, 13, 22, 46, 59), 'result': '0.04752386197062506', 'result_long': None, 'result_double': None}] Qualite : 0.04752386197062506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25953937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953937_13-08-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25953937 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953937_13-08-2025_22_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25954030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25954031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25954032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25954033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25954034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25954035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25954036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25954037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25954038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25954039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25954040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25954041, 'pht': 3726}}" where mtr_portfolio_id = 25953937 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25953937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968709, 0.04752386197062506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25953937_13-08-2025_22_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25954030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25954031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25954032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25954033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25954034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25954035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25954036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25954037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25954038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25954039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25954040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25954041, '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 = 25954580 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': 3523853, 'mtr_portfolio_id': 25954580, 'created_at': datetime.datetime(2025, 8, 13, 23, 3, 1), 'result': '0.05665545852829258', 'result_long': None, 'result_double': None}] Qualite : 0.05665545852829258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25954580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25954580_13-08-2025_23_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25954580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25954580_13-08-2025_23_03_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25954657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25954658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25954659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25954660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25954661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25954662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25954663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25954664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25954665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25954666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25954667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25954668, 'pht': 3726}}" where mtr_portfolio_id = 25954580 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25954580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968710, 0.05665545852829258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25954580_13-08-2025_23_03_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25954657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25954658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25954659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25954660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25954661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25954662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25954663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25954664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25954665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25954666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25954667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25954668, '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 = 25955294 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': 3524098, 'mtr_portfolio_id': 25955294, 'created_at': datetime.datetime(2025, 8, 13, 23, 18, 59), 'result': '0.03451842916095076', 'result_long': None, 'result_double': None}] Qualite : 0.03451842916095076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25955294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25955294_13-08-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25955294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25955294_13-08-2025_23_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25955311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25955312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25955313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25955314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25955315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25955316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25955317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25955318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25955319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25955320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25955322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25955323, 'pht': 3726}}" where mtr_portfolio_id = 25955294 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25955294 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968711, 0.03451842916095076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25955294_13-08-2025_23_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25955311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25955312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25955313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25955314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25955315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25955316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25955317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25955318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25955319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25955320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25955322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25955323, '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 = 25956072 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': 3524304, 'mtr_portfolio_id': 25956072, 'created_at': datetime.datetime(2025, 8, 13, 23, 32, 59), 'result': '0.019397311374036937', 'result_long': None, 'result_double': None}] Qualite : 0.019397311374036937 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25956072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956072_13-08-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25956072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956072_13-08-2025_23_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25956151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25956153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25956154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25956155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25956156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25956157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25956158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25956159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25956160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25956161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25956162, 'pht': 3726}}" where mtr_portfolio_id = 25956072 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25956072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968712, 0.019397311374036937, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956072_13-08-2025_23_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25956151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25956153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25956154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25956155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25956156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25956157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25956158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25956159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25956160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25956161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25956162, '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 = 25956733 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': 3524506, 'mtr_portfolio_id': 25956733, 'created_at': datetime.datetime(2025, 8, 13, 23, 48, 56), 'result': '0.06954761190713533', 'result_long': None, 'result_double': None}] Qualite : 0.06954761190713533 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25956733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956733_13-08-2025_23_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25956733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956733_13-08-2025_23_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25956827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25956828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25956830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25956831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25956832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25956833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25956834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25956835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25956836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25956837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25956838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25956839, 'pht': 3726}}" where mtr_portfolio_id = 25956733 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25956733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968713, 0.06954761190713533, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25956733_13-08-2025_23_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25956827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25956828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25956830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25956831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25956832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25956833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25956834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25956835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25956836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25956837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25956838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25956839, '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 = 25957469 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': 3524753, 'mtr_portfolio_id': 25957469, 'created_at': datetime.datetime(2025, 8, 14, 1, 55, 58), 'result': '0.07352459803415252', 'result_long': None, 'result_double': None}] Qualite : 0.07352459803415252 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25957469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957469_14-08-2025_01_55_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25957469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957469_14-08-2025_01_55_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25957520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25957521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25957522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25957523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25957524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25957525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25957526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25957527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25957528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25957529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25957530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25957531, 'pht': 3726}}" where mtr_portfolio_id = 25957469 and dashboard_run_id = 2122611 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25957469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13968714, 0.07352459803415252, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957469_14-08-2025_01_55_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25957520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25957521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25957522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25957523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25957524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25957525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25957526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25957527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25957528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25957529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25957530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25957531, '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 (25935930,25935933,25935936,25935939,25935942,25935945,25935949,25935952,25935958,25935964,25934442,25935967,25935970,25935972,25934918,25935975,25934137,25934345,25934139,25934513,25934542,25934663,25935085,25935405,25935977,25935663,25936044,25936045,25936766,25937395,25938040,25938417,25938955,25939339,25939474,25939865,25940495,25941821,25942715,25943364,25944152,25944694,25945477,25946029,25946942,25947487,25948225,25948971,25950112,25950740,25951345,25951827,25952478,25953345,25953937,25954580,25955294,25956072,25956733,25957469) result : ((1376741462,), (1376741465,), (1376741469,), (1376741473,), (1376741477,), (1376741480,), (1376741483,), (1376741488,), (1376741492,), (1376741494,), (1376741496,), (1376741498,), (1376741502,), (1376741512,), (1376741520,), (1376741530,), (1376741533,), (1376741535,), (1376741536,), (1376741550,), (1376741552,), (1376741553,), (1376741554,), (1376741556,), (1376741560,), (1376741568,), (1376741572,), (1376741574,), (1376741578,), (1376741581,), (1376741582,), (1376741594,), (1376741596,), (1376741600,), (1376741602,), (1376741604,), (1376741606,), (1376741613,), (1376741615,), (1376741620,), (1376741624,), (1376741628,), (1376741631,), (1376741636,), (1376741637,), (1376741639,), (1376741644,), (1376741647,), (1376741649,), (1376741662,), (1376741666,), (1376741669,), (1376741670,), (1376741671,), (1376741672,), (1376741678,), (1376741681,), (1376741685,), (1376741689,), (1376741692,), (1376741694,), (1376741696,), (1376741067,), (1376741075,), (1376741077,), (1376741080,), (1376741083,), (1376741086,), (1376741090,), (1376741099,), (1376741103,), (1376741105,), (1376741109,), (1376741111,), (1376741115,), (1376741124,), (1376741127,), (1376741129,), (1376741132,), (1376741134,), (1376741137,), (1376741145,), (1376741147,), (1376741149,), (1376741151,), (1376741154,), (1376741156,), (1376741161,), (1376741164,), (1376741167,), (1376741170,), (1376741172,), (1376741175,), (1376741187,), (1376741189,), (1376741191,), (1376741195,), (1376741198,), (1376741200,), (1376741219,), (1376741221,), (1376741223,), (1376741225,), (1376741227,), (1376741228,), (1376741234,), (1376741237,), (1376741239,), (1376741241,), (1376741243,), (1376741245,), (1376741254,), (1376741256,), (1376741259,), (1376741262,), (1376741265,), (1376741267,), (1376741273,), (1376741276,), (1376741279,), (1376741282,), (1376741285,), (1376741288,), (1376741296,), (1376741299,), (1376741302,), (1376741306,), (1376741309,), (1376741312,), (1376741324,), (1376741326,), (1376741328,), (1376741331,), (1376741332,), (1376741334,), (1376741340,), (1376741342,), (1376741346,), (1376741350,), (1376741354,), (1376741357,), (1376741364,), (1376741366,), (1376741369,), (1376741374,), (1376741376,), (1376741379,), (1376741386,), (1376741388,), (1376741393,), (1376741394,), (1376741397,), (1376741399,), (1376741403,), (1376741405,), (1376741409,), (1376741412,), (1376741415,), (1376741417,), (1376741424,), (1376741427,), (1376741430,), (1376741435,), (1376741437,), (1376741439,), (1376741452,), (1376741456,), (1376741458,), (1376741460,), (1376741461,), (1376744015,), (1376744019,), (1376744026,), (1376744034,), (1376744055,), (1376744060,), (1376744062,), (1376744064,), (1376744068,), (1376744079,), (1376744081,), (1376744083,), (1376744086,), (1376744088,), (1376744090,), (1376744091,), (1376744093,), (1376744094,), (1376744096,), (1376744100,), (1376744109,), (1376744114,), (1376744116,), (1376744118,), (1376744120,), (1376744124,), (1376744126,), (1376744130,), (1376744138,), (1376744141,), (1376744144,), (1376744147,), (1376744150,), (1376744155,), (1376744156,), (1376744157,), (1376744159,), (1376744168,), (1376744171,), (1376744177,), (1376744179,), (1376744181,), (1376744183,), (1376744185,), (1376744189,), (1376744201,), (1376744203,), (1376744205,), (1376744206,), (1376744209,), (1376744213,), (1376744214,), (1376744217,), (1376744220,), (1376744221,), (1376744222,), (1376744223,), (1376744225,), (1376744226,), (1376744229,), (1376744237,), (1376744240,), (1376744243,), (1376744246,), (1376744247,), (1376744248,), (1376744252,), (1376744254,), (1376744256,), (1376744273,), (1376744274,), (1376744276,), (1376744277,), (1376744279,), (1376744292,), (1376744294,), (1376744296,), (1376744298,), (1376744300,), (1376744302,), (1376747885,), (1376747947,), (1376747972,), (1376747975,), (1376747976,), (1376747978,), (1376747980,), (1376747996,), (1376747998,), (1376748000,), (1376748003,), (1376748022,), (1376748045,), (1376748047,), (1376748048,), (1376748076,), (1376748070,), (1376748074,), (1376748096,), (1376748116,), (1376748150,), (1376748154,), (1376748156,), (1376748320,), (1376748326,), (1376748328,), (1376748331,), (1376748333,), (1376748366,), (1376748367,), (1376748369,), (1376748388,), (1376748395,), (1376748438,), (1376748432,), (1376748434,), (1376748436,), (1376748457,), (1376748460,), (1376748462,), (1376748465,), (1376748469,), (1376748495,), (1376748497,), (1376748500,), (1376748503,), (1376748522,), (1376748525,), (1376748526,), (1376748529,), (1376748537,), (1376748554,), (1376748555,), (1376748557,), (1376748560,), (1376748568,), (1376748578,), (1376748586,), (1376748593,), (1376748595,), (1376748597,), (1376748606,), (1376748607,), (1376748627,), (1376748631,), (1376748633,), (1376748635,), (1376748652,), (1376748654,), (1376748656,), (1376748704,), (1376748705,), (1376748726,), (1376748730,), (1376748732,), (1376748734,), (1376748759,), (1376748761,), (1376748786,), (1376748787,), (1376748790,), (1376748807,), (1376748808,), (1376748809,), (1376748812,), (1376748816,), (1376748849,), (1376741938,), (1376741940,), (1376741942,), (1376741943,), (1376741944,), (1376741948,), (1376741958,), (1376741962,), (1376741966,), (1376741969,), (1376741970,), (1376741973,), (1376741979,), (1376741981,), (1376741982,), (1376741985,), (1376741989,), (1376741992,), (1376742001,), (1376742003,), (1376742005,), (1376742006,), (1376742007,), (1376742010,), (1376742016,), (1376742021,), (1376742024,), (1376742026,), (1376742029,), (1376742032,), (1376742039,), (1376742042,), (1376742046,), (1376742050,), (1376742053,), (1376742056,), (1376742065,), (1376742066,), (1376742067,), (1376742070,), (1376742071,), (1376742072,), (1376742080,), (1376742082,), (1376742084,), (1376742087,), (1376742089,), (1376742091,), (1376742095,), (1376742100,), (1376742106,), (1376742110,), (1376742115,), (1376748833,), (1376748837,), (1376748839,), (1376748841,), (1376748843,), (1376748857,), (1376748858,), (1376748860,), (1376748863,), (1376748880,), (1376748885,), (1376748903,), (1376748928,), (1376748931,), (1376748934,), (1376748943,), (1376748953,), (1376748957,), (1376748960,), (1376748962,), (1376748977,), (1376748980,), (1376748998,), (1376749000,), (1376749002,), (1376749004,), (1376749019,), (1376749022,), (1376749024,), (1376749027,), (1376749029,), (1376749039,), (1376749040,), (1376749057,), (1376749060,), (1376749104,), (1376749131,), (1376749135,), (1376749146,), (1376749148,), (1376749317,), (1376749196,), (1376749227,), (1376749256,), (1376749286,), (1376749580,), (1376749608,), (1376749745,), (1376749776,), (1376749806,), (1376749839,), (1376749877,), (1376749955,), (1376749957,), (1376749959,), (1376749961,), (1376749978,), (1376749979,), (1376749994,), (1376749998,), (1376750050,), (1376750054,), (1376750067,), (1376750068,), (1376750069,), (1376750071,), (1376750089,), (1376750092,), (1376750094,), (1376750102,), (1376750104,), (1376750106,), (1376750115,), (1376750116,), (1376750118,), (1376750121,), (1376750130,), (1376750133,), (1376750135,), (1376750143,), (1376750147,), (1376750150,), (1376750152,), (1376750162,), (1376750164,), (1376750167,), (1376750176,), (1376750190,), (1376750193,), (1376750196,), (1376750200,), (1376750220,), (1376750221,), (1376750222,), (1376750226,), (1376750257,), (1376750633,), (1376750635,), (1376750637,), (1376750641,), (1376750663,), (1376750667,), (1376750669,), (1376750671,), (1376750674,), (1376750689,), (1376750691,), (1376750692,), (1376750715,), (1376750717,), (1376750721,), (1376750735,), (1376750736,), (1376750737,), (1376750739,), (1376750749,), (1376750752,), (1376750758,), (1376750761,), (1376750762,), (1376750764,), (1376750787,), (1376750789,), (1376750791,), (1376750808,), (1376750812,), (1376750813,), (1376750816,), (1376750825,), (1376750838,), (1376750840,), (1376750842,), (1376750846,), (1376750855,), (1376750862,), (1376750865,), (1376750867,), (1376750876,), (1376750878,), (1376750907,), (1376750910,), (1376750929,), (1376750932,), (1376750951,), (1376750952,), (1376750953,), (1376750955,), (1376750974,), (1376750977,), (1376750994,), (1376750995,), (1376750996,), (1376751038,), (1376746300,), (1376746301,), (1376746303,), (1376746309,), (1376746319,), (1376746321,), (1376746323,), (1376746325,), (1376746245,), (1376746258,), (1376746262,), (1376746264,), (1376746266,), (1376746278,), (1376746286,), (1376746288,), (1376746290,), (1376746292,), (1376746297,), (1376746298,), (1376746206,), (1376746208,), (1376746223,), (1376746224,), (1376746227,), (1376746228,), (1376746231,), (1376746232,), (1376746235,), (1376746236,), (1376746238,), (1376746239,), (1376746241,), (1376746242,), (1376746244,), (1376746275,), (1376746149,), (1376746150,), (1376746152,), (1376746156,), (1376746166,), (1376746173,), (1376746199,), (1376746200,), (1376746202,), (1376746075,), (1376746079,), (1376746087,), (1376746089,), (1376746092,), (1376746105,), (1376746108,), (1376746111,), (1376746114,), (1376746118,), (1376746137,), (1376746140,), (1376746143,), (1376746145,), (1376746146,), (1376746148,), (1376745927,), (1376745929,), (1376745932,), (1376745934,), (1376745936,), (1376745941,), (1376745944,), (1376745954,), (1376745827,), (1376745828,), (1376745839,), (1376745842,), (1376745845,), (1376745847,), (1376745859,), (1376745872,), (1376745878,), (1376745880,), (1376745882,), (1376745884,), (1376745892,), (1376745894,), (1376745899,), (1376745901,), (1376745902,), (1376745903,), (1376745905,), (1376745202,), (1376745231,), (1376745264,), (1376745298,), (1376745411,), (1376745416,), (1376745417,), (1376745419,), (1376745421,), (1376745424,), (1376745555,), (1376745569,), (1376745579,), (1376745581,), (1376745603,), (1376745614,), (1376745622,), (1376745623,), (1376745625,), (1376745628,), (1376745637,), (1376745640,), (1376745646,), (1376745647,), (1376745648,), (1376745651,), (1376745653,), (1376745655,), (1376745663,), (1376745666,), (1376745669,), (1376745672,), (1376745674,), (1376745677,), (1376745683,), (1376745684,), (1376745686,), (1376745694,), (1376745697,), (1376745703,), (1376745710,), (1376745714,), (1376745717,), (1376745719,), (1376745721,), (1376745728,), (1376745730,), (1376745733,), (1376745736,), (1376745739,), (1376745742,), (1376745748,), (1376745751,), (1376745759,), (1376745761,), (1376745763,), (1376745766,), (1376745775,), (1376745785,), (1376745788,), (1376745790,), (1376745792,), (1376745793,), (1376745797,), (1376745801,), (1376745803,), (1376745804,), (1376745807,), (1376745810,), (1376745821,), (1376745823,), (1376745825,), (1376745826,), (1376744584,), (1376744586,), (1376744611,), (1376744614,), (1376744640,), (1376744642,), (1376744644,), (1376744645,), (1376744647,), (1376744649,), (1376744652,), (1376744655,), (1376744668,), (1376744671,), (1376744683,), (1376744693,), (1376744695,), (1376744697,), (1376744701,), (1376744703,), (1376744712,), (1376744715,), (1376744718,), (1376744720,), (1376744725,), (1376744727,), (1376744728,), (1376744731,), (1376744733,), (1376744736,), (1376744750,), (1376744752,), (1376744754,), (1376744757,), (1376744768,), (1376744771,), (1376744779,), (1376744780,), (1376744781,), (1376744782,), (1376744784,), (1376744787,), (1376744800,), (1376744804,), (1376744806,), (1376744808,), (1376744809,), (1376744811,), (1376744817,), (1376744819,), (1376744821,), (1376744824,), (1376744834,), (1376744836,), (1376744842,), (1376744844,), (1376744846,), (1376744849,), (1376744850,), (1376744851,), (1376744865,), (1376744866,), (1376744869,), (1376744871,), (1376744872,), (1376744874,), (1376744875,), (1376744877,), (1376744879,), (1376744881,), (1376744882,), (1376744885,), (1376744894,), (1376744897,), (1376744906,), (1376744908,), (1376744911,), (1376744913,), (1376744918,), (1376744927,), (1376744930,), (1376744933,), (1376744936,), (1376744938,), (1376744945,), (1376744949,), (1376744958,), (1376744960,), (1376744963,), (1376744998,), (1376745129,), (1376745168,), (1376744308,), (1376744317,), (1376744320,), (1376744323,), (1376744326,), (1376744330,), (1376744334,), (1376744337,), (1376744339,), (1376744341,), (1376744344,), (1376744347,), (1376744361,), (1376744366,), (1376744382,), (1376744384,), (1376744386,), (1376744391,), (1376744397,), (1376744408,), (1376744411,), (1376744415,), (1376744418,), (1376744421,), (1376744426,), (1376744428,), (1376744429,), (1376744431,), (1376744436,), (1376744446,), (1376744452,), (1376744456,), (1376744461,), (1376744464,), (1376744467,), (1376744469,), (1376744481,), (1376744484,), (1376744486,), (1376744488,), (1376744489,), (1376744490,), (1376744492,), (1376744496,), (1376744504,), (1376744507,), (1376744509,), (1376744511,), (1376744514,), (1376744516,), (1376744521,), (1376744523,), (1376744525,), (1376744528,), (1376744539,), (1376744543,), (1376744545,), (1376744547,), (1376744548,), (1376744549,), (1376744553,), (1376744562,), (1376744565,), (1376744568,), (1376744570,), (1376744572,), (1376744576,), (1376744578,), (1376744580,), (1376744582,), (1376744599,), (1376744600,), (1376744601,), (1376744603,), (1376744624,), (1376744625,), (1376744627,), (1376744638,), (1376743679,), (1376743681,), (1376743686,), (1376743688,), (1376743690,), (1376743699,), (1376743701,), (1376743704,), (1376743717,), (1376743746,), (1376743758,), (1376743760,), (1376743761,), (1376743763,), (1376743778,), (1376743780,), (1376743781,), (1376743782,), (1376743783,), (1376743790,), (1376743791,), (1376743792,), (1376743793,), (1376743794,), (1376743796,), (1376743800,), (1376743813,), (1376743816,), (1376743817,), (1376743819,), (1376743822,), (1376743824,), (1376743828,), (1376743830,), (1376743832,), (1376743834,), (1376743837,), (1376743847,), (1376743851,), (1376743854,), (1376743856,), (1376743858,), (1376743860,), (1376743864,), (1376743874,), (1376743875,), (1376743879,), (1376743880,), (1376743883,), (1376743885,), (1376743887,), (1376743890,), (1376743892,), (1376743895,), (1376743896,), (1376743899,), (1376743904,), (1376743906,), (1376743914,), (1376743916,), (1376743918,), (1376743920,), (1376743926,), (1376743928,), (1376743932,), (1376743934,), (1376743936,), (1376743938,), (1376743953,), (1376743954,), (1376743955,), (1376743957,), (1376743967,), (1376743975,), (1376743977,), (1376743979,), (1376743980,), (1376743981,), (1376743986,), (1376743990,), (1376743998,), (1376744000,), (1376744002,), (1376744005,), (1376744007,), (1376744009,), (1376744011,), (1376744013,), (1376743258,), (1376743260,), (1376743263,), (1376743284,), (1376743286,), (1376743289,), (1376743292,), (1376743295,), (1376743301,), (1376743306,), (1376743310,), (1376743314,), (1376743322,), (1376743325,), (1376743327,), (1376743329,), (1376743331,), (1376743333,), (1376743345,), (1376743347,), (1376743348,), (1376743349,), (1376743351,), (1376743359,), (1376743374,), (1376743376,), (1376743377,), (1376743378,), (1376743393,), (1376743450,), (1376743451,), (1376743453,), (1376743454,), (1376743455,), (1376743456,), (1376743457,), (1376743458,), (1376743459,), (1376743460,), (1376743479,), (1376743482,), (1376743484,), (1376743486,), (1376743487,), (1376743490,), (1376743494,), (1376743501,), (1376743503,), (1376743506,), (1376743508,), (1376743515,), (1376743518,), (1376743520,), (1376743521,), (1376743524,), (1376743527,), (1376743540,), (1376743541,), (1376743542,), (1376743543,), (1376743544,), (1376743546,), (1376743553,), (1376743556,), (1376743563,), (1376743566,), (1376743570,), (1376743574,), (1376743576,), (1376743578,), (1376743579,), (1376743580,), (1376743583,), (1376743589,), (1376743597,), (1376743600,), (1376743603,), (1376743606,), (1376743608,), (1376743612,), (1376743627,), (1376743628,), (1376743629,), (1376743631,), (1376743632,), (1376743633,), (1376743650,), (1376743651,), (1376743654,), (1376743655,), (1376743656,), (1376743658,), (1376743673,), (1376743675,), (1376743677,), (1376742118,), (1376742123,), (1376742124,), (1376742145,), (1376742147,), (1376742150,), (1376742153,), (1376742162,), (1376742165,), (1376742180,), (1376742210,), (1376742241,), (1376742351,), (1376742392,), (1376742424,), (1376742458,), (1376742489,), (1376742519,), (1376742613,), (1376742645,), (1376742675,), (1376742708,), (1376742738,), (1376742770,), (1376742816,), (1376742821,), (1376742825,), (1376742828,), (1376742830,), (1376742832,), (1376742836,), (1376742864,), (1376742900,), (1376742932,), (1376742965,), (1376742998,), (1376743102,), (1376743110,), (1376743121,), (1376743146,), (1376743148,), (1376743168,), (1376743209,), (1376743211,), (1376743213,), (1376743217,), (1376743220,), (1376743223,), (1376743227,), (1376743231,), (1376743233,), (1376743235,), (1376743238,), (1376743242,), (1376743251,), (1376743252,), (1376743255,), (1376743277,), (1376743280,), (1376743282,), (1376741697,), (1376741701,), (1376741704,), (1376741707,), (1376741712,), (1376741721,), (1376741724,), (1376741725,), (1376741727,), (1376741729,), (1376741731,), (1376741740,), (1376741743,), (1376741747,), (1376741750,), (1376741752,), (1376741754,), (1376741760,), (1376741762,), (1376741766,), (1376741768,), (1376741770,), (1376741773,), (1376741783,), (1376741786,), (1376741789,), (1376741791,), (1376741792,), (1376741793,), (1376741799,), (1376741803,), (1376741808,), (1376741812,), (1376741814,), (1376741816,), (1376741843,), (1376741846,), (1376741849,), (1376741852,), (1376741855,), (1376741858,), (1376741869,), (1376741873,), (1376741877,), (1376741879,), (1376741881,), (1376741883,), (1376741890,), (1376741894,), (1376741897,), (1376741901,), (1376741903,), (1376741905,), (1376741912,), (1376741916,), (1376741921,), (1376741924,), (1376741929,), (1376741932,), (1376750246,), (1376750250,), (1376750252,), (1376750254,), (1376750273,), (1376750274,), (1376750293,), (1376750297,), (1376750315,), (1376750316,), (1376750318,), (1376750319,), (1376750333,), (1376750334,), (1376750336,), (1376750345,), (1376750347,), (1376750348,), (1376750357,), (1376750358,), (1376750359,), (1376750364,), (1376750367,), (1376750370,), (1376750379,), (1376750384,), (1376750405,), (1376750407,), (1376750409,), (1376750412,), (1376750441,), (1376750444,), (1376750445,), (1376750447,), (1376750450,), (1376750467,), (1376750469,), (1376750480,), (1376750483,), (1376750485,), (1376750486,), (1376750488,), (1376750490,), (1376750497,), (1376750506,), (1376750509,), (1376750513,), (1376750516,), (1376750525,), (1376750527,), (1376750529,), (1376750531,), (1376750533,), (1376750541,), (1376750549,), (1376750553,), (1376750555,), (1376750569,), (1376750570,), (1376750571,), (1376750573,), (1376750577,), (1376750590,), (1376750594,), (1376750595,), (1376750597,), (1376750599,), (1376750607,), (1376750644,), (1376751020,), (1376751022,), (1376751025,), (1376751028,), (1376751036,), (1376751045,), (1376751046,), (1376751047,), (1376751049,), (1376751069,), (1376751073,), (1376751076,), (1376751092,), (1376751097,), (1376751099,), (1376751112,), (1376751116,), (1376751141,), (1376751143,), (1376751144,), (1376751168,), (1376751170,), (1376751194,), (1376751196,), (1376751198,), (1376751222,), (1376751245,), (1376751247,), (1376751264,), (1376751267,), (1376751268,), (1376751289,), (1376751291,), (1376751293,), (1376751295,), (1376751310,), (1376751313,), (1376751315,), (1376751323,), (1376751326,), (1376751344,), (1376751354,), (1376751356,), (1376751431,), (1376751468,), (1376752030,), (1376752034,), (1376752035,), (1376752088,), (1376751375,), (1376751380,), (1376751382,), (1376751398,), (1376751724,), (1376751753,), (1376751784,), (1376751814,), (1376751847,), (1376751877,), (1376751982,), (1376752013,), (1376752028,), (1376752048,), (1376752050,), (1376752057,), (1376752217,), (1376752222,), (1376752236,), (1376752307,), (1376752308,), (1376752309,), (1376752311,), (1376752331,), (1376752333,), (1376752335,), (1376752337,), (1376752352,), (1376752353,), (1376752355,), (1376752358,), (1376752367,), (1376752375,), (1376752377,), (1376752378,), (1376752401,), (1376752403,), (1376752405,), (1376752407,), (1376752424,), (1376752426,), (1376752427,), (1376752429,), (1376752432,), (1376752477,), (1376752479,), (1376752481,), (1376752509,), (1376752518,), (1376752520,), (1376752526,), (1376752534,), (1376752535,), (1376752537,), (1376752541,), (1376752549,), (1376752552,), (1376752563,), (1376752565,), (1376752567,), (1376752569,), (1376752572,), (1376752582,), (1376752593,), (1376752594,), (1376752595,), (1376752597,), (1376752607,), (1376752623,), (1376752628,), (1376752630,), (1376752632,), (1376752636,), (1376752645,), (1376752664,), (1376752716,), (1376752659,), (1376752661,), (1376752662,), (1376752692,), (1376752694,), (1376752696,), (1376752704,), (1376752706,), (1376752708,), (1376752714,), (1376752723,), (1376752724,), (1376752726,), (1376752735,), (1376752738,), (1376752746,), (1376752748,), (1376752750,), (1376752753,), (1376752757,), (1376752786,), (1376752788,), (1376752790,), (1376752792,), (1376752854,), (1376752855,), (1376752857,), (1376752861,), (1376752871,), (1376752874,), (1376752881,), (1376752883,), (1376752904,), (1376752905,), (1376752906,), (1376752909,), (1376752910,), (1376752912,), (1376752927,), (1376752929,), (1376752930,), (1376752932,), (1376752937,), (1376752940,), (1376752943,), (1376752945,), (1376752947,), (1376752949,), (1376752952,), (1376752960,), (1376752962,), (1376752970,), (1376752971,), (1376752972,), (1376753053,), (1376753055,), (1376753057,), (1376753059,), (1376753069,), (1376753217,), (1376753218,), (1376753237,), (1376753241,), (1376753251,), (1376753254,), (1376753332,), (1376753363,), (1376753372,), (1376753376,), (1376753385,), (1376753387,), (1376753394,), (1376753395,), (1376753397,), (1376753400,), (1376753408,), (1376753410,), (1376753416,), (1376753417,), (1376753419,), (1376753427,), (1376753443,), (1376753446,), (1376753454,), (1376753456,), (1376753459,), (1376753498,), (1376753492,), (1376753495,), (1376753496,), (1376753520,), (1376753525,), (1376753527,), (1376753529,), (1376753540,), (1376753542,), (1376753548,), (1376753549,), (1376753550,), (1376753553,), (1376753558,), (1376753579,), (1376753581,), (1376753584,), (1376753587,), (1376753595,), (1376753598,), (1376753603,), (1376753609,), (1376753612,), (1376753615,), (1376753772,), (1376753802,), (1376753833,), (1376753864,), (1376753917,), (1376753962,), (1376753963,), (1376753964,), (1376753967,), (1376753976,), (1376753978,), (1376753987,), (1376753990,), (1376753992,), (1376753995,), (1376754020,), (1376754024,), (1376754026,), (1376754028,), (1376754045,), (1376754064,), (1376754079,), (1376754082,), (1376754086,), (1376754094,), (1376754097,), (1376754115,), (1376754116,), (1376754120,), (1376754125,), (1376754130,), (1376754133,), (1376754137,), (1376754138,), (1376754139,), (1376754147,), (1376754157,), (1376754160,), (1376754163,), (1376754171,), (1376754172,), (1376754173,), (1376754175,), (1376754178,), (1376754188,), (1376754196,), (1376754199,), (1376754201,), (1376754203,), (1376754205,), (1376754226,), (1376754227,), (1376754252,), (1376754254,), (1376754257,), (1376754270,), (1376754273,), (1376754276,), (1376754278,), (1376754280,), (1376754282,), (1376754253,), (1376754255,), (1376754261,), (1376754286,), (1376754289,), (1376754297,), (1376754300,), (1376754302,), (1376754309,), (1376754320,), (1376754327,), (1376754357,), (1376754359,), (1376754360,), (1376754362,), (1376754364,), (1376754379,), (1376754382,), (1376754412,), (1376754414,), (1376754416,), (1376754419,), (1376754421,), (1376754440,), (1376754442,), (1376754443,), (1376754445,), (1376754455,), (1376754477,), (1376754480,), (1376754483,), (1376754486,), (1376754494,), (1376754509,), (1376754510,), (1376754529,), (1376754530,), (1376754532,), (1376754553,), (1376754556,), (1376754558,), (1376754560,), (1376754584,), (1376754586,), (1376754587,), (1376754589,), (1376754606,), (1376754607,), (1376754609,), (1376754686,), (1376754717,), (1376754858,), (1376754913,), (1376755217,), (1376755176,), (1376755427,), (1376755429,), (1376755431,), (1376755474,), (1376755502,), (1376755504,), (1376755535,), (1376755537,), (1376755544,), (1376755548,), (1376755555,), (1376755557,), (1376755569,), (1376755573,), (1376755584,), (1376755589,), (1376755594,), (1376755598,), (1376755608,), (1376755609,), (1376755611,), (1376755615,), (1376755629,), (1376755633,), (1376755637,), (1376755649,), (1376755651,), (1376755653,), (1376755684,), (1376755687,), (1376755689,), (1376755692,), (1376755721,), (1376755722,), (1376755723,), (1376755725,), (1376755742,), (1376755746,), (1376755748,), (1376755750,), (1376755752,), (1376755767,), (1376755769,), (1376755771,), (1376755773,), (1376755776,), (1376755792,), (1376755793,), (1376755794,), (1376755798,), (1376755806,), (1376755810,), (1376755818,), (1376755819,), (1376755821,), (1376755825,), (1376755870,), (1376755848,), (1376755851,), (1376755853,), (1376755857,), (1376755867,), (1376755906,), (1376755969,), (1376755971,), (1376755973,), (1376756029,), (1376756050,), (1376756053,), (1376756054,), (1376756056,), (1376756060,), (1376756070,), (1376756073,), (1376756076,), (1376756077,), (1376756078,), (1376756080,), (1376756082,), (1376756096,), (1376756101,), (1376756103,), (1376756109,), (1376756113,), (1376756115,), (1376756118,), (1376756146,), (1376756382,), (1376756425,), (1376756448,), (1376756463,), (1376756464,), (1376756466,), (1376756474,), (1376756476,), (1376756479,), (1376756485,), (1376756495,), (1376756499,), (1376756501,), (1376756508,), (1376756510,), (1376756512,), (1376756514,), (1376756516,), (1376756531,), (1376756533,), (1376756534,), (1376756535,), (1376756536,), (1376756543,), (1376756546,), (1376756549,), (1376756553,), (1376756556,), (1376756558,), (1376756563,), (1376756564,), (1376756566,), (1376756571,), (1376756576,), (1376756577,), (1376756579,), (1376756580,), (1376756595,), (1376756597,), (1376756599,), (1376756604,), (1376756622,), (1376756625,), (1376756626,), (1376756628,), (1376756632,), (1376756635,), (1376756642,), (1376756645,), (1376756668,), (1376756673,), (1376756675,), (1376756678,), (1376756694,), (1376756696,), (1376756697,), (1376756699,), (1376756703,), (1376756707,), (1376756728,), (1376756721,), (1376756726,), (1376756743,), (1376756746,), (1376756750,), (1376756753,), (1376756754,), (1376756776,), (1376756781,), (1376756782,), (1376756784,), (1376756787,), (1376756789,), (1376756801,), (1376756803,), (1376756806,), (1376756809,), (1376756811,), (1376756813,), (1376756815,), (1376756829,), (1376756837,), (1376756841,), (1376756845,), (1376756848,), (1376756859,), (1376756862,), (1376756864,), (1376756867,), (1376756870,), (1376756874,), (1376756878,), (1376756879,), (1376756898,), (1376756901,), (1376756905,), (1376756907,), (1376756916,), (1376756917,), (1376756938,), (1376756939,), (1376756941,), (1376756945,), (1376756947,), (1376756950,), (1376756957,), (1376756961,), (1376756963,), (1376756965,), (1376756967,), (1376756980,), (1376756982,), (1376756986,), (1376756989,), (1376756992,), (1376756995,), (1376757007,), (1376757008,), (1376757009,), (1376757014,), (1376757017,), (1376757021,), (1376757022,), (1376757025,), (1376757029,), (1376757041,), (1376757042,), (1376757043,), (1376757044,), (1376757046,), (1376757048,), (1376757078,), (1376757081,), (1376757109,), (1376757111,), (1376757113,), (1376757116,), (1376757137,), (1376757187,), (1376757310,), (1376757340,), (1376757370,), (1376757413,), (1376757451,), (1376757503,), (1376757792,), (1376757115,), (1376757117,), (1376757118,), (1376757120,), (1376757615,), (1376757649,), (1376757680,), (1376757710,), (1376757740,), (1376757774,), (1376757783,), (1376757785,), (1376757788,), (1376757790,), (1376757811,), (1376757813,), (1376757815,), (1376757817,), (1376757819,), (1376757821,), (1376757833,), (1376757835,), (1376757836,), (1376757838,), (1376757841,), (1376757844,), (1376757974,), (1376757978,), (1376757979,), (1376757990,), (1376757996,), (1376757999,), (1376758005,), (1376758020,), (1376758022,), (1376758024,), (1376758085,), (1376758088,), (1376758091,), (1376758093,), (1376758307,), (1376758250,), (1376758447,), (1376758450,), (1376758452,), (1376758454,), (1376758475,), (1376758477,), (1376758478,), (1376758481,), (1376758724,), (1376758772,), (1376758815,), (1376758853,), (1376758884,), (1376759125,), (1376759165,), (1376759204,), (1376759211,), (1376759212,), (1376759477,), (1376759533,), (1376759591,), (1376759650,), (1376759710,), (1376759767,), (1376759997,), (1376760035,), (1376760080,), (1376760112,), (1376760266,), (1376760371,), (1376760467,), (1376760468,), (1376760469,), (1376760470,), (1376760472,), (1376760799,), (1376760868,), (1376760963,), (1376761177,), (1376761264,), (1376761713,), (1376761775,), (1376761837,), (1376762361,), (1376762392,), (1376762434,), (1376762465,), (1376762513,), (1376762709,), (1376762714,), (1376762717,), (1376762723,), (1376776883,), (1376778149,), (1376778255,), (1376778346,), (1376778997,), (1376779046,), (1376779113,), (1376779147,), (1376779161,), (1376779570,), (1376779611,), (1376779889,), (1376779918,), (1376780169,), (1376780221,), (1376780261,), (1376780370,), (1376781176,), (1376781293,), (1376781358,), (1376781467,), (1376781562,), (1376782174,), (1376782264,), (1376782320,), (1376782380,), (1376782440,), (1376782815,), (1376782819,), (1376782821,), (1376782826,), (1376782831,), (1376782963,), (1376782984,), (1376782985,), (1376783033,), (1376783586,), (1376783621,), (1376783683,), (1376783740,), (1376783771,), (1376783809,), (1376784018,), (1376784020,), (1376784022,), (1376784031,), (1376784334,), (1376784345,), (1376784387,), (1376784428,), (1376784456,), (1376784463,), (1376784534,), (1376784541,), (1376784544,), (1376784547,), (1376784565,), (1376784570,), (1376784701,), (1376784664,), (1376784674,), (1376784686,), (1376784695,), (1376784698,), (1376784876,), (1376784901,), (1376784991,), (1376784992,), (1376784994,), (1376784996,), (1376784998,), (1376785001,), (1376785021,), (1376785026,), (1376785050,), (1376785052,), (1376785082,), (1376785085,), (1376785094,), (1376785098,), (1376785100,), (1376785149,), (1376785159,), (1376785161,), (1376785163,), (1376785173,), (1376785203,), (1376785234,), (1376785443,), (1376785455,), (1376785472,), (1376785481,), (1376785528,), (1376785530,), (1376785532,), (1376785614,), (1376785618,), (1376785619,), (1376786075,), (1376786092,), (1376786098,), (1376786115,), (1376786227,), (1376786231,), (1376786236,), (1376786240,), (1376786244,), (1376786246,), (1376786446,), (1376786477,), (1376786502,), (1376786510,), (1376786533,), (1376786579,), (1376786676,), (1376786680,), (1376786682,), (1376786704,), (1376786705,), (1376786730,), (1376786753,), (1376786760,), (1376786767,), (1376786770,), (1376786776,), (1376786778,), (1376786807,), (1376786815,), (1376786816,), (1376786818,), (1376786825,), (1376786848,), (1376786902,), (1376787085,), (1376787153,), (1376787225,), (1376787288,), (1376787348,), (1376787432,), (1376787475,), (1376787681,), (1376787488,), (1376787491,), (1376787536,), (1376787590,), (1376787659,), (1376787853,), (1376787862,), (1376787890,), (1376787921,), (1376787945,), (1376788116,), (1376788149,), (1376788216,), (1376788257,), (1376788291,), (1376788342,), (1376788482,), (1376788500,), (1376788503,), (1376788510,), (1376788542,), (1376788557,), (1376788662,), (1376788665,), (1376788699,), (1376788716,), (1376788736,), (1376788746,), (1376788816,), (1376788828,), (1376788829,), (1376788846,), (1376788867,), (1376788923,), (1376788929,), (1376788930,), (1376788932,), (1376788933,), (1376788934,), (1376788938,), (1376789020,), (1376789021,), (1376789042,), (1376789043,), (1376789054,), (1376789056,), (1376789066,), (1376789067,), (1376789076,), (1376789077,), (1376789079,), (1376789083,), (1376789268,), (1376789298,), (1376789353,), (1376789387,), (1376789391,), (1376789395,), (1376789690,), (1376789704,), (1376789719,), (1376789729,), (1376789732,), (1376789741,), (1376789746,), (1376789750,), (1376789753,), (1376789756,), (1376789766,), (1376789769,), (1376789916,), (1376789944,), (1376789977,), (1376790003,), (1376790034,), (1376790042,), (1376790082,), (1376790084,), (1376790086,), (1376790088,), (1376790090,), (1376790091,), (1376790121,), (1376790151,), (1376790188,), (1376790195,), (1376790197,), (1376790238,), (1376790516,), (1376790555,), (1376790641,), (1376790667,), (1376790675,), (1376790707,), (1376790804,), (1376790818,), (1376790822,), (1376790823,), (1376790826,), (1376790830,), (1376790837,), (1376790841,), (1376790842,), (1376790844,), (1376790845,), (1376790846,), (1376790875,), (1376790877,), (1376790879,), (1376790881,), (1376790916,), (1376790922,), (1376790924,), (1376790926,), (1376790930,), (1376790932,), (1376791107,), (1376791111,), (1376791508,), (1376792060,), (1376792092,), (1376790847,), (1376790867,), (1376791000,), (1376791036,), (1376791083,), (1376791106,), (1376791235,), (1376791236,), (1376791238,), (1376791239,), (1376791241,), (1376791242,), (1376791243,), (1376791244,), (1376791245,), (1376791246,), (1376791247,), (1376791248,), (1376791257,), (1376791260,), (1376791262,), (1376791264,), (1376791266,), (1376791267,), (1376791269,), (1376791273,), (1376791276,), (1376791280,), (1376791304,), (1376791335,), (1376791401,), (1376791433,), (1376791442,), (1376791452,), (1376791467,), (1376791480,), (1376791489,), (1376791491,), (1376791495,), (1376791506,), (1376791507,), (1376791522,), (1376791524,), (1376791526,), (1376791530,), (1376791532,), (1376791535,), (1376791661,), (1376791691,), (1376791722,), (1376791753,), (1376791769,), (1376791771,), (1376791782,), (1376791813,), (1376791844,), (1376791874,), (1376791883,), (1376791888,), (1376791922,), (1376791924,), (1376791929,), (1376791932,), (1376791964,), (1376791994,), (1376792136,), (1376792143,), (1376792176,), (1376792210,), (1376792239,), (1376792287,), (1376792430,), (1376792451,), (1376792477,), (1376792954,), (1376792956,), (1376792965,), (1376793001,), (1376793626,), (1376793635,), (1376793642,), (1376793645,), (1376793647,), (1376793654,), (1376793659,), (1376793663,), (1376793798,), (1376793734,), (1376793768,), (1376794185,), (1376794259,), (1376794331,), (1376794395,), (1376794441,), (1376794473,), (1376794645,), (1376794670,), (1376794715,), (1376794764,), (1376794813,), (1376794990,), (1376795012,), (1376795202,), (1376795217,), (1376795239,), (1376795244,), (1376795260,), (1376795296,), (1376795298,), (1376795299,), (1376795301,), (1376795305,), (1376795317,), (1376795319,), (1376795321,), (1376795324,), (1376795337,), (1376795342,), (1376795377,), (1376795380,), (1376795382,), (1376795579,), (1376795580,), (1376795596,), (1376795628,), (1376795659,), (1376795675,), (1376795754,), (1376795794,), (1376795796,), (1376795802,), (1376795916,), (1376795919,), (1376795932,), (1376795964,), (1376795972,), (1376795993,), (1376796038,), (1376796041,), (1376796060,), (1376796062,), (1376796063,), (1376796065,), (1376796166,), (1376796174,), (1376796199,), (1376796202,), (1376796224,), (1376796226,), (1376796258,), (1376796259,), (1376796271,), (1376796275,), (1376796279,), (1376796282,), (1376796284,), (1376796302,), (1376796295,), (1376796298,), (1376796300,), (1376796335,), (1376796373,), (1376796416,), (1376796459,), (1376796547,), (1376796551,), (1376796554,), (1376796557,), (1376796560,), (1376796570,), (1376796574,), (1376796576,), (1376796579,), (1376796590,), (1376796592,), (1376796593,), (1376796595,), (1376796803,), (1376796811,), (1376796840,), (1376796861,), (1376796863,), (1376796974,), (1376796976,), (1376796977,), (1376796979,), (1376796982,), (1376796993,), (1376796997,), (1376796999,), (1376797001,), (1376797011,), (1376797028,), (1376797032,), (1376797036,), (1376797040,), (1376797303,), (1376797337,), (1376797367,), (1376797404,), (1376797434,), (1376797487,), (1376797694,), (1376797696,), (1376797698,), (1376797742,), (1376797775,), (1376797805,), (1376797835,), (1376797866,), (1376797896,), (1376798050,), (1376798051,), (1376798067,), (1376798092,), (1376798097,), (1376798100,), (1376798247,), (1376798292,), (1376798355,), (1376798413,), (1376799153,), (1376798989,), (1376799027,), (1376799055,), (1376799088,), (1376799119,), (1376799538,), (1376799576,), (1376799586,), (1376799613,), (1376799619,), (1376799632,), (1376799662,), (1376799691,), (1376799720,), (1376799750,), (1376799783,), (1376799889,), (1376799919,), (1376799927,), (1376799928,), (1376799976,), (1376799997,), (1376800026,), (1376800039,), (1376800045,), (1376800046,), (1376800148,), (1376800179,), (1376800216,), (1376800253,), (1376800526,), (1376800556,), (1376800595,), (1376800626,), (1376800836,), (1376800839,), (1376800840,), (1376800842,), (1376800845,), (1376801101,), (1376801256,), (1376801422,), (1376801591,), (1376802328,), (1376802424,), (1376802479,), (1376802563,), (1376802592,), (1376802625,), (1376802655,), (1376802689,), (1376802872,), (1376802875,), (1376802876,), (1376802923,), (1376803043,), (1376803048,), (1376803050,), (1376803057,), (1376803059,), (1376803061,), (1376803101,), (1376803175,), (1376803206,), (1376803238,), (1376803275,), (1376803335,), (1376803548,), (1376803579,), (1376803612,), (1376803812,), (1376803841,), (1376803994,), (1376803978,), (1376803981,), (1376803983,), (1376803985,), (1376804001,), (1376804004,), (1376804006,), (1376804009,), (1376804012,), (1376804015,), (1376804026,), (1376804029,), (1376804031,), (1376804033,), (1376804035,), (1376804263,), (1376804357,), (1376804449,), (1376804537,), (1376805184,), (1376805215,), (1376805244,), (1376805281,), (1376805313,), (1376805345,), (1376805813,), (1376805882,), (1376805917,), (1376806243,), (1376806255,), (1376806346,), (1376806439,), (1376806520,), (1376806604,), (1376807053,), (1376807089,), (1376807121,), (1376807150,), (1376807183,), (1376807214,), (1376807657,), (1376807664,), (1376807693,), (1376807813,), (1376807816,), (1376807818,), (1376807820,), (1376807822,), (1376808259,), (1376808345,), (1376808439,), (1376808535,), (1376808620,), (1376808672,), (1376808673,), (1376808675,), (1376809025,), (1376809029,), (1376809031,), (1376809054,), (1376809083,), (1376809112,), (1376810132,), (1376810163,), (1376810198,), (1376810212,), (1376810215,), (1376810785,), (1376810506,), (1376810565,), (1376810647,), (1376810711,), (1376811162,), (1376811252,), (1376811354,), (1376811424,), (1376811484,), (1376811800,), (1376811829,), (1376811857,), (1376811923,), (1376812059,), (1376813159,), (1376813271,), (1376813385,), (1376813505,), (1376813571,), (1376813732,), (1376813733,), (1376813772,), (1376813856,), (1376813948,), (1376814004,), (1376814465,), (1376814506,), (1376814545,), (1376814609,), (1376815424,), (1376815561,), (1376815700,), (1376815838,), (1376815878,), (1376816176,), (1376816259,), (1376816265,), (1376816284,), (1376816312,), (1376816333,), (1376816644,), (1376816805,), (1376816965,), (1376817793,), (1376817908,), (1376818020,), (1376818169,), (1376818272,), (1376818463,), (1376818464,), (1376818465,), (1376818691,), (1376818695,), (1376818701,), (1376818752,), (1376818753,), (1376818754,), (1376818756,), (1376818760,), (1376818764,), (1376818771,), (1376818775,), (1376818777,), (1376818805,), (1376819097,), (1376819126,), (1376819160,), (1376819191,), (1376819230,), (1376819481,), (1376820043,), (1376820061,), (1376820065,), (1376820067,), (1376820070,), (1376820095,), (1376820096,), (1376820098,), (1376820100,), (1376820102,), (1376820104,), (1376820131,), (1376820165,), (1376820503,), (1376820543,), (1376820576,), (1376820607,), (1376820637,), (1376821334,), (1376821463,), (1376821598,), (1376821763,), (1376822115,), (1376822145,), (1376822174,), (1376823621,), (1376823658,), (1376823690,), (1376823783,), (1376823786,), (1376823796,), (1376823862,), (1376824490,), (1376824533,), (1376824636,), (1376824742,), (1376824937,), (1376824938,), (1376825015,), (1376825095,), (1376825147,), (1376825152,), (1376825154,), (1376825171,), (1376825170,), (1376825194,), (1376825198,), (1376825202,), (1376825205,), (1376825208,), (1376825210,), (1376825214,), (1376825215,), (1376825217,), (1376825220,), (1376825222,), (1376825240,), (1376833015,), (1376832985,), (1376836594,), (1376837606,), (1376837661,), (1376837750,), (1376837843,), (1376838828,), (1376838962,), (1376839116,), (1376839241,), (1376839382,), (1376839518,), (1376839751,), (1376839782,), (1376839812,), (1376839846,), (1376839970,), (1376840078,), (1376840270,), (1376840272,), (1376840273,), (1376840289,), (1376840480,), (1376840502,), (1376840504,), (1376840506,), (1376840596,), (1376840598,), (1376840600,), (1376840601,), (1376840606,), (1376840632,), (1376840647,), (1376840649,), (1376840652,), (1376840655,), (1376841457,), (1376841589,), (1376841898,), (1376841899,), (1376841921,), (1376841951,), (1376841984,), (1376841998,), (1376842497,), (1376842548,), (1376842578,), (1376842642,), (1376843284,), (1376843285,), (1376843286,), (1376843590,), (1376843370,), (1376843485,), (1376843579,), (1376843588,), (1376843901,), (1376843931,), (1376843960,), (1376843992,), (1376844030,), (1376844324,), (1376844368,), (1376844402,), (1376844451,), (1376845123,), (1376845159,), (1376845184,), (1376845242,), (1376845294,), (1376845327,), (1376845716,), (1376845717,), (1376845745,), (1376845748,), (1376845778,), (1376845781,), (1376845812,), (1376845815,), (1376845843,), (1376845845,), (1376845873,), (1376845880,), (1376845982,), (1376846015,), (1376846047,), (1376846099,), (1376846129,), (1376846159,), (1376846197,), (1376846200,), (1376846202,), (1376846381,), (1376846411,), (1376846441,), (1376846518,), (1376846585,), (1376846691,), (1376846900,), (1376846945,), (1376846981,), (1376847349,), (1376847384,), (1376847414,), (1376847448,), (1376847469,), (1376847510,), (1376847541,), (1376847571,), (1376847605,), (1376847691,), (1376847694,), (1376847696,), (1376847698,), (1376847700,), (1376847709,), (1376847711,), (1376847713,), (1376847715,), (1376847726,), (1376847728,), (1376847754,), (1376847785,), (1376847817,), (1376848075,), (1376848120,), (1376848181,), (1376848213,), (1376848245,), (1376848409,), (1376848435,), (1376848444,), (1376848446,), (1376848448,), (1376848466,), (1376848541,), (1376848566,), (1376848573,), (1376848577,), (1376848579,), (1376848668,), (1376848671,), (1376848586,), (1376848587,), (1376848589,), (1376848590,), (1376848592,), (1376848593,), (1376849104,), (1376849204,), (1376849311,), (1376849412,), (1376849428,), (1376849430,), (1376849475,), (1376849507,), (1376849540,), (1376849571,), (1376849603,), (1376849634,), (1376850406,), (1376850462,), (1376850524,), (1376850583,), (1376850713,), (1376850785,), (1376850994,), (1376851057,), (1376851121,), (1376851336,), (1376851367,), (1376851594,), (1376851599,), (1376851637,), (1376851677,), (1376851872,), (1376851899,), (1376851902,), (1376851931,), (1376852005,), (1376852861,), (1376852916,), (1376852947,), (1376852982,), (1376853020,), (1376853272,), (1376853303,), (1376854112,), (1376854173,), (1376854229,), (1376854606,), (1376854661,), (1376854724,), (1376854779,), (1376854987,), (1376855017,), (1376855048,), (1376855063,), (1376855092,), (1376855897,), (1376855997,), (1376856108,), (1376856241,), (1376856500,), (1376856503,), (1376856506,), (1376856618,), (1376856720,), (1376856730,), (1376856993,), (1376857024,), (1376857053,), (1376857082,), (1376857120,), (1376857151,), (1376857462,), (1376857371,), (1376857402,), (1376857432,), (1376857903,), (1376857957,), (1376858013,), (1376858439,), (1376858502,), (1376858559,), (1376858615,), (1376858677,), (1376858857,), (1376858881,), (1376858910,), (1376858936,), (1376859888,), (1376859976,), (1376860090,), (1376860570,), (1376860615,), (1376860645,), (1376860692,), (1376860726,), (1376861320,), (1376861356,), (1376861404,), (1376861459,), (1376861585,), (1376861696,), (1376862234,), (1376862298,), (1376862357,), (1376862418,), (1376862693,), (1376862696,), (1376862698,), (1376862700,), (1376862804,), (1376862836,), (1376863357,), (1376863391,), (1376863423,), (1376863440,), (1376863449,), (1376863575,), (1376863577,), (1376863579,), (1376863585,), (1376863632,), (1376863633,), (1376863635,), (1376863640,), (1376863646,), (1376863649,), (1376863671,), (1376863676,), (1376863680,), (1376863686,), (1376863689,), (1376863692,), (1376863697,), (1376863700,), (1376863702,), (1376863710,), (1376863740,), (1376863736,), (1376863738,), (1376863739,), (1376864061,), (1376864119,), (1376864179,), (1376864858,), (1376865541,), (1376865611,), (1376865724,), (1376865784,), (1376866444,), (1376866473,), (1376866503,), (1376866776,), (1376866789,), (1376866819,), (1376866851,), (1376866881,), (1376866910,), (1376867101,), (1376867134,), (1376867144,), (1376867147,), (1376867175,), (1376867200,), (1376867214,), (1376867229,), (1376867276,), (1376867298,), (1376867317,), (1376867323,), (1376867325,), (1376867327,), (1376867334,), (1376867337,), (1376867338,), (1376867367,), (1376867402,), (1376867437,), (1376867677,), (1376867722,), (1376867754,), (1376867788,), (1376867828,), (1376868014,), (1376868017,), (1376868198,), (1376868219,), (1376868249,), (1376868308,), (1376868373,), (1376868438,), (1376868702,), (1376868740,), (1376868777,), (1376868809,), (1376868841,), (1376868873,), (1376869015,), (1376869019,), (1376869033,), (1376869036,), (1376869039,), (1376869306,), (1376869247,), (1376869271,), (1376869282,), (1376869298,), (1376869347,), (1376869348,), (1376869349,), (1376869366,), (1376869374,), (1376869381,), (1376869383,), (1376869397,), (1376869398,), (1376869399,), (1376869401,), (1376869561,), (1376869594,), (1376869625,), (1376869654,), (1376869682,), (1376869713,), (1376869947,), (1376869978,), (1376870023,), (1376870174,), (1376870183,), (1376870185,), (1376870441,), (1376870445,), (1376870446,), (1376870457,), (1376870781,), (1376870820,), (1376870853,), (1376870885,), (1376871221,), (1376871251,), (1376871285,), (1376871316,), (1376871371,), (1376871839,), (1376871872,), (1376871902,), (1376871934,), (1376871965,), (1376872272,), (1376872321,), (1376872322,), (1376872325,), (1376872354,), (1376872364,), (1376872649,), (1376872712,), (1376872871,), (1376873336,), (1376873368,), (1376873408,), (1376873412,), (1376873422,), (1376873425,), (1376873426,), (1376873428,), (1376873430,), (1376873496,), (1376873478,), (1376873480,), (1376873486,), (1376873494,), (1376873518,), (1376873521,), (1376873526,), (1376873529,), (1376873731,), (1376873763,), (1376874129,), (1376874163,), (1376874196,), (1376874229,), (1376874812,), (1376874874,), (1376874922,), (1376874950,), (1376875334,), (1376875394,), (1376875427,), (1376875452,), (1376875458,), (1376875528,), (1376875529,), (1376875531,), (1376875534,), (1376875722,), (1376875753,), (1376875981,), (1376875985,), (1376876017,), (1376876049,), (1376876063,), (1376876086,), (1376876152,), (1376876154,), (1376876156,), (1376876178,), (1376876200,), (1376876230,), (1376876258,), (1376876543,), (1376876580,), (1376876623,), (1376877192,), (1376877250,), (1376877502,), (1376877533,), (1376877565,), (1376877595,), (1376877790,), (1376877819,), (1376877878,), (1376877906,), (1376877937,), (1376878200,), (1376878160,), (1376878195,), (1376878321,), (1376878322,), (1376878323,), (1376878326,), (1376878342,), (1376878344,), (1376878347,), (1376878349,), (1376878350,), (1376878351,), (1376878828,), (1376878903,), (1376878937,), (1376878973,), (1376879012,), (1376879042,), (1376879109,), (1376879139,), (1376879144,), (1376879151,), (1376879212,), (1376879243,), (1376879273,), (1376879374,), (1376879405,), (1376879415,), (1376879418,), (1376879442,), (1376879477,), (1376879479,), (1376879480,), (1376879482,), (1376879497,), (1376879505,), (1376879515,), (1376879518,), (1376879815,), (1376879873,), (1376879930,), (1376879990,), (1376880049,), (1376880110,), (1376880535,), (1376880610,), (1376880686,), (1376880743,), (1376880797,), (1376880852,), (1376881145,), (1376881203,), (1376881244,), (1376881277,), (1376881581,), (1376881614,), (1376881646,), (1376881676,), (1376881691,), (1376881711,), (1376882176,), (1376882214,), (1376882249,), (1376882281,), (1376882443,), (1376882444,), (1376882478,), (1376882480,), (1376882511,), (1376882514,), (1376882548,), (1376882551,), (1376882934,), (1376882755,), (1376882815,), (1376882874,), (1376884421,), (1376885493,), (1376885936,), (1376886961,), (1376887023,), (1376887084,), (1376887173,), (1376887767,), (1376887796,), (1376887848,), (1376888269,), (1376888272,), (1376888280,), (1376888332,), (1376888507,), (1376888551,), (1376888589,), (1376889077,), (1376889117,), (1376889146,), (1376889477,), (1376889508,), (1376889542,), (1376889572,), (1376889739,), (1376889742,), (1376889818,), (1376889850,), (1376889881,), (1376890279,), (1376890294,), (1376890328,), (1376890386,), (1376890812,), (1376890844,), (1376890874,), (1376891404,), (1376891463,), (1376891526,), (1376891592,), (1376891652,), (1376892427,), (1376892174,), (1376892243,), (1376892304,), (1376892368,), (1376892847,), (1376892884,), (1376892915,), (1376893344,), (1376893403,), (1376893484,), (1376893592,), (1376893683,), (1376893827,), (1376894288,), (1376894347,), (1376894397,), (1376894465,), (1376894518,), (1376894728,), (1376894731,), (1376894732,), (1376894734,), (1376894996,), (1376895005,), (1376895019,), (1376895077,), (1376895117,), (1376895176,), (1376895398,), (1376895455,), (1376895649,), (1376895706,), (1376895769,), (1376895828,), (1376895897,), (1376896251,), (1376896280,), (1376896312,), (1376896342,), (1376896376,), (1376896833,), (1376896871,), (1376897086,), (1376897087,), (1376897088,), (1376897284,), (1376897781,), (1376898160,), (1376898365,), (1376898583,), (1376898599,), (1376898629,), (1376899122,), (1376898950,), (1376899045,), (1376899077,), (1376899375,), (1376901013,), (1376901081,), (1376901143,), (1376901676,), (1376901706,), (1376901746,), (1376902192,), (1376902225,), (1376902267,), (1376902305,), (1376902805,), (1376902866,), (1376902926,), (1376902976,), (1376903008,), (1376903300,), (1376903302,), (1376903304,), (1376903307,), (1376903310,), (1376903313,), (1376903418,), (1376903448,), (1376903476,), (1376903505,), (1376903534,), (1376903859,), (1376903915,), (1376903952,), (1376903983,), (1376904280,), (1376904311,), (1376904340,), (1376904406,), (1376904437,), (1376904467,), (1376904663,), (1376904665,), (1376904693,), (1376904724,), (1376904739,), (1376904752,), (1376904755,), (1376904756,), (1376904776,), (1376904771,), (1376904773,), (1376904787,), (1376904802,), (1376904804,), (1376904805,), (1376904816,), (1376904820,), (1376904822,), (1376904824,), (1376904826,), (1376904833,), (1376904835,), (1376904836,), (1376904864,), (1376904865,), (1376904866,), (1376904868,), (1376904870,), (1376904875,), (1376904885,), (1376904887,), (1376904889,), (1376904891,), (1376904893,), (1376904900,), (1376904903,), (1376904904,), (1376904921,), (1376904923,), (1376904925,), (1376904927,), (1376904929,), (1376904931,), (1376904939,), (1376904943,), (1376904946,), (1376904948,), (1376904950,), (1376904952,), (1376904960,), (1376904962,), (1376904963,), (1376904972,), (1376904976,), (1376904978,), (1376904980,), (1376904982,), (1376904984,), (1376904991,), (1376904993,), (1376904994,), (1376904996,), (1376904999,), (1376905002,), (1376905016,), (1376905470,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13082025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25934139]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] map_info['map_portfolio_photo'] : {25934139: [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067]} final : True mtd_id 4302 list_pids : [1376741200, 1376741198, 1376741195, 1376741191, 1376741189, 1376741187, 1376741175, 1376741172, 1376741170, 1376741167, 1376741164, 1376741161, 1376741156, 1376741154, 1376741151, 1376741149, 1376741147, 1376741145, 1376741137, 1376741134, 1376741132, 1376741129, 1376741127, 1376741124, 1376741115, 1376741111, 1376741109, 1376741105, 1376741103, 1376741099, 1376741090, 1376741086, 1376741083, 1376741080, 1376741077, 1376741075, 1376741067] Looping around the photos to save general results len do output : 1 /25934139Didn'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, '3528271') ('4302', '25934139', '1376741200', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271') ('4302', None, None, None, None, None, None, None, '3528271') ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '25934139', 'None', None, None, None, None, '3528271'), ('4302', '25934139', '1376741200', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741198', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741195', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741191', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741189', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741187', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741175', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741172', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741170', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741167', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741164', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741161', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741156', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741154', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741151', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741149', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741147', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741145', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741137', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741134', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741132', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741129', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741127', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741124', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741115', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741111', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741109', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741105', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741103', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741099', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741090', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741086', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741083', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741080', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741077', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741075', None, None, None, None, None, '3528271'), ('4302', '25934139', '1376741067', None, None, None, None, None, '3528271')] time used for this insertion : 0.018642187118530273 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.972055435180664 time spend to save output : 0.019003868103027344 total time spend for step 5 : 5.991059303283691 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 (3528271) 2.73user 2.17system 0:12.88elapsed 38%CPU (0avgtext+0avgdata 165060maxresident)k 496inputs+20208outputs (2major+79283minor)pagefaults 0swaps