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 : 743670 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 (3889186) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3889186) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614441 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3889186'] with mtr_portfolio_ids : ['27614441'] and first list_photo_ids : [] new path : /proc/743670/ Name: python3 Umask: 0002 State: R (running) Tgid: 743670 Ngid: 0 Pid: 743670 PPid: 743669 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 743670 NSpid: 743670 NSpgid: 742454 NSsid: 742454 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99024 kB VmRSS: 99024 kB RssAnon: 59852 kB RssFile: 39172 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 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: 50 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '743670', 'Ngid': '0', 'Pid': '743670', 'PPid': '743669', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '743670', 'NSpid': '743670', 'NSpgid': '742454', 'NSsid': '742454', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99024 kB', 'VmRSS': '99024 kB', 'RssAnon': '59852 kB', 'RssFile': '39172 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 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': '50', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '743670', '1106868', '0', '1106868', '865620', '99024', b'', 'marlene', '3889186') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27614441) 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 (3889186 ) ) 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 (27614441) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388275605, 'portfolio_id': 27614441}, {'photo_id': 1388275601, 'portfolio_id': 27614441}, {'photo_id': 1388275598, 'portfolio_id': 27614441}, {'photo_id': 1388275595, 'portfolio_id': 27614441}, {'photo_id': 1388275584, 'portfolio_id': 27614441}, {'photo_id': 1388275581, 'portfolio_id': 27614441}, {'photo_id': 1388275579, 'portfolio_id': 27614441}, {'photo_id': 1388275577, 'portfolio_id': 27614441}, {'photo_id': 1388275576, 'portfolio_id': 27614441}, {'photo_id': 1388275550, 'portfolio_id': 27614441}, {'photo_id': 1388275547, 'portfolio_id': 27614441}, {'photo_id': 1388275545, 'portfolio_id': 27614441}, {'photo_id': 1388275542, 'portfolio_id': 27614441}, {'photo_id': 1388275534, 'portfolio_id': 27614441}, {'photo_id': 1388275531, 'portfolio_id': 27614441}, {'photo_id': 1388275529, 'portfolio_id': 27614441}, {'photo_id': 1388275527, 'portfolio_id': 27614441}, {'photo_id': 1388275520, 'portfolio_id': 27614441}, {'photo_id': 1388275509, 'portfolio_id': 27614441}, {'photo_id': 1388275506, 'portfolio_id': 27614441}, {'photo_id': 1388275503, 'portfolio_id': 27614441}, {'photo_id': 1388275501, 'portfolio_id': 27614441}, {'photo_id': 1388275499, 'portfolio_id': 27614441}, {'photo_id': 1388275496, 'portfolio_id': 27614441}, {'photo_id': 1388275482, 'portfolio_id': 27614441}, {'photo_id': 1388275479, 'portfolio_id': 27614441}, {'photo_id': 1388275477, 'portfolio_id': 27614441}, {'photo_id': 1388275475, 'portfolio_id': 27614441}, {'photo_id': 1388275463, 'portfolio_id': 27614441}, {'photo_id': 1388275460, 'portfolio_id': 27614441}, {'photo_id': 1388275457, 'portfolio_id': 27614441}, {'photo_id': 1388275455, 'portfolio_id': 27614441}, {'photo_id': 1388275454, 'portfolio_id': 27614441}, {'photo_id': 1388275451, 'portfolio_id': 27614441}, {'photo_id': 1388275438, 'portfolio_id': 27614441}, {'photo_id': 1388275433, 'portfolio_id': 27614441}, {'photo_id': 1388275432, 'portfolio_id': 27614441}, {'photo_id': 1388275427, 'portfolio_id': 27614441}, {'photo_id': 1388275425, 'portfolio_id': 27614441}, {'photo_id': 1388275422, 'portfolio_id': 27614441}, {'photo_id': 1388275419, 'portfolio_id': 27614441}, {'photo_id': 1388275416, 'portfolio_id': 27614441}, {'photo_id': 1388275414, 'portfolio_id': 27614441}, {'photo_id': 1388275395, 'portfolio_id': 27614441}, {'photo_id': 1388275394, 'portfolio_id': 27614441}, {'photo_id': 1388275391, 'portfolio_id': 27614441}, {'photo_id': 1388275373, 'portfolio_id': 27614441}, {'photo_id': 1388275368, 'portfolio_id': 27614441}, {'photo_id': 1388275361, 'portfolio_id': 27614441}, {'photo_id': 1388275347, 'portfolio_id': 27614441}, {'photo_id': 1388275345, 'portfolio_id': 27614441}, {'photo_id': 1388275342, 'portfolio_id': 27614441}] map_portfolio_id_photo_id: {27614441: [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576, 1388275550, 1388275547, 1388275545, 1388275542, 1388275534, 1388275531, 1388275529, 1388275527, 1388275520, 1388275509, 1388275506, 1388275503, 1388275501, 1388275499, 1388275496, 1388275482, 1388275479, 1388275477, 1388275475, 1388275463, 1388275460, 1388275457, 1388275455, 1388275454, 1388275451, 1388275438, 1388275433, 1388275432, 1388275427, 1388275425, 1388275422, 1388275419, 1388275416, 1388275414, 1388275395, 1388275394, 1388275391, 1388275373, 1388275368, 1388275361, 1388275347, 1388275345, 1388275342]} ##### 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.05361580848693848 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Oct 8 22:58:56 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 (27614441) 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 : 27614441 get user id for portfolio 27614441 get sub ptf for main ptf 27614441, type 3726 and hashtags ['Carton_gris', 'flou', 'Carton_brun', 'cartonnette', 'autre_refus', 'Teint_Dans_La_Masse', 'papier', 'plastique', 'mal_croppe', 'metal', 'environnement', 'kraft'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27614441 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','flou','Carton_brun','cartonnette','autre_refus','Teint_Dans_La_Masse','papier','plastique','mal_croppe','metal','environnement','kraft')) 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`=27614441 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','flou','Carton_brun','cartonnette','autre_refus','Teint_Dans_La_Masse','papier','plastique','mal_croppe','metal','environnement','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27614441, 'sub_port_id': 27614463, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637103, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'Carton_gris': {'main_port_id': 27614441, 'sub_port_id': 27614464, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637104, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'metal': {'main_port_id': 27614441, 'sub_port_id': 27614465, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637105, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'Carton_brun': {'main_port_id': 27614441, 'sub_port_id': 27614466, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637106, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'flou': {'main_port_id': 27614441, 'sub_port_id': 27614467, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637107, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'kraft': {'main_port_id': 27614441, 'sub_port_id': 27614468, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637108, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'environnement': {'main_port_id': 27614441, 'sub_port_id': 27614469, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637109, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'cartonnette': {'main_port_id': 27614441, 'sub_port_id': 27614470, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637110, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'papier': {'main_port_id': 27614441, 'sub_port_id': 27614471, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637111, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 27614441, 'sub_port_id': 27614472, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637112, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'mal_croppe': {'main_port_id': 27614441, 'sub_port_id': 27614473, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637113, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}, 'plastique': {'main_port_id': 27614441, 'sub_port_id': 27614474, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637114, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614463 , 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=27614441 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 (27614463) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614464 , 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=27614441 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 (27614464) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614465 , 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=27614441 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 (27614465) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614466 , 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=27614441 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 (27614466) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614467 , 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=27614441 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 (27614467) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614468 , 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=27614441 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 (27614468) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614469 , 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=27614441 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 (27614469) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614470 , 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=27614441 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 (27614470) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614471 , 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=27614441 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 (27614471) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614472 , 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=27614441 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 (27614472) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614473 , 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=27614441 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 (27614473) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27614474 , 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=27614441 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 (27614474) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27614441) result : ((1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27614441 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','flou','Carton_brun','cartonnette','autre_refus','Teint_Dans_La_Masse','papier','plastique','mal_croppe','metal','environnement','kraft')) 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`=27614441 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','flou','Carton_brun','cartonnette','autre_refus','Teint_Dans_La_Masse','papier','plastique','mal_croppe','metal','environnement','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27614441, 'sub_port_id': 27614478, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637115, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'Carton_gris': {'main_port_id': 27614441, 'sub_port_id': 27614479, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637116, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'metal': {'main_port_id': 27614441, 'sub_port_id': 27614480, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637117, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'Carton_brun': {'main_port_id': 27614441, 'sub_port_id': 27614481, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637118, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'flou': {'main_port_id': 27614441, 'sub_port_id': 27614482, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637119, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'kraft': {'main_port_id': 27614441, 'sub_port_id': 27614483, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637120, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'environnement': {'main_port_id': 27614441, 'sub_port_id': 27614484, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637121, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'cartonnette': {'main_port_id': 27614441, 'sub_port_id': 27614485, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637122, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'papier': {'main_port_id': 27614441, 'sub_port_id': 27614486, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637123, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 27614441, 'sub_port_id': 27614487, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637124, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'mal_croppe': {'main_port_id': 27614441, 'sub_port_id': 27614488, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637125, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 49, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}, 'plastique': {'main_port_id': 27614441, 'sub_port_id': 27614489, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18637126, 'last_updated_at': datetime.datetime(2025, 10, 8, 22, 57, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 22, 57, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 22, 49, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614478,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614463 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614479,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614464 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614480,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614465 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614481,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614466 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614482,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614467 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614483,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614468 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614484,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614469 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614485,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614470 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614486,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614471 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614487,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614472 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614488,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614473 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27614489,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27614474 lien utilise dans velours : https://marlene.fotonower.com/velours/27614478,27614479,27614480,27614481,27614482,27614483,27614484,27614485,27614486,27614487,27614488,27614489?tags=autre_refus,Carton_gris,metal,Carton_brun,flou,kraft,environnement,cartonnette,papier,Teint_Dans_La_Masse,mal_croppe,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27614441]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] map_info['map_portfolio_photo'] : {27614441: [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576, 1388275550, 1388275547, 1388275545, 1388275542, 1388275534, 1388275531, 1388275529, 1388275527, 1388275520, 1388275509, 1388275506, 1388275503, 1388275501, 1388275499, 1388275496, 1388275482, 1388275479, 1388275477, 1388275475, 1388275463, 1388275460, 1388275457, 1388275455, 1388275454, 1388275451, 1388275438, 1388275433, 1388275432, 1388275427, 1388275425, 1388275422, 1388275419, 1388275416, 1388275414, 1388275395, 1388275394, 1388275391, 1388275373, 1388275368, 1388275361, 1388275347, 1388275345, 1388275342]} final : False mtd_id 4302 list_pids : [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] Looping around the photos to save general results len do output : 1 /27614441. 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, '3889186') ('4302', '27614441', '1388275605', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '27614441', "{'autre_refus': 27614463, 'Carton_gris': 27614464, 'metal': 27614465, 'Carton_brun': 27614466, 'flou': 27614467, 'kraft': 27614468, 'environnement': 27614469, 'cartonnette': 27614470, 'papier': 27614471, 'Teint_Dans_La_Masse': 27614472, 'mal_croppe': 27614473, 'plastique': 27614474}", None, None, None, None, '3889186'), ('4302', '27614441', '1388275605', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186')] time used for this insertion : 0.03706836700439453 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.080280542373657 time spend to save output : 0.037369489669799805 total time spend for step 1 : 5.117650032043457 step2:final Wed Oct 8 22:59:02 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 (27614441) 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 27614441 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388275347,1388275345,1388275342,1388275373,1388275368,1388275361,1388275395,1388275438,1388275394,1388275433,1388275391,1388275432,1388275427,1388275425,1388275422,1388275419,1388275416,1388275414,1388275463,1388275460,1388275457,1388275455,1388275454,1388275451,1388275482,1388275479,1388275477,1388275475,1388275509,1388275506,1388275503,1388275501,1388275499,1388275496,1388275534,1388275531,1388275529,1388275527,1388275520,1388275550,1388275547,1388275545,1388275542,1388275584,1388275581,1388275579,1388275577,1388275576,1388275605,1388275601,1388275598,1388275595); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27614441]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} new output for save of step final : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] map_info['map_portfolio_photo'] : {27614441: [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576, 1388275550, 1388275547, 1388275545, 1388275542, 1388275534, 1388275531, 1388275529, 1388275527, 1388275520, 1388275509, 1388275506, 1388275503, 1388275501, 1388275499, 1388275496, 1388275482, 1388275479, 1388275477, 1388275475, 1388275463, 1388275460, 1388275457, 1388275455, 1388275454, 1388275451, 1388275438, 1388275433, 1388275432, 1388275427, 1388275425, 1388275422, 1388275419, 1388275416, 1388275414, 1388275395, 1388275394, 1388275391, 1388275373, 1388275368, 1388275361, 1388275347, 1388275345, 1388275342]} final : False mtd_id 4302 list_pids : [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] Looping around the photos to save general results len do output : 9 /1388275605.Didn't retrieve data . /1388275601.Didn't retrieve data . /1388275598.Didn't retrieve data . /1388275595.Didn't retrieve data . /1388275584.Didn't retrieve data . /1388275581.Didn't retrieve data . /1388275579.Didn't retrieve data . /1388275577.Didn't retrieve data . /1388275576.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, '3889186') ('4302', '27614441', '1388275605', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27614441', '1388275605', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275601', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275598', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275595', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275584', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275581', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275579', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275577', '0.0', None, None, None, None, '3889186'), ('4302', '27614441', '1388275576', '0.0', None, None, None, None, '3889186')] time used for this insertion : 0.04023551940917969 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2071852684020996 time spend to save output : 0.04073810577392578 total time spend for step 2 : 0.2479233741760254 step3:velours_tree Wed Oct 8 22:59:02 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 : {27614441: [{'autre_refus': 27614463, 'Carton_gris': 27614464, 'metal': 27614465, 'Carton_brun': 27614466, 'flou': 27614467, 'kraft': 27614468, 'environnement': 27614469, 'cartonnette': 27614470, 'papier': 27614471, 'Teint_Dans_La_Masse': 27614472, 'mal_croppe': 27614473, 'plastique': 27614474}]} input_args_next_step : {27614441: ()} output_args : {27614441: [{'autre_refus': 27614463, 'Carton_gris': 27614464, 'metal': 27614465, 'Carton_brun': 27614466, 'flou': 27614467, 'kraft': 27614468, 'environnement': 27614469, 'cartonnette': 27614470, 'papier': 27614471, 'Teint_Dans_La_Masse': 27614472, 'mal_croppe': 27614473, 'plastique': 27614474}]} args : 27614441 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 : ({'autre_refus': 27614463, 'Carton_gris': 27614464, 'metal': 27614465, 'Carton_brun': 27614466, 'flou': 27614467, 'kraft': 27614468, 'environnement': 27614469, 'cartonnette': 27614470, 'papier': 27614471, 'Teint_Dans_La_Masse': 27614472, 'mal_croppe': 27614473, 'plastique': 27614474},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27614441) 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([27614441]) 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.28295445442199707 time spend to save output : 3.910064697265625e-05 total time spend for step 3 : 0.2829935550689697 step4:send_mail_cod Wed Oct 8 22:59:02 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 : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} input_args_next_step : {1388275605: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275605 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275601 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275598 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275595 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275584 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275581 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275579 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275577 depend.output_id : 0 input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ()} output_args : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',)} args : 1388275576 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 : {27614441: [{'autre_refus': 27614463, 'Carton_gris': 27614464, 'metal': 27614465, 'Carton_brun': 27614466, 'flou': 27614467, 'kraft': 27614468, 'environnement': 27614469, 'cartonnette': 27614470, 'papier': 27614471, 'Teint_Dans_La_Masse': 27614472, 'mal_croppe': 27614473, 'plastique': 27614474}]} input_args_next_step : {1388275605: ('0.0',), 1388275601: ('0.0',), 1388275598: ('0.0',), 1388275595: ('0.0',), 1388275584: ('0.0',), 1388275581: ('0.0',), 1388275579: ('0.0',), 1388275577: ('0.0',), 1388275576: ('0.0',), 27614441: ()} output_args : {27614441: [{'autre_refus': 27614463, 'Carton_gris': 27614464, 'metal': 27614465, 'Carton_brun': 27614466, 'flou': 27614467, 'kraft': 27614468, 'environnement': 27614469, 'cartonnette': 27614470, 'papier': 27614471, 'Teint_Dans_La_Masse': 27614472, 'mal_croppe': 27614473, 'plastique': 27614474}]} args : 27614441 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 :10, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27614441) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1388275605,1388275601,1388275598,1388275595,1388275584,1388275581,1388275579,1388275577,1388275576) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388275576 begin to download photo : 1388275579 begin to download photo : 1388275584 begin to download photo : 1388275598 begin to download photo : 1388275605 download finish for photo 1388275584 begin to download photo : 1388275595 download finish for photo 1388275579 begin to download photo : 1388275581 download finish for photo 1388275605 download finish for photo 1388275576 begin to download photo : 1388275577 download finish for photo 1388275598 begin to download photo : 1388275601 download finish for photo 1388275581 download finish for photo 1388275595 download finish for photo 1388275577 download finish for photo 1388275601 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette276144631759957143/ imagette276144651759957143/ imagette276144671759957143/ imagette276144681759957143/ imagette276144701759957143/ imagette276144731759957143/ imagette276144741759957143/ imagette276144641759957143/ imagette276144661759957143/ imagette276144721759957143/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P27614441_08-10-2025_22_59_03.pdf 27614463 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614463 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144631759957143 27614465 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614465 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144651759957143 27614467 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614467 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144671759957143 27614468 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614468 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144681759957143 27614470 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614470 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144701759957143 27614473 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614473 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144731759957143 27614474 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614474 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144741759957143 27614464 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614464 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144641759957143 27614466 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614466 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144661759957143 27614472 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614472 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276144721759957143 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27614441 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27614478,27614479,27614480,27614481,27614482,27614483,27614484,27614485,27614486,27614487,27614488,27614489?tags=autre_refus,Carton_gris,metal,Carton_brun,flou,kraft,environnement,cartonnette,papier,Teint_Dans_La_Masse,mal_croppe,plastique your option no_mail is active, we will not send the real mail to your client args[1388275605] : ('0.0',) no score found for photo 1388275605 We are sending mail with results at report@fotonower.com args[1388275601] : ('0.0',) no score found for photo 1388275601 We are sending mail with results at report@fotonower.com args[1388275598] : ('0.0',) no score found for photo 1388275598 We are sending mail with results at report@fotonower.com args[1388275595] : ('0.0',) no score found for photo 1388275595 We are sending mail with results at report@fotonower.com args[1388275584] : ('0.0',) no score found for photo 1388275584 We are sending mail with results at report@fotonower.com args[1388275581] : ('0.0',) no score found for photo 1388275581 We are sending mail with results at report@fotonower.com args[1388275579] : ('0.0',) no score found for photo 1388275579 We are sending mail with results at report@fotonower.com args[1388275577] : ('0.0',) no score found for photo 1388275577 We are sending mail with results at report@fotonower.com args[1388275576] : ('0.0',) no score found for photo 1388275576 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614441 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_P27614441_08-10-2025_22_59_03.pdf results_Auto_P27614441_08-10-2025_22_59_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27614441_08-10-2025_22_59_03.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','27614441','results_Auto_P27614441_08-10-2025_22_59_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27614441_08-10-2025_22_59_03.pdf','pdf','','0.09','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27614441]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] map_info['map_portfolio_photo'] : {27614441: [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576, 1388275550, 1388275547, 1388275545, 1388275542, 1388275534, 1388275531, 1388275529, 1388275527, 1388275520, 1388275509, 1388275506, 1388275503, 1388275501, 1388275499, 1388275496, 1388275482, 1388275479, 1388275477, 1388275475, 1388275463, 1388275460, 1388275457, 1388275455, 1388275454, 1388275451, 1388275438, 1388275433, 1388275432, 1388275427, 1388275425, 1388275422, 1388275419, 1388275416, 1388275414, 1388275395, 1388275394, 1388275391, 1388275373, 1388275368, 1388275361, 1388275347, 1388275345, 1388275342]} final : False mtd_id 4302 list_pids : [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] 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, '3889186') ('4302', '27614441', '1388275605', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '27614441', '1388275605', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186')] time used for this insertion : 0.03558921813964844 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8538224697113037 time spend to save output : 0.035840749740600586 total time spend for step 4 : 1.8896632194519043 step5:split_time_score Wed Oct 8 22:59:04 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 : ['27614441'] 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 : [('27614441',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27614441) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388275605: {'path': 'temp/1759957142_743670_1388275605_5c77cbc67f3aabcbcd92160e4284ee4d.jpg', 'extension': 'jpg'}, 1388275579: {'path': 'temp/1759957142_743670_1388275579_afa5899e98d8ebbf3957b07622fa8dc2.jpg', 'extension': 'jpg'}, 1388275581: {'path': 'temp/1759957142_743670_1388275581_3c86c9599e992b9726e8e6bc4b98a04f.jpg', 'extension': 'jpg'}, 1388275584: {'path': 'temp/1759957142_743670_1388275584_31ee874819133ea436878dc9ec2473ed.jpg', 'extension': 'jpg'}, 1388275595: {'path': 'temp/1759957142_743670_1388275595_18aacf9e5f57ca165b00e3fc453b3e2a.jpg', 'extension': 'jpg'}, 1388275576: {'path': 'temp/1759957142_743670_1388275576_1d3174b85b4c9a1538f5e3f4b104cc1f.jpg', 'extension': 'jpg'}, 1388275577: {'path': 'temp/1759957142_743670_1388275577_7253e1db6f163fe10bce94fb3ebca382.jpg', 'extension': 'jpg'}, 1388275598: {'path': 'temp/1759957142_743670_1388275598_96006737d1fedb668a3050828d38addb.jpg', 'extension': 'jpg'}, 1388275601: {'path': 'temp/1759957142_743670_1388275601_6f035d88e748ac2a2a0317fee9ab28d3.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 = 27614441; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27614441 group by h (('22', 52),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27614441 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 (27614441) 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 (27614441) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08102025 27614441 Nombre de photos uploadées : 52 / 23040 (0%) 08102025 27614441 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 08102025 27614441 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1388275347, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/bd7d8e4b67f202297c7eaa3fa68ad268.jpg', 'username': None, 'uploaded_at': 1759956487, 'text': 'image_08102025_22_47_04_10169.jpg'}, {'photo_id': 1388275345, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/8f9ac7372be324b1cf4dea570316c997.jpg', 'username': None, 'uploaded_at': 1759956487, 'text': 'image_08102025_22_47_23_9136.jpg'}, {'photo_id': 1388275342, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/229f54b060797ad415124122a0d04c26.jpg', 'username': None, 'uploaded_at': 1759956487, 'text': 'image_08102025_22_47_43_10143.jpg'}, {'photo_id': 1388275373, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cf0f25e257e2cc37d0865a9ba46d7df2.jpg', 'username': None, 'uploaded_at': 1759956547, 'text': 'image_08102025_22_47_54_10142.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002698659896850586 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27614441, '2025-10-08' ) 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 (2407133,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6459286212921143 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= 2407133 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27570631, 'dashboard_result_id': 16150080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27570709, 'dashboard_result_id': 16150081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27570914, 'dashboard_result_id': 16150082, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27571567, 'dashboard_result_id': 16150083, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27571642, 'dashboard_result_id': 16150084, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27571858, 'dashboard_result_id': 16150086, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27572099, 'dashboard_result_id': 16150087, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27572479, 'dashboard_result_id': 16150088, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27572540, 'dashboard_result_id': 16150089, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27572709, 'dashboard_result_id': 16150090, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27572825, 'dashboard_result_id': 16150091, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27573623, 'dashboard_result_id': 16150092, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27573806, 'dashboard_result_id': 16150093, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27574080, 'dashboard_result_id': 16150094, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27574493, 'dashboard_result_id': 16150095, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27574915, 'dashboard_result_id': 16150096, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27575448, 'dashboard_result_id': 16150097, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27575977, 'dashboard_result_id': 16150098, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27576419, 'dashboard_result_id': 16150099, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27576741, 'dashboard_result_id': 16150101, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27577488, 'dashboard_result_id': 16150102, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27578065, 'dashboard_result_id': 16150103, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27578618, 'dashboard_result_id': 16150104, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27579031, 'dashboard_result_id': 16150105, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27579676, 'dashboard_result_id': 16150106, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27580231, 'dashboard_result_id': 16150107, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27580884, 'dashboard_result_id': 16150108, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27582329, 'dashboard_result_id': 16150109, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27582718, 'dashboard_result_id': 16150110, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27583297, 'dashboard_result_id': 16150111, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27584475, 'dashboard_result_id': 16150112, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27585601, 'dashboard_result_id': 16150113, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27586735, 'dashboard_result_id': 16150115, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27587655, 'dashboard_result_id': 16150116, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27588770, 'dashboard_result_id': 16150118, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27589876, 'dashboard_result_id': 16150119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27591042, 'dashboard_result_id': 16150120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27592015, 'dashboard_result_id': 16150121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27596112, 'dashboard_result_id': 16150122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27596722, 'dashboard_result_id': 16150123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27597213, 'dashboard_result_id': 16150125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27597939, 'dashboard_result_id': 16150126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27598818, 'dashboard_result_id': 16150127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27599617, 'dashboard_result_id': 16150128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27600623, 'dashboard_result_id': 16150129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27600623_08-10-2025_15_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27600648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27600649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27600650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27600651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27600652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27600653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27600654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27600655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27600656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27600657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27600658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27600659, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27601402, 'dashboard_result_id': 16150132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27601402_08-10-2025_15_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27601472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27601473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27601474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27601475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27601476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27601477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27601478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27601479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27601480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27601481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27601482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27601483, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27602207, 'dashboard_result_id': 16150133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27602207_08-10-2025_17_59_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27602229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27602230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27602231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27602232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27602233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27602234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27602235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27602236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27602237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27602238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27602239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27602240, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27603970, 'dashboard_result_id': 16150134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603970_08-10-2025_18_00_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604031, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27603566, 'dashboard_result_id': 16150135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603583, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27603402, 'dashboard_result_id': 16150136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27603716, 'dashboard_result_id': 16150138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27604223, 'dashboard_result_id': 16150139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_17_05_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27604733, 'dashboard_result_id': 16150140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604733_08-10-2025_17_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604769, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27605269, 'dashboard_result_id': 16150141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27605269_08-10-2025_17_54_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27605304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27605305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27605306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27605307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27605308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27605309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27605310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27605311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27605312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27605313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27605314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27605315, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27606584, 'dashboard_result_id': 16150142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27606584_08-10-2025_18_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27606587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27606588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27606589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27606590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27606591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27606592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27606593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27606594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27606595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27606596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27606597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27606598, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27607068, 'dashboard_result_id': 16150143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607068_08-10-2025_18_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607084, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27607489, 'dashboard_result_id': 16150144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607489_08-10-2025_18_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27607494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607505, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27607964, 'dashboard_result_id': 16150146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607964_08-10-2025_19_03_26.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607981, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27608425, 'dashboard_result_id': 16150147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608425_08-10-2025_19_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608437, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27608960, 'dashboard_result_id': 16150148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608974, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27609358, 'dashboard_result_id': 16150149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609358_08-10-2025_19_49_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27609376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27609377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27609378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27609379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27609380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27609381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27609382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27609383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27609384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27609385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27609386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27609387, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27609850, 'dashboard_result_id': 16150150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609850_08-10-2025_20_04_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27609854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27609856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27609857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27609858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27609859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27609860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27609861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27609862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27609863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27609864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27609865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27609866, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27610293, 'dashboard_result_id': 16150151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610293_08-10-2025_20_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27610301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27610302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27610303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27610304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27610305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27610306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27610307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27610308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27610309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27610310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27610311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27610312, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27610815, 'dashboard_result_id': 16150152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610815_08-10-2025_20_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27610823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27610824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27610825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27610826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27610827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27610828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27610829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27610830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27610831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27610832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27610833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27610834, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27611298, 'dashboard_result_id': 16150153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27611298_08-10-2025_20_43_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27611309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27611310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27611311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27611312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27611313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27611314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27611315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27611316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27611317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27611318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27611319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27611320, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27613323, 'dashboard_result_id': 16150154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613323_08-10-2025_22_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27613338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27613339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27613340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27613341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27613342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27613343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27613344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27613345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27613346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27613347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27613348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27613349, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27613628, 'dashboard_result_id': 16150155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613628_08-10-2025_22_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27613652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27613653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27613654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27613655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27613656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27613657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27613658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27613659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27613660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27613661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27613662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27613663, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27613960, 'dashboard_result_id': 16150156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613960_08-10-2025_22_49_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27613990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27613991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27613992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27613993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27613994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27613995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27613996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27613997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27613998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27613999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27614000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27614001, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2419366, 'mtr_portfolio_id': 27614441, 'dashboard_result_id': 16150157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27614441_08-10-2025_22_55_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27614463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27614464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27614465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27614466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27614467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27614468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27614469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27614470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27614471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27614472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27614473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27614474, '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 = 27570631 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 = 27570631 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 = 27570631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570631 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 = 27570631 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 = 27570631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}" where mtr_portfolio_id = 27570631 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}" where mtr_portfolio_id = 27570709 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}" where mtr_portfolio_id = 27570914 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}" where mtr_portfolio_id = 27571567 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}" where mtr_portfolio_id = 27571642 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}" where mtr_portfolio_id = 27571858 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572099 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}" where mtr_portfolio_id = 27572099 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}" where mtr_portfolio_id = 27572479 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}" where mtr_portfolio_id = 27572540 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}" where mtr_portfolio_id = 27572709 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}" where mtr_portfolio_id = 27572825 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}" where mtr_portfolio_id = 27573623 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}" where mtr_portfolio_id = 27573806 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}" where mtr_portfolio_id = 27574080 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}" where mtr_portfolio_id = 27574493 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}" where mtr_portfolio_id = 27574915 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}" where mtr_portfolio_id = 27575448 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}" where mtr_portfolio_id = 27575977 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}" where mtr_portfolio_id = 27576419 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}" where mtr_portfolio_id = 27576741 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27577488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}" where mtr_portfolio_id = 27577488 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}" where mtr_portfolio_id = 27578065 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}" where mtr_portfolio_id = 27578618 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}" where mtr_portfolio_id = 27579031 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}" where mtr_portfolio_id = 27579676 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}" where mtr_portfolio_id = 27580231 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}" where mtr_portfolio_id = 27580884 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}" where mtr_portfolio_id = 27582329 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582718 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': 3883604, 'mtr_portfolio_id': 27582718, 'created_at': datetime.datetime(2025, 10, 8, 10, 3, 30), 'result': '0.019757631340325408', 'result_long': None, 'result_double': None}] Qualite : 0.019757631340325408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27582718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}" where mtr_portfolio_id = 27582718 and dashboard_run_id = 2419366 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`=27582718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150110, 0.019757631340325408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, '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 = 27583297 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': 3883800, 'mtr_portfolio_id': 27583297, 'created_at': datetime.datetime(2025, 10, 8, 10, 19, 24), 'result': '0.06915000976527785', 'result_long': None, 'result_double': None}] Qualite : 0.06915000976527785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27583297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27583297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}" where mtr_portfolio_id = 27583297 and dashboard_run_id = 2419366 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`=27583297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150111, 0.06915000976527785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, '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 = 27584475 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': 3883952, 'mtr_portfolio_id': 27584475, 'created_at': datetime.datetime(2025, 10, 8, 10, 33, 2), 'result': '0.05922128890929629', 'result_long': None, 'result_double': None}] Qualite : 0.05922128890929629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27584475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27584475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}" where mtr_portfolio_id = 27584475 and dashboard_run_id = 2419366 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`=27584475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150112, 0.05922128890929629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, '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 = 27585601 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': 3884165, 'mtr_portfolio_id': 27585601, 'created_at': datetime.datetime(2025, 10, 8, 10, 49), 'result': '0.045017058698008205', 'result_long': None, 'result_double': None}] Qualite : 0.045017058698008205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27585601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27585601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}" where mtr_portfolio_id = 27585601 and dashboard_run_id = 2419366 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`=27585601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150113, 0.045017058698008205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, '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 = 27586735 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': 3884344, 'mtr_portfolio_id': 27586735, 'created_at': datetime.datetime(2025, 10, 8, 11, 4, 59), 'result': '0.04302911545524617', 'result_long': None, 'result_double': None}] Qualite : 0.04302911545524617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27586735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27586735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}" where mtr_portfolio_id = 27586735 and dashboard_run_id = 2419366 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`=27586735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150115, 0.04302911545524617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, '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 = 27587655 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': 3884426, 'mtr_portfolio_id': 27587655, 'created_at': datetime.datetime(2025, 10, 8, 11, 19, 26), 'result': '0.037767543284158676', 'result_long': None, 'result_double': None}] Qualite : 0.037767543284158676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27587655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27587655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}" where mtr_portfolio_id = 27587655 and dashboard_run_id = 2419366 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`=27587655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150116, 0.037767543284158676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, '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 = 27588770 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': 3884509, 'mtr_portfolio_id': 27588770, 'created_at': datetime.datetime(2025, 10, 8, 11, 33, 32), 'result': '0.05614687729208558', 'result_long': None, 'result_double': None}] Qualite : 0.05614687729208558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27588770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27588770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}" where mtr_portfolio_id = 27588770 and dashboard_run_id = 2419366 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`=27588770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150118, 0.05614687729208558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, '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 = 27589876 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': 3884874, 'mtr_portfolio_id': 27589876, 'created_at': datetime.datetime(2025, 10, 8, 11, 47, 5), 'result': '0.04306909769730264', 'result_long': None, 'result_double': None}] Qualite : 0.04306909769730264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27589876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27589876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}" where mtr_portfolio_id = 27589876 and dashboard_run_id = 2419366 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`=27589876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150119, 0.04306909769730264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, '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 = 27591042 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': 3885025, 'mtr_portfolio_id': 27591042, 'created_at': datetime.datetime(2025, 10, 8, 12, 5), 'result': '0.03804122737603823', 'result_long': None, 'result_double': None}] Qualite : 0.03804122737603823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27591042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27591042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}" where mtr_portfolio_id = 27591042 and dashboard_run_id = 2419366 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`=27591042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150120, 0.03804122737603823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, '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 = 27592015 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': 3885159, 'mtr_portfolio_id': 27592015, 'created_at': datetime.datetime(2025, 10, 8, 14, 1, 5), 'result': '0.026623661315220214', 'result_long': None, 'result_double': None}] Qualite : 0.026623661315220214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27592015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27592015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}" where mtr_portfolio_id = 27592015 and dashboard_run_id = 2419366 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`=27592015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150121, 0.026623661315220214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, '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 = 27596112 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': 3885485, 'mtr_portfolio_id': 27596112, 'created_at': datetime.datetime(2025, 10, 8, 13, 49, 25), 'result': '0.03616330670330915', 'result_long': None, 'result_double': None}] Qualite : 0.03616330670330915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}" where mtr_portfolio_id = 27596112 and dashboard_run_id = 2419366 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`=27596112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150122, 0.03616330670330915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, '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 = 27596722 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': 3885518, 'mtr_portfolio_id': 27596722, 'created_at': datetime.datetime(2025, 10, 8, 14, 2, 30), 'result': '0.05226452392431788', 'result_long': None, 'result_double': None}] Qualite : 0.05226452392431788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596722 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}" where mtr_portfolio_id = 27596722 and dashboard_run_id = 2419366 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`=27596722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150123, 0.05226452392431788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, '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 = 27597213 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': 3885566, 'mtr_portfolio_id': 27597213, 'created_at': datetime.datetime(2025, 10, 8, 14, 18, 3), 'result': '0.047841645043801215', 'result_long': None, 'result_double': None}] Qualite : 0.047841645043801215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}" where mtr_portfolio_id = 27597213 and dashboard_run_id = 2419366 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`=27597213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150125, 0.047841645043801215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, '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 = 27597939 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': 3885661, 'mtr_portfolio_id': 27597939, 'created_at': datetime.datetime(2025, 10, 8, 14, 33, 3), 'result': '0.0576736527518991', 'result_long': None, 'result_double': None}] Qualite : 0.0576736527518991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}" where mtr_portfolio_id = 27597939 and dashboard_run_id = 2419366 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`=27597939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150126, 0.0576736527518991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, '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 = 27598818 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': 3885801, 'mtr_portfolio_id': 27598818, 'created_at': datetime.datetime(2025, 10, 8, 14, 47, 1), 'result': '0.04741846765055205', 'result_long': None, 'result_double': None}] Qualite : 0.04741846765055205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27598818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27598818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}" where mtr_portfolio_id = 27598818 and dashboard_run_id = 2419366 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`=27598818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150127, 0.04741846765055205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, '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 = 27599617 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': 3885928, 'mtr_portfolio_id': 27599617, 'created_at': datetime.datetime(2025, 10, 8, 15, 5, 1), 'result': '0.04467187989463263', 'result_long': None, 'result_double': None}] Qualite : 0.04467187989463263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27599617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27599617 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}" where mtr_portfolio_id = 27599617 and dashboard_run_id = 2419366 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`=27599617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150128, 0.04467187989463263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, '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 = 27600623 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': 3886058, 'mtr_portfolio_id': 27600623, 'created_at': datetime.datetime(2025, 10, 8, 15, 19, 3), 'result': '0.04477483069304709', 'result_long': None, 'result_double': None}] Qualite : 0.04477483069304709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27600623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27600623_08-10-2025_15_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27600623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27600623_08-10-2025_15_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27600648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27600649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27600650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27600651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27600652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27600653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27600654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27600655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27600656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27600657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27600658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27600659, 'pht': 3726}}" where mtr_portfolio_id = 27600623 and dashboard_run_id = 2419366 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`=27600623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150129, 0.04477483069304709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27600623_08-10-2025_15_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27600648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27600649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27600650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27600651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27600652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27600653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27600654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27600655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27600656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27600657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27600658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27600659, '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 = 27601402 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': 3886196, 'mtr_portfolio_id': 27601402, 'created_at': datetime.datetime(2025, 10, 8, 15, 33), 'result': '0.06185312321457659', 'result_long': None, 'result_double': None}] Qualite : 0.06185312321457659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27601402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27601402_08-10-2025_15_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27601402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27601402_08-10-2025_15_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27601472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27601473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27601474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27601475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27601476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27601477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27601478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27601479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27601480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27601481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27601482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27601483, 'pht': 3726}}" where mtr_portfolio_id = 27601402 and dashboard_run_id = 2419366 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`=27601402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150132, 0.06185312321457659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27601402_08-10-2025_15_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27601472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27601473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27601474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27601475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27601476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27601477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27601478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27601479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27601480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27601481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27601482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27601483, '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 = 27602207 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': 3886280, 'mtr_portfolio_id': 27602207, 'created_at': datetime.datetime(2025, 10, 8, 17, 59, 28), 'result': '0.07750506909065354', 'result_long': None, 'result_double': None}] Qualite : 0.07750506909065354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27602207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27602207_08-10-2025_17_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27602207 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27602207_08-10-2025_17_59_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27602229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27602230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27602231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27602232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27602233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27602234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27602235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27602236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27602237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27602238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27602239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27602240, 'pht': 3726}}" where mtr_portfolio_id = 27602207 and dashboard_run_id = 2419366 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`=27602207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150133, 0.07750506909065354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27602207_08-10-2025_17_59_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27602229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27602230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27602231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27602232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27602233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27602234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27602235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27602236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27602237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27602238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27602239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27602240, '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 = 27603970 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 = 27603970 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 = 27603970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603970 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 = 27603970 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 = 27603970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603970_08-10-2025_18_00_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603970_08-10-2025_18_00_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604031, 'pht': 3726}}" where mtr_portfolio_id = 27603970 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603566 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 = 27603566 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 = 27603566 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603566 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 = 27603566 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 = 27603566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603583, 'pht': 3726}}" where mtr_portfolio_id = 27603566 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603402 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': 3886336, 'mtr_portfolio_id': 27603402, 'created_at': datetime.datetime(2025, 10, 8, 16, 35, 33), 'result': '0.06955059295411097', 'result_long': None, 'result_double': None}] Qualite : 0.06955059295411097 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27603402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}" where mtr_portfolio_id = 27603402 and dashboard_run_id = 2419366 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`=27603402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150136, 0.06955059295411097, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, '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 = 27603716 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': 3886393, 'mtr_portfolio_id': 27603716, 'created_at': datetime.datetime(2025, 10, 8, 16, 49, 29), 'result': '0.05815530728484656', 'result_long': None, 'result_double': None}] Qualite : 0.05815530728484656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27603716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}" where mtr_portfolio_id = 27603716 and dashboard_run_id = 2419366 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`=27603716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150138, 0.05815530728484656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, '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 = 27604223 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': 3886515, 'mtr_portfolio_id': 27604223, 'created_at': datetime.datetime(2025, 10, 8, 17, 5, 26), 'result': '0.04124886514178371', 'result_long': None, 'result_double': None}] Qualite : 0.04124886514178371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27604223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_17_05_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27604223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_17_05_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, 'pht': 3726}}" where mtr_portfolio_id = 27604223 and dashboard_run_id = 2419366 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`=27604223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150139, 0.04124886514178371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_17_05_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, '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 = 27604733 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': 3886708, 'mtr_portfolio_id': 27604733, 'created_at': datetime.datetime(2025, 10, 8, 17, 17, 3), 'result': '0.04538715470565654', 'result_long': None, 'result_double': None}] Qualite : 0.04538715470565654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27604733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604733_08-10-2025_17_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27604733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604733_08-10-2025_17_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604769, 'pht': 3726}}" where mtr_portfolio_id = 27604733 and dashboard_run_id = 2419366 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`=27604733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150140, 0.04538715470565654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604733_08-10-2025_17_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604769, '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 = 27605269 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': 3886788, 'mtr_portfolio_id': 27605269, 'created_at': datetime.datetime(2025, 10, 8, 17, 54, 33), 'result': '0.04683569861072005', 'result_long': None, 'result_double': None}] Qualite : 0.04683569861072005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27605269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27605269_08-10-2025_17_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27605269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27605269_08-10-2025_17_54_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27605304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27605305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27605306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27605307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27605308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27605309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27605310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27605311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27605312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27605313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27605314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27605315, 'pht': 3726}}" where mtr_portfolio_id = 27605269 and dashboard_run_id = 2419366 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`=27605269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150141, 0.04683569861072005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27605269_08-10-2025_17_54_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27605304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27605305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27605306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27605307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27605308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27605309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27605310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27605311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27605312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27605313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27605314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27605315, '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 = 27606584 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': 3887024, 'mtr_portfolio_id': 27606584, 'created_at': datetime.datetime(2025, 10, 8, 18, 19), 'result': '0.058039014734152065', 'result_long': None, 'result_double': None}] Qualite : 0.058039014734152065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27606584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27606584_08-10-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27606584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27606584_08-10-2025_18_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27606587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27606588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27606589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27606590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27606591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27606592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27606593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27606594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27606595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27606596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27606597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27606598, 'pht': 3726}}" where mtr_portfolio_id = 27606584 and dashboard_run_id = 2419366 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`=27606584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150142, 0.058039014734152065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27606584_08-10-2025_18_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27606587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27606588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27606589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27606590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27606591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27606592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27606593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27606594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27606595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27606596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27606597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27606598, '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 = 27607068 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': 3887075, 'mtr_portfolio_id': 27607068, 'created_at': datetime.datetime(2025, 10, 8, 18, 34, 30), 'result': '0.05490564902491305', 'result_long': None, 'result_double': None}] Qualite : 0.05490564902491305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27607068 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607068_08-10-2025_18_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27607068 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607068_08-10-2025_18_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607084, 'pht': 3726}}" where mtr_portfolio_id = 27607068 and dashboard_run_id = 2419366 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`=27607068 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150143, 0.05490564902491305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607068_08-10-2025_18_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607084, '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 = 27607489 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': 3887122, 'mtr_portfolio_id': 27607489, 'created_at': datetime.datetime(2025, 10, 8, 18, 49, 4), 'result': '0.06121485195910283', 'result_long': None, 'result_double': None}] Qualite : 0.06121485195910283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27607489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607489_08-10-2025_18_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27607489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607489_08-10-2025_18_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27607494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607505, 'pht': 3726}}" where mtr_portfolio_id = 27607489 and dashboard_run_id = 2419366 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`=27607489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150144, 0.06121485195910283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607489_08-10-2025_18_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27607494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607505, '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 = 27607964 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': 3887180, 'mtr_portfolio_id': 27607964, 'created_at': datetime.datetime(2025, 10, 8, 19, 3, 25), 'result': '0.04830409771078138', 'result_long': None, 'result_double': None}] Qualite : 0.04830409771078138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27607964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607964_08-10-2025_19_03_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27607964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607964_08-10-2025_19_03_26.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607981, 'pht': 3726}}" where mtr_portfolio_id = 27607964 and dashboard_run_id = 2419366 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`=27607964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150146, 0.04830409771078138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607964_08-10-2025_19_03_26.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607981, '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 = 27608425 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': 3887240, 'mtr_portfolio_id': 27608425, 'created_at': datetime.datetime(2025, 10, 8, 19, 19, 4), 'result': '0.050595427030624196', 'result_long': None, 'result_double': None}] Qualite : 0.050595427030624196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27608425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608425_08-10-2025_19_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27608425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608425_08-10-2025_19_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608437, 'pht': 3726}}" where mtr_portfolio_id = 27608425 and dashboard_run_id = 2419366 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`=27608425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150147, 0.050595427030624196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608425_08-10-2025_19_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608437, '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 = 27608960 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': 3887285, 'mtr_portfolio_id': 27608960, 'created_at': datetime.datetime(2025, 10, 8, 19, 33), 'result': '0.061994304231965704', 'result_long': None, 'result_double': None}] Qualite : 0.061994304231965704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27608960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27608960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608974, 'pht': 3726}}" where mtr_portfolio_id = 27608960 and dashboard_run_id = 2419366 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`=27608960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150148, 0.061994304231965704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608974, '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 = 27609358 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': 3887335, 'mtr_portfolio_id': 27609358, 'created_at': datetime.datetime(2025, 10, 8, 19, 49, 30), 'result': '0.09027954101897076', 'result_long': None, 'result_double': None}] Qualite : 0.09027954101897076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27609358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609358_08-10-2025_19_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27609358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609358_08-10-2025_19_49_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27609376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27609377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27609378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27609379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27609380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27609381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27609382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27609383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27609384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27609385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27609386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27609387, 'pht': 3726}}" where mtr_portfolio_id = 27609358 and dashboard_run_id = 2419366 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`=27609358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150149, 0.09027954101897076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609358_08-10-2025_19_49_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27609376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27609377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27609378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27609379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27609380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27609381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27609382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27609383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27609384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27609385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27609386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27609387, '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 = 27609850 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': 3887411, 'mtr_portfolio_id': 27609850, 'created_at': datetime.datetime(2025, 10, 8, 20, 4, 35), 'result': '0.052543034179716945', 'result_long': None, 'result_double': None}] Qualite : 0.052543034179716945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27609850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609850_08-10-2025_20_04_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27609850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609850_08-10-2025_20_04_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27609854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27609856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27609857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27609858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27609859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27609860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27609861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27609862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27609863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27609864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27609865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27609866, 'pht': 3726}}" where mtr_portfolio_id = 27609850 and dashboard_run_id = 2419366 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`=27609850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150150, 0.052543034179716945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27609850_08-10-2025_20_04_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27609854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27609856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27609857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27609858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27609859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27609860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27609861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27609862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27609863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27609864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27609865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27609866, '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 = 27610293 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': 3887492, 'mtr_portfolio_id': 27610293, 'created_at': datetime.datetime(2025, 10, 8, 20, 17, 3), 'result': '0.06715191883742527', 'result_long': None, 'result_double': None}] Qualite : 0.06715191883742527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27610293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610293_08-10-2025_20_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27610293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610293_08-10-2025_20_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27610301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27610302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27610303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27610304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27610305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27610306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27610307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27610308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27610309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27610310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27610311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27610312, 'pht': 3726}}" where mtr_portfolio_id = 27610293 and dashboard_run_id = 2419366 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`=27610293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150151, 0.06715191883742527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610293_08-10-2025_20_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27610301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27610302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27610303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27610304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27610305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27610306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27610307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27610308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27610309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27610310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27610311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27610312, '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 = 27610815 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': 3887562, 'mtr_portfolio_id': 27610815, 'created_at': datetime.datetime(2025, 10, 8, 20, 33, 1), 'result': '0.05402019487146014', 'result_long': None, 'result_double': None}] Qualite : 0.05402019487146014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27610815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610815_08-10-2025_20_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27610815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610815_08-10-2025_20_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27610823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27610824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27610825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27610826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27610827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27610828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27610829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27610830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27610831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27610832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27610833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27610834, 'pht': 3726}}" where mtr_portfolio_id = 27610815 and dashboard_run_id = 2419366 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`=27610815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150152, 0.05402019487146014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27610815_08-10-2025_20_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27610823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27610824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27610825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27610826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27610827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27610828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27610829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27610830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27610831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27610832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27610833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27610834, '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 = 27611298 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': 3887662, 'mtr_portfolio_id': 27611298, 'created_at': datetime.datetime(2025, 10, 8, 21, 3, 5), 'result': '0.056514476895370994', 'result_long': None, 'result_double': None}] Qualite : 0.056514476895370994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27611298 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27611298_08-10-2025_21_03_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27611298 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27611298_08-10-2025_21_03_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27611309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27611310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27611311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27611312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27611313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27611314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27611315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27611316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27611317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27611318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27611319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27611320, 'pht': 3726}}" where mtr_portfolio_id = 27611298 and dashboard_run_id = 2419366 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`=27611298 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16150153, 0.056514476895370994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27611298_08-10-2025_21_03_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27611309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27611310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27611311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27611312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27611313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27611314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27611315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27611316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27611317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27611318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27611319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27611320, '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 = 27613323 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 = 27613323 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 = 27613323 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27613323 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 = 27613323 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 = 27613323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613323_08-10-2025_22_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27613323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613323_08-10-2025_22_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27613338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27613339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27613340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27613341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27613342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27613343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27613344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27613345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27613346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27613347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27613348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27613349, 'pht': 3726}}" where mtr_portfolio_id = 27613323 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27613628 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 = 27613628 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 = 27613628 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27613628 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 = 27613628 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 = 27613628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613628_08-10-2025_22_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27613628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613628_08-10-2025_22_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27613652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27613653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27613654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27613655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27613656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27613657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27613658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27613659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27613660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27613661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27613662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27613663, 'pht': 3726}}" where mtr_portfolio_id = 27613628 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27613960 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 = 27613960 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 = 27613960 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27613960 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 = 27613960 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 = 27613960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613960_08-10-2025_22_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27613960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27613960_08-10-2025_22_49_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27613990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27613991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27613992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27613993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27613994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27613995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27613996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27613997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27613998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27613999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27614000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27614001, 'pht': 3726}}" where mtr_portfolio_id = 27613960 and dashboard_run_id = 2419366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27614441 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 = 27614441 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 = 27614441 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27614441 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 = 27614441 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 = 27614441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27614441_08-10-2025_22_59_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27614441 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27614441_08-10-2025_22_59_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27614463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27614464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27614465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27614466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27614467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27614468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27614469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27614470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27614471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27614472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27614473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27614474, 'pht': 3726}}" where mtr_portfolio_id = 27614441 and dashboard_run_id = 2419366 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27570631,27570709,27570914,27571567,27571642,27571858,27572099,27572479,27572540,27572709,27572825,27573623,27573806,27574080,27574493,27574915,27575448,27575977,27576419,27576741,27577488,27578065,27578618,27579031,27579676,27580231,27580884,27582329,27582718,27583297,27584475,27585601,27586735,27587655,27588770,27589876,27591042,27592015,27596112,27596722,27597213,27597939,27598818,27599617,27600623,27601402,27602207,27603970,27603566,27603402,27603716,27604223,27604733,27605269,27606584,27607068,27607489,27607964,27608425,27608960,27609358,27609850,27610293,27610815,27611298,27613323,27613628,27613960,27614441) result : ((1388030203,), (1388030204,), (1388030257,), (1388030272,), (1388030287,), (1388030301,), (1388030302,), (1388030331,), (1388030367,), (1388030368,), (1388030410,), (1388030425,), (1388030500,), (1388030502,), (1388030528,), (1388030537,), (1388030567,), (1388030569,), (1388030666,), (1388031677,), (1388031679,), (1388031704,), (1388031706,), (1388031714,), (1388032212,), (1388032262,), (1388032485,), (1388032591,), (1388032686,), (1388032688,), (1388037828,), (1388039875,), (1388039894,), (1388039901,), (1388039919,), (1388039936,), (1388039938,), (1388039946,), (1388039957,), (1388039973,), (1388039975,), (1388039994,), (1388040043,), (1388041267,), (1388041988,), (1388042042,), (1388042506,), (1388042766,), (1388043408,), (1388043662,), (1388043664,), (1388044761,), (1388045393,), (1388045375,), (1388045442,), (1388046013,), (1388046143,), (1388046546,), (1388046548,), (1388046686,), (1388046705,), (1388046875,), (1388047797,), (1388047881,), (1388047899,), (1388047918,), (1388048176,), (1388048317,), (1388048380,), (1388048397,), (1388048952,), (1388048955,), (1388049264,), (1388051245,), (1388051356,), (1388051359,), (1388051374,), (1388051749,), (1388051799,), (1388052353,), (1388052593,), (1388052590,), (1388053815,), (1388054084,), (1388054120,), (1388054257,), (1388054273,), (1388055217,), (1388055220,), (1388055223,), (1388055225,), (1388055526,), (1388055531,), (1388055633,), (1388055630,), (1388056016,), (1388056457,), (1388056722,), (1388056822,), (1388056824,), (1388056827,), (1388056838,), (1388056841,), (1388056844,), (1388056860,), (1388056879,), (1388056881,), (1388056900,), (1388056917,), (1388056920,), (1388056926,), (1388056951,), (1388056967,), (1388056973,), (1388057480,), (1388057847,), (1388057850,), (1388058157,), (1388058326,), (1388058360,), (1388058363,), (1388058545,), (1388058601,), (1388059519,), (1388059524,), (1388059528,), (1388060995,), (1388068696,), (1388068710,), (1388069029,), (1388069073,), (1388069251,), (1388069293,), (1388069304,), (1388069372,), (1388069375,), (1388069378,), (1388069381,), (1388069391,), (1388069394,), (1388069400,), (1388069402,), (1388069409,), (1388069411,), (1388069413,), (1388069416,), (1388069426,), (1388069429,), (1388069488,), (1388069535,), (1388069575,), (1388070048,), (1388070092,), (1388070133,), (1388070135,), (1388070139,), (1388070142,), (1388070148,), (1388070151,), (1388070157,), (1388070165,), (1388070210,), (1388070410,), (1388070449,), (1388070455,), (1388070470,), (1388070474,), (1388070479,), (1388070483,), (1388070486,), (1388070489,), (1388070922,), (1388070696,), (1388070736,), (1388070777,), (1388070822,), (1388070876,), (1388071121,), (1388071123,), (1388071124,), (1388071127,), (1388071312,), (1388071366,), (1388071369,), (1388071396,), (1388071399,), (1388071402,), (1388071763,), (1388071807,), (1388071848,), (1388071871,), (1388071912,), (1388071954,), (1388072001,), (1388072051,), (1388072059,), (1388072113,), (1388072114,), (1388072115,), (1388072118,), (1388072122,), (1388072127,), (1388072130,), (1388072133,), (1388072136,), (1388072141,), (1388072142,), (1388072145,), (1388072148,), (1388072150,), (1388072152,), (1388072165,), (1388072170,), (1388072176,), (1388072180,), (1388072222,), (1388072223,), (1388072225,), (1388072227,), (1388072230,), (1388072234,), (1388072237,), (1388072239,), (1388072240,), (1388072243,), (1388072251,), (1388072252,), (1388072254,), (1388072256,), (1388072258,), (1388072261,), (1388072266,), (1388072269,), (1388072273,), (1388072275,), (1388072285,), (1388072286,), (1388072287,), (1388072289,), (1388072291,), (1388072293,), (1388072609,), (1388072652,), (1388072691,), (1388072736,), (1388073079,), (1388073067,), (1388073068,), (1388073069,), (1388073071,), (1388073077,), (1388073084,), (1388073086,), (1388073089,), (1388073091,), (1388073418,), (1388073419,), (1388073425,), (1388073427,), (1388073441,), (1388073522,), (1388073526,), (1388073527,), (1388073529,), (1388073532,), (1388073537,), (1388073538,), (1388073539,), (1388073541,), (1388073543,), (1388073549,), (1388073551,), (1388073552,), (1388073590,), (1388073632,), (1388073676,), (1388074005,), (1388074052,), (1388074099,), (1388074148,), (1388074176,), (1388074181,), (1388074183,), (1388074184,), (1388074231,), (1388074276,), (1388074319,), (1388074412,), (1388074418,), (1388074462,), (1388074478,), (1388074526,), (1388074528,), (1388074530,), (1388074558,), (1388074605,), (1388074647,), (1388074969,), (1388075011,), (1388075055,), (1388075060,), (1388075063,), (1388075069,), (1388075104,), (1388075157,), (1388075200,), (1388075246,), (1388075263,), (1388075340,), (1388075343,), (1388075348,), (1388075351,), (1388075641,), (1388075689,), (1388075730,), (1388075732,), (1388075735,), (1388075737,), (1388075826,), (1388075867,), (1388075907,), (1388075912,), (1388075915,), (1388075991,), (1388075981,), (1388075983,), (1388075985,), (1388075987,), (1388075989,), (1388075996,), (1388075998,), (1388076000,), (1388076004,), (1388076008,), (1388076017,), (1388076019,), (1388076020,), (1388076022,), (1388076024,), (1388076213,), (1388076256,), (1388076315,), (1388076362,), (1388076405,), (1388076413,), (1388076533,), (1388076550,), (1388076566,), (1388076576,), (1388076594,), (1388076597,), (1388076601,), (1388076604,), (1388076606,), (1388076609,), (1388076611,), (1388076618,), (1388076619,), (1388076620,), (1388076622,), (1388076624,), (1388076625,), (1388076629,), (1388076631,), (1388076633,), (1388076635,), (1388076636,), (1388076637,), (1388076639,), (1388076640,), (1388076641,), (1388076646,), (1388076648,), (1388076651,), (1388076792,), (1388076839,), (1388076883,), (1388076928,), (1388076970,), (1388077015,), (1388077068,), (1388077113,), (1388077170,), (1388077209,), (1388077277,), (1388077279,), (1388077280,), (1388077282,), (1388077284,), (1388077286,), (1388077294,), (1388077295,), (1388077296,), (1388077305,), (1388077307,), (1388077308,), (1388077310,), (1388077312,), (1388077564,), (1388077612,), (1388077664,), (1388077711,), (1388077835,), (1388077837,), (1388077838,), (1388077839,), (1388077840,), (1388077841,), (1388077842,), (1388077844,), (1388077846,), (1388077848,), (1388078009,), (1388078047,), (1388078064,), (1388078090,), (1388078102,), (1388078106,), (1388078007,), (1388078117,), (1388078118,), (1388078119,), (1388078121,), (1388078123,), (1388078134,), (1388078136,), (1388078137,), (1388078139,), (1388078140,), (1388078142,), (1388078151,), (1388078154,), (1388078157,), (1388078160,), (1388078165,), (1388078166,), (1388078170,), (1388078172,), (1388078174,), (1388078176,), (1388078180,), (1388078181,), (1388078183,), (1388078186,), (1388078194,), (1388078195,), (1388078198,), (1388078200,), (1388078203,), (1388078425,), (1388078472,), (1388078521,), (1388078550,), (1388078552,), (1388078650,), (1388078690,), (1388078699,), (1388078701,), (1388078732,), (1388078768,), (1388078770,), (1388078771,), (1388078773,), (1388078775,), (1388078782,), (1388078783,), (1388078785,), (1388078787,), (1388078789,), (1388078794,), (1388078796,), (1388078797,), (1388078800,), (1388078802,), (1388079081,), (1388079125,), (1388079148,), (1388079151,), (1388079154,), (1388079282,), (1388079305,), (1388079311,), (1388079314,), (1388079317,), (1388079357,), (1388079349,), (1388079350,), (1388079351,), (1388079354,), (1388079363,), (1388079365,), (1388079367,), (1388079369,), (1388079372,), (1388079577,), (1388079597,), (1388079641,), (1388079651,), (1388079668,), (1388079694,), (1388079696,), (1388079697,), (1388079700,), (1388079702,), (1388079709,), (1388079711,), (1388079713,), (1388079716,), (1388079719,), (1388079722,), (1388079727,), (1388079728,), (1388079729,), (1388079731,), (1388079738,), (1388079739,), (1388079740,), (1388079743,), (1388079746,), (1388079748,), (1388079753,), (1388079755,), (1388079757,), (1388079760,), (1388079763,), (1388080100,), (1388080119,), (1388080121,), (1388080123,), (1388080126,), (1388080128,), (1388080273,), (1388080301,), (1388080304,), (1388080306,), (1388080309,), (1388080316,), (1388080317,), (1388080318,), (1388080320,), (1388080323,), (1388080326,), (1388080330,), (1388080332,), (1388080333,), (1388080335,), (1388080343,), (1388080344,), (1388080346,), (1388080348,), (1388080350,), (1388080352,), (1388080359,), (1388080360,), (1388080361,), (1388080367,), (1388080453,), (1388080493,), (1388080536,), (1388080578,), (1388080625,), (1388080668,), (1388080781,), (1388080823,), (1388080854,), (1388081079,), (1388081082,), (1388081104,), (1388081106,), (1388081024,), (1388081031,), (1388081053,), (1388081054,), (1388081086,), (1388081088,), (1388081090,), (1388081091,), (1388081092,), (1388081094,), (1388081096,), (1388081098,), (1388081100,), (1388081102,), (1388081111,), (1388081113,), (1388081116,), (1388081119,), (1388081123,), (1388081127,), (1388081133,), (1388081135,), (1388081139,), (1388081142,), (1388081352,), (1388081399,), (1388081443,), (1388081563,), (1388081608,), (1388081649,), (1388081826,), (1388081847,), (1388081891,), (1388081916,), (1388081973,), (1388081974,), (1388081976,), (1388081979,), (1388081982,), (1388081984,), (1388081990,), (1388081991,), (1388081992,), (1388082002,), (1388082003,), (1388082005,), (1388082007,), (1388082009,), (1388082012,), (1388082024,), (1388082025,), (1388082026,), (1388082029,), (1388082032,), (1388082034,), (1388082044,), (1388082045,), (1388082046,), (1388082055,), (1388082057,), (1388082059,), (1388082061,), (1388082063,), (1388082066,), (1388082071,), (1388082072,), (1388082073,), (1388082075,), (1388082083,), (1388082085,), (1388082086,), (1388082089,), (1388082092,), (1388082094,), (1388082106,), (1388082098,), (1388082099,), (1388082100,), (1388082102,), (1388082104,), (1388082117,), (1388082119,), (1388082120,), (1388082122,), (1388082130,), (1388082132,), (1388082135,), (1388082138,), (1388082140,), (1388082143,), (1388082148,), (1388082150,), (1388082152,), (1388082157,), (1388082161,), (1388082168,), (1388082169,), (1388082170,), (1388082173,), (1388082181,), (1388082183,), (1388082184,), (1388082187,), (1388082195,), (1388082196,), (1388082197,), (1388082200,), (1388082203,), (1388082241,), (1388082470,), (1388082472,), (1388082497,), (1388082571,), (1388083076,), (1388083118,), (1388083161,), (1388083204,), (1388083245,), (1388083296,), (1388083645,), (1388083690,), (1388083733,), (1388083745,), (1388083748,), (1388083753,), (1388083763,), (1388083765,), (1388083766,), (1388083805,), (1388083854,), (1388084198,), (1388084206,), (1388084208,), (1388084211,), (1388084214,), (1388084248,), (1388084411,), (1388084415,), (1388084418,), (1388084421,), (1388084423,), (1388084427,), (1388084428,), (1388084429,), (1388084432,), (1388084456,), (1388084467,), (1388084469,), (1388084470,), (1388084471,), (1388084446,), (1388084448,), (1388084450,), (1388084452,), (1388084454,), (1388084457,), (1388084459,), (1388084461,), (1388084463,), (1388084465,), (1388084474,), (1388084477,), (1388084480,), (1388084483,), (1388084487,), (1388084492,), (1388084494,), (1388084495,), (1388084497,), (1388084711,), (1388084756,), (1388084804,), (1388084848,), (1388084890,), (1388084935,), (1388085290,), (1388085312,), (1388085315,), (1388085317,), (1388085319,), (1388085459,), (1388085462,), (1388085484,), (1388085523,), (1388085628,), (1388085668,), (1388085705,), (1388085749,), (1388085791,), (1388085829,), (1388085930,), (1388085940,), (1388085957,), (1388085981,), (1388085990,), (1388085992,), (1388085993,), (1388085997,), (1388086000,), (1388086002,), (1388086006,), (1388086008,), (1388086010,), (1388086013,), (1388086017,), (1388086026,), (1388086028,), (1388086030,), (1388086032,), (1388086035,), (1388086037,), (1388086041,), (1388086042,), (1388086061,), (1388086064,), (1388086067,), (1388086073,), (1388086074,), (1388086084,), (1388086087,), (1388086089,), (1388086094,), (1388086098,), (1388086115,), (1388086105,), (1388086106,), (1388086108,), (1388086110,), (1388086113,), (1388086120,), (1388086122,), (1388086124,), (1388086128,), (1388086132,), (1388086139,), (1388086141,), (1388086142,), (1388086144,), (1388086146,), (1388086162,), (1388086163,), (1388086165,), (1388086168,), (1388086171,), (1388086173,), (1388086178,), (1388086179,), (1388086182,), (1388086184,), (1388086186,), (1388086188,), (1388086194,), (1388086196,), (1388086198,), (1388086200,), (1388086202,), (1388086204,), (1388086205,), (1388086206,), (1388086207,), (1388086209,), (1388086211,), (1388086212,), (1388086215,), (1388086218,), (1388086220,), (1388086222,), (1388086223,), (1388086224,), (1388086225,), (1388086227,), (1388086228,), (1388086230,), (1388086238,), (1388086239,), (1388086241,), (1388086243,), (1388086245,), (1388086247,), (1388086248,), (1388086249,), (1388086251,), (1388086252,), (1388086255,), (1388086258,), (1388086259,), (1388086261,), (1388086263,), (1388086266,), (1388086279,), (1388086280,), (1388086281,), (1388086285,), (1388086302,), (1388086305,), (1388086307,), (1388086310,), (1388086312,), (1388086314,), (1388086316,), (1388086318,), (1388086320,), (1388086324,), (1388086325,), (1388086326,), (1388086334,), (1388086337,), (1388086338,), (1388086341,), (1388086343,), (1388086345,), (1388086370,), (1388086349,), (1388086353,), (1388086364,), (1388086366,), (1388086368,), (1388086376,), (1388086380,), (1388086382,), (1388086385,), (1388086392,), (1388086393,), (1388086395,), (1388086398,), (1388086400,), (1388086408,), (1388086410,), (1388086917,), (1388087106,), (1388087107,), (1388087108,), (1388087110,), (1388087112,), (1388087118,), (1388087120,), (1388087131,), (1388087142,), (1388087143,), (1388087145,), (1388087152,), (1388087154,), (1388087155,), (1388087157,), (1388087355,), (1388087491,), (1388087534,), (1388087579,), (1388087629,), (1388088137,), (1388087960,), (1388088005,), (1388088051,), (1388088104,), (1388088142,), (1388088143,), (1388088144,), (1388088152,), (1388088154,), (1388088155,), (1388088186,), (1388088580,), (1388088593,), (1388088739,), (1388088741,), (1388088743,), (1388088746,), (1388088748,), (1388088750,), (1388088755,), (1388088757,), (1388088764,), (1388088768,), (1388088772,), (1388088774,), (1388088775,), (1388088778,), (1388088781,), (1388088783,), (1388088788,), (1388088790,), (1388088792,), (1388088795,), (1388088798,), (1388088804,), (1388088806,), (1388088807,), (1388088810,), (1388088813,), (1388088815,), (1388088827,), (1388088830,), (1388088833,), (1388089058,), (1388089103,), (1388089143,), (1388089194,), (1388089240,), (1388089665,), (1388089711,), (1388089754,), (1388089809,), (1388089826,), (1388089850,), (1388089890,), (1388089932,), (1388089979,), (1388089999,), (1388090001,), (1388090218,), (1388090263,), (1388090313,), (1388090594,), (1388090588,), (1388090591,), (1388090702,), (1388090704,), (1388090706,), (1388090709,), (1388090712,), (1388090716,), (1388090722,), (1388090724,), (1388090728,), (1388090733,), (1388090738,), (1388090744,), (1388090746,), (1388090749,), (1388090753,), (1388090755,), (1388090757,), (1388090761,), (1388090763,), (1388090765,), (1388090769,), (1388090773,), (1388090785,), (1388090786,), (1388090788,), (1388090791,), (1388090793,), (1388090795,), (1388090800,), (1388090807,), (1388090815,), (1388090819,), (1388091058,), (1388091099,), (1388091147,), (1388091193,), (1388091237,), (1388091448,), (1388091450,), (1388091451,), (1388091455,), (1388091499,), (1388091542,), (1388092076,), (1388092095,), (1388092104,), (1388092106,), (1388092109,), (1388092111,), (1388092114,), (1388092155,), (1388092198,), (1388092238,), (1388092291,), (1388092292,), (1388092294,), (1388092295,), (1388092296,), (1388092299,), (1388092309,), (1388092311,), (1388092314,), (1388092355,), (1388092397,), (1388092446,), (1388092511,), (1388092513,), (1388092517,), (1388092546,), (1388092575,), (1388092606,), (1388092608,), (1388092610,), (1388092615,), (1388092617,), (1388092619,), (1388092621,), (1388092623,), (1388092626,), (1388092629,), (1388092630,), (1388092633,), (1388092636,), (1388092652,), (1388092647,), (1388092648,), (1388092649,), (1388092664,), (1388092666,), (1388092667,), (1388092669,), (1388092672,), (1388092675,), (1388092685,), (1388092687,), (1388092690,), (1388092733,), (1388092777,), (1388093005,), (1388093008,), (1388093047,), (1388093091,), (1388093098,), (1388093144,), (1388093145,), (1388093147,), (1388093150,), (1388093153,), (1388093156,), (1388093163,), (1388093164,), (1388093166,), (1388093169,), (1388093188,), (1388093190,), (1388093192,), (1388093196,), (1388093198,), (1388093200,), (1388093207,), (1388093210,), (1388093213,), (1388093216,), (1388093218,), (1388093220,), (1388093225,), (1388093228,), (1388093230,), (1388093234,), (1388093238,), (1388093241,), (1388093245,), (1388093247,), (1388093254,), (1388093255,), (1388093256,), (1388093259,), (1388093262,), (1388093282,), (1388093284,), (1388093286,), (1388093290,), (1388093293,), (1388093307,), (1388093310,), (1388093314,), (1388093318,), (1388093321,), (1388093323,), (1388093333,), (1388093335,), (1388093336,), (1388093340,), (1388093352,), (1388093355,), (1388093358,), (1388093361,), (1388093366,), (1388093369,), (1388093384,), (1388093386,), (1388093388,), (1388093391,), (1388093406,), (1388093409,), (1388093411,), (1388093415,), (1388093418,), (1388093422,), (1388093825,), (1388093681,), (1388093740,), (1388093783,), (1388094048,), (1388094052,), (1388094057,), (1388094061,), (1388094121,), (1388094167,), (1388094302,), (1388094305,), (1388094308,), (1388094312,), (1388094565,), (1388094606,), (1388094650,), (1388094696,), (1388094732,), (1388094735,), (1388094843,), (1388094845,), (1388094871,), (1388094886,), (1388094909,), (1388094910,), (1388094911,), (1388094914,), (1388094917,), (1388094919,), (1388094926,), (1388094939,), (1388094942,), (1388094945,), (1388094947,), (1388094952,), (1388094953,), (1388094956,), (1388094960,), (1388094963,), (1388094965,), (1388094969,), (1388094971,), (1388094973,), (1388094976,), (1388094983,), (1388095019,), (1388095067,), (1388095111,), (1388095159,), (1388095208,), (1388095510,), (1388095511,), (1388095513,), (1388095515,), (1388095644,), (1388095645,), (1388095647,), (1388095649,), (1388095652,), (1388095654,), (1388095664,), (1388095666,), (1388095667,), (1388095677,), (1388095678,), (1388095679,), (1388095710,), (1388095750,), (1388095796,), (1388096094,), (1388096097,), (1388096098,), (1388096102,), (1388096273,), (1388096264,), (1388096265,), (1388096268,), (1388096271,), (1388096299,), (1388096340,), (1388096384,), (1388096427,), (1388096545,), (1388096547,), (1388096548,), (1388096550,), (1388096552,), (1388096554,), (1388096558,), (1388096576,), (1388096579,), (1388096582,), (1388096585,), (1388096590,), (1388096591,), (1388096593,), (1388096595,), (1388096597,), (1388096599,), (1388096602,), (1388096603,), (1388096604,), (1388096606,), (1388096608,), (1388096622,), (1388096624,), (1388096627,), (1388096630,), (1388096632,), (1388096635,), (1388096643,), (1388096646,), (1388096648,), (1388096650,), (1388096651,), (1388096652,), (1388096656,), (1388096658,), (1388096661,), (1388096663,), (1388096665,), (1388096667,), (1388096668,), (1388096669,), (1388096671,), (1388096675,), (1388096678,), (1388096680,), (1388096682,), (1388096684,), (1388096687,), (1388096690,), (1388096703,), (1388096706,), (1388096709,), (1388096711,), (1388096716,), (1388096717,), (1388096718,), (1388096728,), (1388096730,), (1388096732,), (1388096734,), (1388096737,), (1388096981,), (1388097063,), (1388097146,), (1388097231,), (1388097321,), (1388097424,), (1388098012,), (1388098016,), (1388098019,), (1388098041,), (1388101067,), (1388101069,), (1388101084,), (1388101087,), (1388101089,), (1388101093,), (1388101097,), (1388101107,), (1388101108,), (1388101116,), (1388101147,), (1388101188,), (1388101231,), (1388101634,), (1388101635,), (1388101636,), (1388101638,), (1388101661,), (1388101709,), (1388101756,), (1388101758,), (1388101759,), (1388101762,), (1388101775,), (1388101777,), (1388101780,), (1388101814,), (1388101815,), (1388101824,), (1388101826,), (1388101829,), (1388101831,), (1388101845,), (1388101848,), (1388101851,), (1388101856,), (1388101862,), (1388101875,), (1388101889,), (1388101890,), (1388101893,), (1388101912,), (1388101913,), (1388101915,), (1388101919,), (1388101923,), (1388101933,), (1388101935,), (1388101936,), (1388101940,), (1388101944,), (1388101947,), (1388101961,), (1388101952,), (1388101953,), (1388101954,), (1388101957,), (1388101970,), (1388101972,), (1388101973,), (1388101976,), (1388101980,), (1388101983,), (1388102210,), (1388102252,), (1388102282,), (1388102320,), (1388102342,), (1388102369,), (1388102370,), (1388102372,), (1388102375,), (1388102378,), (1388102380,), (1388102384,), (1388102386,), (1388102389,), (1388102393,), (1388102394,), (1388102396,), (1388102399,), (1388102400,), (1388102401,), (1388102402,), (1388102435,), (1388102436,), (1388102437,), (1388102439,), (1388102441,), (1388102443,), (1388102449,), (1388102450,), (1388102452,), (1388102454,), (1388102456,), (1388102457,), (1388102458,), (1388102460,), (1388102464,), (1388102466,), (1388102469,), (1388102471,), (1388102473,), (1388102474,), (1388102476,), (1388102477,), (1388102479,), (1388102482,), (1388102485,), (1388102491,), (1388102499,), (1388102510,), (1388102513,), (1388102517,), (1388102527,), (1388102528,), (1388102529,), (1388102532,), (1388102544,), (1388102546,), (1388102550,), (1388102553,), (1388103019,), (1388103040,), (1388103042,), (1388103772,), (1388103732,), (1388103758,), (1388103760,), (1388103762,), (1388103767,), (1388103859,), (1388103925,), (1388103983,), (1388103995,), (1388104448,), (1388104449,), (1388104450,), (1388104452,), (1388104456,), (1388104681,), (1388104682,), (1388104683,), (1388104686,), (1388104689,), (1388104692,), (1388104848,), (1388104865,), (1388104868,), (1388104871,), (1388105307,), (1388105308,), (1388105422,), (1388105484,), (1388105516,), (1388105542,), (1388105622,), (1388105623,), (1388105627,), (1388105629,), (1388105673,), (1388105689,), (1388105832,), (1388105891,), (1388105895,), (1388105898,), (1388107265,), (1388107267,), (1388107380,), (1388107383,), (1388107390,), (1388108535,), (1388108536,), (1388108538,), (1388108765,), (1388108804,), (1388108881,), (1388109013,), (1388109016,), (1388109020,), (1388109037,), (1388109043,), (1388109153,), (1388109520,), (1388109570,), (1388109616,), (1388109665,), (1388110383,), (1388110447,), (1388110470,), (1388110473,), (1388110477,), (1388110711,), (1388110725,), (1388110744,), (1388110749,), (1388110751,), (1388110805,), (1388110809,), (1388110920,), (1388110933,), (1388110947,), (1388111041,), (1388111010,), (1388111011,), (1388111014,), (1388111019,), (1388111022,), (1388111686,), (1388111689,), (1388111699,), (1388112238,), (1388112244,), (1388112347,), (1388112373,), (1388112397,), (1388112410,), (1388113071,), (1388113074,), (1388113087,), (1388113090,), (1388113518,), (1388113539,), (1388113540,), (1388113543,), (1388113548,), (1388113552,), (1388113990,), (1388114044,), (1388114103,), (1388114161,), (1388114208,), (1388114639,), (1388114681,), (1388114725,), (1388114734,), (1388114738,), (1388115002,), (1388115206,), (1388115247,), (1388115298,), (1388115378,), (1388115420,), (1388115583,), (1388115585,), (1388115587,), (1388115590,), (1388115594,), (1388115643,), (1388115644,), (1388115647,), (1388115769,), (1388115770,), (1388115771,), (1388116204,), (1388116205,), (1388116339,), (1388116389,), (1388116440,), (1388116466,), (1388116499,), (1388116501,), (1388116850,), (1388116949,), (1388116953,), (1388116962,), (1388117026,), (1388117015,), (1388117017,), (1388117018,), (1388117022,), (1388117024,), (1388117082,), (1388117083,), (1388117084,), (1388117092,), (1388117463,), (1388117514,), (1388117517,), (1388117520,), (1388117524,), (1388117532,), (1388117563,), (1388117572,), (1388117583,), (1388117831,), (1388117849,), (1388117860,), (1388117871,), (1388117881,), (1388117889,), (1388117896,), (1388117897,), (1388117898,), (1388117902,), (1388117929,), (1388117944,), (1388117951,), (1388117968,), (1388118053,), (1388118090,), (1388118278,), (1388118309,), (1388118310,), (1388118314,), (1388118463,), (1388118468,), (1388118528,), (1388118531,), (1388118536,), (1388118549,), (1388118593,), (1388118597,), (1388118599,), (1388118603,), (1388118629,), (1388118675,), (1388118745,), (1388118748,), (1388118756,), (1388118891,), (1388119058,), (1388119059,), (1388119062,), (1388119064,), (1388119072,), (1388119080,), (1388119088,), (1388119091,), (1388119100,), (1388119102,), (1388119104,), (1388119106,), (1388119127,), (1388119130,), (1388119132,), (1388119135,), (1388119200,), (1388119203,), (1388119208,), (1388119211,), (1388119233,), (1388119241,), (1388119243,), (1388119245,), (1388119247,), (1388119249,), (1388119614,), (1388119618,), (1388119620,), (1388119623,), (1388119934,), (1388119924,), (1388119927,), (1388119931,), (1388120098,), (1388120100,), (1388120113,), (1388120118,), (1388120243,), (1388120261,), (1388120279,), (1388120290,), (1388120297,), (1388120477,), (1388120672,), (1388120674,), (1388120676,), (1388120679,), (1388120682,), (1388121519,), (1388121520,), (1388121522,), (1388121525,), (1388121533,), (1388122238,), (1388122240,), (1388122306,), (1388122334,), (1388122339,), (1388122346,), (1388122386,), (1388122397,), (1388122401,), (1388122405,), (1388123909,), (1388123926,), (1388123931,), (1388123935,), (1388123971,), (1388124252,), (1388124259,), (1388124305,), (1388124319,), (1388124322,), (1388124326,), (1388124527,), (1388124529,), (1388124558,), (1388124563,), (1388124576,), (1388125398,), (1388125410,), (1388125529,), (1388125533,), (1388125584,), (1388125589,), (1388125661,), (1388125694,), (1388125699,), (1388125861,), (1388125893,), (1388125924,), (1388125962,), (1388125997,), (1388126553,), (1388126704,), (1388126710,), (1388126976,), (1388126980,), (1388126985,), (1388126988,), (1388126992,), (1388127495,), (1388127666,), (1388127676,), (1388127679,), (1388127684,), (1388128914,), (1388128956,), (1388128987,), (1388129020,), (1388129066,), (1388129110,), (1388128743,), (1388128757,), (1388128833,), (1388128913,), (1388128960,), (1388128963,), (1388128966,), (1388128968,), (1388128971,), (1388128980,), (1388129306,), (1388129307,), (1388129392,), (1388129401,), (1388129486,), (1388129487,), (1388129540,), (1388129544,), (1388129669,), (1388129735,), (1388130251,), (1388130301,), (1388130446,), (1388130501,), (1388130517,), (1388130537,), (1388130575,), (1388130591,), (1388130635,), (1388130696,), (1388131327,), (1388131346,), (1388131371,), (1388131383,), (1388131387,), (1388131403,), (1388131406,), (1388131433,), (1388131552,), (1388131704,), (1388131705,), (1388131733,), (1388131737,), (1388131757,), (1388131759,), (1388131766,), (1388131768,), (1388131770,), (1388132060,), (1388132215,), (1388132391,), (1388132392,), (1388132404,), (1388132406,), (1388132409,), (1388132411,), (1388132864,), (1388132866,), (1388132868,), (1388133040,), (1388133286,), (1388133697,), (1388133719,), (1388133721,), (1388133725,), (1388133727,), (1388133729,), (1388133743,), (1388133745,), (1388133746,), (1388133749,), (1388133752,), (1388133754,), (1388134750,), (1388134791,), (1388134798,), (1388134816,), (1388134823,), (1388135200,), (1388135569,), (1388135576,), (1388135579,), (1388135641,), (1388136067,), (1388135967,), (1388135972,), (1388135974,), (1388136001,), (1388136259,), (1388136274,), (1388136277,), (1388136285,), (1388136297,), (1388136300,), (1388136301,), (1388136303,), (1388136312,), (1388136315,), (1388136317,), (1388136494,), (1388136513,), (1388136525,), (1388136529,), (1388136587,), (1388136588,), (1388136649,), (1388136653,), (1388136656,), (1388136658,), (1388138028,), (1388138100,), (1388138101,), (1388138104,), (1388138509,), (1388138510,), (1388138511,), (1388138513,), (1388138516,), (1388138518,), (1388138723,), (1388138776,), (1388138895,), (1388138995,), (1388139127,), (1388139128,), (1388139129,), (1388139132,), (1388139136,), (1388139139,), (1388139351,), (1388139392,), (1388139433,), (1388139478,), (1388140113,), (1388140158,), (1388140214,), (1388140262,), (1388140305,), (1388140730,), (1388140889,), (1388141103,), (1388141111,), (1388141115,), (1388141305,), (1388141307,), (1388141316,), (1388141361,), (1388141419,), (1388141925,), (1388141941,), (1388142248,), (1388142906,), (1388142954,), (1388144105,), (1388144123,), (1388144151,), (1388144214,), (1388146442,), (1388146087,), (1388146089,), (1388146213,), (1388146221,), (1388146406,), (1388146729,), (1388146730,), (1388146766,), (1388146818,), (1388146943,), (1388146945,), (1388146972,), (1388146974,), (1388146994,), (1388146997,), (1388147001,), (1388147003,), (1388147116,), (1388147118,), (1388147137,), (1388147167,), (1388147175,), (1388147230,), (1388147322,), (1388147331,), (1388147349,), (1388147405,), (1388147419,), (1388147421,), (1388147424,), (1388147429,), (1388147495,), (1388147499,), (1388147522,), (1388147526,), (1388148672,), (1388148854,), (1388148863,), (1388148868,), (1388148881,), (1388148885,), (1388149707,), (1388149753,), (1388149758,), (1388149762,), (1388149765,), (1388149819,), (1388149824,), (1388149826,), (1388149827,), (1388149940,), (1388149942,), (1388150239,), (1388150243,), (1388150244,), (1388150254,), (1388150272,), (1388150276,), (1388150330,), (1388150332,), (1388150480,), (1388150523,), (1388150525,), (1388150527,), (1388150531,), (1388150533,), (1388150609,), (1388150616,), (1388150625,), (1388150626,), (1388150693,), (1388150695,), (1388150696,), (1388150710,), (1388150714,), (1388150815,), (1388150871,), (1388150874,), (1388150876,), (1388150943,), (1388150949,), (1388150954,), (1388150958,), (1388150962,), (1388150965,), (1388150988,), (1388150991,), (1388150992,), (1388150996,), (1388151082,), (1388151075,), (1388151077,), (1388151079,), (1388151112,), (1388151117,), (1388151119,), (1388151122,), (1388151206,), (1388152154,), (1388152156,), (1388152157,), (1388152159,), (1388152433,), (1388152444,), (1388152483,), (1388152486,), (1388152489,), (1388152505,), (1388152638,), (1388152664,), (1388152686,), (1388154218,), (1388154229,), (1388154235,), (1388154243,), (1388154246,), (1388154532,), (1388154545,), (1388154550,), (1388154553,), (1388154558,), (1388154625,), (1388154642,), (1388154644,), (1388154646,), (1388154798,), (1388154800,), (1388154802,), (1388154806,), (1388154889,), (1388155288,), (1388155516,), (1388155653,), (1388155686,), (1388155738,), (1388155787,), (1388155823,), (1388155835,), (1388155848,), (1388155851,), (1388155855,), (1388155858,), (1388155946,), (1388155970,), (1388155991,), (1388155995,), (1388156001,), (1388156003,), (1388156014,), (1388156026,), (1388156027,), (1388156030,), (1388156963,), (1388157371,), (1388157948,), (1388158107,), (1388158111,), (1388158126,), (1388158155,), (1388158179,), (1388158883,), (1388158926,), (1388159243,), (1388159311,), (1388159426,), (1388159437,), (1388159479,), (1388159211,), (1388159213,), (1388159218,), (1388159220,), (1388159222,), (1388159255,), (1388159270,), (1388159274,), (1388159277,), (1388159280,), (1388159521,), (1388159525,), (1388159559,), (1388159568,), (1388159595,), (1388159607,), (1388159918,), (1388160141,), (1388160145,), (1388160150,), (1388160474,), (1388160477,), (1388160479,), (1388160488,), (1388160492,), (1388160520,), (1388160521,), (1388160522,), (1388160711,), (1388160713,), (1388160725,), (1388160729,), (1388160733,), (1388160736,), (1388161582,), (1388161584,), (1388161650,), (1388161958,), (1388161960,), (1388161966,), (1388161973,), (1388161981,), (1388162015,), (1388195380,), (1388196327,), (1388196329,), (1388196330,), (1388196752,), (1388196760,), (1388197553,), (1388197556,), (1388198520,), (1388199679,), (1388199684,), (1388199752,), (1388200378,), (1388200643,), (1388200650,), (1388200667,), (1388200672,), (1388200732,), (1388200740,), (1388200746,), (1388200769,), (1388200838,), (1388200821,), (1388200823,), (1388200825,), (1388200828,), (1388200833,), (1388201753,), (1388201769,), (1388201829,), (1388201833,), (1388201974,), (1388201989,), (1388201999,), (1388202014,), (1388202374,), (1388202386,), (1388202581,), (1388202584,), (1388202586,), (1388202591,), (1388202596,), (1388202600,), (1388202612,), (1388202616,), (1388202620,), (1388202624,), (1388202628,), (1388202631,), (1388202917,), (1388202920,), (1388202925,), (1388203045,), (1388203147,), (1388203151,), (1388203154,), (1388203158,), (1388203176,), (1388203180,), (1388203207,), (1388203209,), (1388203211,), (1388203213,), (1388203215,), (1388203220,), (1388203224,), (1388203228,), (1388203233,), (1388203237,), (1388203239,), (1388203242,), (1388203554,), (1388203556,), (1388203660,), (1388203663,), (1388203702,), (1388203730,), (1388203777,), (1388203783,), (1388203799,), (1388203804,), (1388203807,), (1388203811,), (1388203828,), (1388203832,), (1388203836,), (1388203842,), (1388203961,), (1388203964,), (1388203968,), (1388203973,), (1388203977,), (1388204032,), (1388204395,), (1388204639,), (1388204642,), (1388204646,), (1388204651,), (1388205518,), (1388205660,), (1388205666,), (1388205748,), (1388205755,), (1388205765,), (1388205770,), (1388205851,), (1388205834,), (1388205837,), (1388205839,), (1388205843,), (1388205847,), (1388206609,), (1388206614,), (1388206627,), (1388206756,), (1388207257,), (1388207259,), (1388207263,), (1388207268,), (1388207272,), (1388207278,), (1388207307,), (1388207310,), (1388207312,), (1388207462,), (1388207485,), (1388207553,), (1388207556,), (1388207557,), (1388207560,), (1388207565,), (1388207570,), (1388207634,), (1388207637,), (1388207640,), (1388207651,), (1388207667,), (1388207695,), (1388207699,), (1388207893,), (1388208108,), (1388208149,), (1388208155,), (1388208160,), (1388208164,), (1388208172,), (1388208245,), (1388208291,), (1388208310,), (1388208326,), (1388208338,), (1388208350,), (1388208355,), (1388208357,), (1388208360,), (1388208363,), (1388208365,), (1388208401,), (1388208405,), (1388208409,), (1388208411,), (1388208419,), (1388208438,), (1388208455,), (1388208468,), (1388208469,), (1388208470,), (1388208471,), (1388208474,), (1388208477,), (1388208482,), (1388208487,), (1388208498,), (1388208506,), (1388208513,), (1388208527,), (1388208530,), (1388208533,), (1388208540,), (1388208543,), (1388208701,), (1388209380,), (1388209595,), (1388209602,), (1388209605,), (1388209607,), (1388209610,), (1388209614,), (1388209838,), (1388209946,), (1388209943,), (1388209945,), (1388209977,), (1388209990,), (1388210002,), (1388210006,), (1388210011,), (1388210015,), (1388210050,), (1388210051,), (1388210296,), (1388211104,), (1388211897,), (1388211924,), (1388211957,), (1388211998,), (1388212003,), (1388212007,), (1388212070,), (1388212072,), (1388212075,), (1388212079,), (1388212082,), (1388212085,), (1388212089,), (1388212090,), (1388212091,), (1388212094,), (1388212095,), (1388212153,), (1388212158,), (1388212161,), (1388212164,), (1388212166,), (1388212170,), (1388212202,), (1388212203,), (1388212205,), (1388212206,), (1388212208,), (1388212209,), (1388212212,), (1388212213,), (1388212215,), (1388212216,), (1388212218,), (1388212219,), (1388212941,), (1388212942,), (1388212945,), (1388212988,), (1388213035,), (1388213080,), (1388213318,), (1388213389,), (1388213425,), (1388213820,), (1388213912,), (1388213921,), (1388214166,), (1388214168,), (1388214197,), (1388214271,), (1388214296,), (1388214303,), (1388214338,), (1388214368,), (1388214379,), (1388214380,), (1388214385,), (1388214455,), (1388214458,), (1388214461,), (1388214463,), (1388214890,), (1388214893,), (1388214895,), (1388215081,), (1388215089,), (1388215091,), (1388215138,), (1388215142,), (1388215143,), (1388215145,), (1388215150,), (1388215192,), (1388215197,), (1388215198,), (1388215201,), (1388215205,), (1388215954,), (1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,), (1388216132,), (1388216135,), (1388216137,), (1388216140,), (1388216143,), (1388216148,), (1388216208,), (1388216210,), (1388216213,), (1388216217,), (1388216220,), (1388216245,), (1388216252,), (1388216253,), (1388216266,), (1388216271,), (1388216668,), (1388216935,), (1388216937,), (1388216939,), (1388216943,), (1388216952,), (1388217092,), (1388217095,), (1388217096,), (1388217099,), (1388217103,), (1388217486,), (1388217488,), (1388217522,), (1388217530,), (1388217533,), (1388217666,), (1388217669,), (1388217673,), (1388217676,), (1388217678,), (1388217681,), (1388217685,), (1388217686,), (1388217687,), (1388217749,), (1388217757,), (1388217768,), (1388217772,), (1388217773,), (1388217775,), (1388217781,), (1388217782,), (1388217784,), (1388217799,), (1388218009,), (1388218357,), (1388218362,), (1388218376,), (1388218378,), (1388218381,), (1388218862,), (1388218879,), (1388218882,), (1388218950,), (1388219129,), (1388219178,), (1388219267,), (1388219270,), (1388219275,), (1388219277,), (1388219322,), (1388219312,), (1388219318,), (1388219388,), (1388219389,), (1388219390,), (1388219392,), (1388219399,), (1388219416,), (1388219437,), (1388220023,), (1388220053,), (1388220093,), (1388220097,), (1388220100,), (1388220110,), (1388220293,), (1388220310,), (1388220312,), (1388220315,), (1388220364,), (1388220373,), (1388220397,), (1388220401,), (1388220449,), (1388220452,), (1388220811,), (1388221097,), (1388221104,), (1388221142,), (1388221155,), (1388221158,), (1388221161,), (1388221174,), (1388221184,), (1388221186,), (1388221214,), (1388221254,), (1388221291,), (1388221301,), (1388221323,), (1388221327,), (1388221345,), (1388221350,), (1388221358,), (1388221373,), (1388221381,), (1388221386,), (1388221388,), (1388221390,), (1388221492,), (1388221833,), (1388221949,), (1388222030,), (1388222034,), (1388222079,), (1388222117,), (1388222277,), (1388222281,), (1388222285,), (1388222290,), (1388222293,), (1388222306,), (1388222330,), (1388222332,), (1388222347,), (1388222519,), (1388222523,), (1388222526,), (1388222531,), (1388222972,), (1388222986,), (1388222989,), (1388222993,), (1388222998,), (1388223001,), (1388223009,), (1388223081,), (1388223683,), (1388224215,), (1388224300,), (1388224307,), (1388224857,), (1388224881,), (1388225042,), (1388224246,), (1388224257,), (1388224262,), (1388224285,), (1388224708,), (1388224726,), (1388224729,), (1388224732,), (1388224735,), (1388225056,), (1388225132,), (1388225161,), (1388225190,), (1388225196,), (1388225202,), (1388225205,), (1388225906,), (1388225908,), (1388225910,), (1388226087,), (1388226092,), (1388226095,), (1388226246,), (1388226249,), (1388226251,), (1388226254,), (1388226289,), (1388226296,), (1388226299,), (1388226303,), (1388226316,), (1388226323,), (1388226342,), (1388226345,), (1388226348,), (1388226561,), (1388227326,), (1388227328,), (1388227786,), (1388227810,), (1388227812,), (1388227824,), (1388227943,), (1388227952,), (1388228009,), (1388228106,), (1388228109,), (1388228532,), (1388228535,), (1388228538,), (1388228747,), (1388228812,), (1388228840,), (1388228849,), (1388228875,), (1388228893,), (1388228896,), (1388228898,), (1388228903,), (1388228932,), (1388228935,), (1388228974,), (1388228978,), (1388229071,), (1388229060,), (1388229063,), (1388229064,), (1388229067,), (1388229521,), (1388229575,), (1388230994,), (1388231010,), (1388231037,), (1388231558,), (1388231599,), (1388231746,), (1388231754,), (1388231976,), (1388231979,), (1388232019,), (1388232021,), (1388232025,), (1388232028,), (1388232038,), (1388232040,), (1388232043,), (1388232649,), (1388232652,), (1388232654,), (1388232658,), (1388232780,), (1388233032,), (1388233034,), (1388233042,), (1388233046,), (1388233052,), (1388233058,), (1388233147,), (1388233150,), (1388233200,), (1388233203,), (1388233228,), (1388233306,), (1388233308,), (1388233310,), (1388233313,), (1388233420,), (1388233435,), (1388233437,), (1388233468,), (1388233471,), (1388233474,), (1388233498,), (1388233507,), (1388233517,), (1388233521,), (1388233571,), (1388233595,), (1388233597,), (1388233601,), (1388233605,), (1388233608,), (1388233666,), (1388233682,), (1388233684,), (1388233697,), (1388233745,), (1388233749,), (1388233750,), (1388233753,), (1388233756,), (1388233831,), (1388233807,), (1388233820,), (1388233827,), (1388233829,), (1388233830,), (1388233837,), (1388233840,), (1388234002,), (1388234005,), (1388234011,), (1388234013,), (1388234015,), (1388234018,), (1388234022,), (1388234028,), (1388234059,), (1388234062,), (1388234063,), (1388234095,), (1388234173,), (1388234175,), (1388234178,), (1388234182,), (1388234186,), (1388234196,), (1388234211,), (1388234215,), (1388234218,), (1388234222,), (1388234225,), (1388234281,), (1388234311,), (1388234328,), (1388234340,), (1388234453,), (1388234465,), (1388234469,), (1388234473,), (1388234477,), (1388234480,), (1388234505,), (1388234507,), (1388234509,), (1388234512,), (1388240804,), (1388240816,), (1388240820,), (1388240844,), (1388240848,), (1388240925,), (1388240938,), (1388240941,), (1388240943,), (1388240945,), (1388240949,), (1388240996,), (1388240998,), (1388241006,), (1388241009,), (1388241011,), (1388241013,), (1388241027,), (1388241043,), (1388243149,), (1388244251,), (1388244254,), (1388244258,), (1388244397,), (1388244400,), (1388244407,), (1388244408,), (1388244411,), (1388244414,), (1388244416,), (1388244434,), (1388244471,), (1388244472,), (1388236918,), (1388236920,), (1388236922,), (1388236923,), (1388236929,), (1388236949,), (1388236979,), (1388236982,), (1388236983,), (1388236985,), (1388236986,), (1388236987,), (1388236989,), (1388236992,), (1388236995,), (1388236998,), (1388237001,), (1388237004,), (1388237016,), (1388237018,), (1388237023,), (1388237026,), (1388237032,), (1388237036,), (1388237056,), (1388237058,), (1388237061,), (1388237064,), (1388237067,), (1388237070,), (1388237083,), (1388237087,), (1388237090,), (1388237092,), (1388237096,), (1388237099,), (1388237124,), (1388237125,), (1388237129,), (1388237131,), (1388237133,), (1388237134,), (1388237138,), (1388237139,), (1388237146,), (1388237147,), (1388237151,), (1388237152,), (1388237344,), (1388237345,), (1388237411,), (1388237416,), (1388237421,), (1388237425,), (1388237433,), (1388237435,), (1388237589,), (1388237593,), (1388237597,), (1388237615,), (1388237675,), (1388237678,), (1388237698,), (1388237751,), (1388237755,), (1388237158,), (1388237163,), (1388237167,), (1388237170,), (1388237177,), (1388237180,), (1388237184,), (1388237188,), (1388237191,), (1388237194,), (1388237206,), (1388237224,), (1388237236,), (1388237239,), (1388237241,), (1388237250,), (1388237255,), (1388237258,), (1388237280,), (1388237283,), (1388237286,), (1388237289,), (1388237292,), (1388237296,), (1388237349,), (1388237350,), (1388237353,), (1388237354,), (1388237357,), (1388237358,), (1388237369,), (1388237370,), (1388237377,), (1388237378,), (1388237486,), (1388237520,), (1388237531,), (1388237534,), (1388237537,), (1388237542,), (1388237621,), (1388237629,), (1388237761,), (1388237766,), (1388237777,), (1388237779,), (1388237784,), (1388237788,), (1388237886,), (1388237890,), (1388237899,), (1388237905,), (1388237908,), (1388237911,), (1388237914,), (1388237916,), (1388237991,), (1388237992,), (1388237996,), (1388238000,), (1388238005,), (1388238030,), (1388238103,), (1388238104,), (1388238172,), (1388238182,), (1388238186,), (1388238190,), (1388238208,), (1388238210,), (1388238226,), (1388238230,), (1388238233,), (1388238236,), (1388238237,), (1388238239,), (1388238241,), (1388238243,), (1388238245,), (1388238267,), (1388238270,), (1388238273,), (1388238309,), (1388238311,), (1388238313,), (1388238392,), (1388238419,), (1388238445,), (1388237664,), (1388237667,), (1388237671,), (1388237735,), (1388237740,), (1388237743,), (1388237747,), (1388237822,), (1388237823,), (1388237832,), (1388237833,), (1388237841,), (1388237842,), (1388237845,), (1388237848,), (1388237851,), (1388237854,), (1388237856,), (1388237858,), (1388237869,), (1388237873,), (1388237875,), (1388237881,), (1388237950,), (1388237954,), (1388237959,), (1388237967,), (1388237979,), (1388237981,), (1388238040,), (1388238041,), (1388238061,), (1388238062,), (1388238064,), (1388238065,), (1388238081,), (1388238083,), (1388238098,), (1388238100,), (1388238134,), (1388238147,), (1388238149,), (1388238157,), (1388238160,), (1388238163,), (1388238216,), (1388238219,), (1388238222,), (1388238255,), (1388238258,), (1388238305,), (1388238307,), (1388238330,), (1388238333,), (1388238341,), (1388238368,), (1388238382,), (1388238399,), (1388238402,), (1388238405,), (1388238408,), (1388238491,), (1388238494,), (1388238532,), (1388238536,), (1388238540,), (1388238550,), (1388238551,), (1388238553,), (1388238555,), (1388238558,), (1388238562,), (1388238619,), (1388238632,), (1388238644,), (1388238658,), (1388238723,), (1388238753,), (1388238759,), (1388238765,), (1388238768,), (1388238275,), (1388238315,), (1388238464,), (1388238469,), (1388238473,), (1388238477,), (1388238481,), (1388238487,), (1388238544,), (1388238585,), (1388238588,), (1388238599,), (1388238607,), (1388238610,), (1388238612,), (1388238661,), (1388238663,), (1388238771,), (1388238774,), (1388238777,), (1388238862,), (1388238866,), (1388238871,), (1388238875,), (1388238879,), (1388238883,), (1388238905,), (1388238906,), (1388238909,), (1388238910,), (1388239068,), (1388239124,), (1388239128,), (1388239131,), (1388239133,), (1388239136,), (1388239139,), (1388239171,), (1388239191,), (1388239206,), (1388239210,), (1388239213,), (1388239216,), (1388239219,), (1388239222,), (1388239264,), (1388239281,), (1388239283,), (1388239284,), (1388239287,), (1388239289,), (1388239291,), (1388239322,), (1388239342,), (1388239347,), (1388239350,), (1388239354,), (1388239358,), (1388239362,), (1388239384,), (1388239604,), (1388239617,), (1388239623,), (1388239625,), (1388239629,), (1388239645,), (1388239647,), (1388239653,), (1388240032,), (1388240442,), (1388240445,), (1388240447,), (1388240448,), (1388240725,), (1388240728,), (1388240782,), (1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,), (1388239253,), (1388239254,), (1388239256,), (1388239258,), (1388239261,), (1388239297,), (1388239305,), (1388239307,), (1388239309,), (1388239312,), (1388239364,), (1388239366,), (1388239369,), (1388239376,), (1388239381,), (1388239403,), (1388239407,), (1388239412,), (1388239416,), (1388239422,), (1388239426,), (1388239468,), (1388239471,), (1388239478,), (1388239480,), (1388239483,), (1388239484,), (1388239487,), (1388239489,), (1388239575,), (1388239580,), (1388239461,), (1388239464,), (1388239465,), (1388239466,), (1388239512,), (1388239515,), (1388239517,), (1388239520,), (1388239523,), (1388239526,), (1388239552,), (1388239556,), (1388239559,), (1388239561,), (1388239569,), (1388239635,), (1388239638,), (1388239641,), (1388239643,), (1388240456,), (1388240462,), (1388240465,), (1388240468,), (1388240471,), (1388240672,), (1388240824,), (1388240826,), (1388240829,), (1388240841,), (1388240885,), (1388240888,), (1388240896,), (1388240903,), (1388240907,), (1388240910,), (1388240956,), (1388240957,), (1388240959,), (1388240960,), (1388240962,), (1388240963,), (1388240966,), (1388240967,), (1388240969,), (1388240970,), (1388240972,), (1388240973,), (1388240981,), (1388240983,), (1388240986,), (1388240993,), (1388241743,), (1388242418,), (1388242925,), (1388243144,), (1388243146,), (1388243329,), (1388243332,), (1388243476,), (1388243689,), (1388243966,), (1388243968,), (1388244136,), (1388244152,), (1388244226,), (1388244275,), (1388244278,), (1388244284,), (1388244307,), (1388244311,), (1388244315,), (1388244347,), (1388244357,), (1388244373,), (1388244386,), (1388244451,), (1388244452,), (1388244454,), (1388244455,), (1388244457,), (1388244458,), (1388244462,), (1388244465,), (1388244468,), (1388244469,), (1388244491,), (1388244496,), (1388244501,), (1388244505,), (1388244510,), (1388244535,), (1388244574,), (1388244570,), (1388244573,), (1388244591,), (1388244606,), (1388244821,), (1388245346,), (1388245519,), (1388245524,), (1388245568,), (1388245577,), (1388245579,), (1388245834,), (1388246003,), (1388246007,), (1388246792,), (1388246803,), (1388246805,), (1388246810,), (1388246907,), (1388247016,), (1388247149,), (1388247151,), (1388247155,), (1388247159,), (1388247166,), (1388247168,), (1388247181,), (1388247192,), (1388247198,), (1388247206,), (1388247213,), (1388247215,), (1388247220,), (1388247222,), (1388247224,), (1388247246,), (1388247253,), (1388247258,), (1388247261,), (1388247265,), (1388247342,), (1388247345,), (1388247347,), (1388247350,), (1388247354,), (1388247388,), (1388247392,), (1388247394,), (1388247413,), (1388247416,), (1388247418,), (1388247452,), (1388247468,), (1388247471,), (1388247473,), (1388247480,), (1388247514,), (1388247530,), (1388247539,), (1388247543,), (1388247559,), (1388247571,), (1388247575,), (1388247576,), (1388247626,), (1388247629,), (1388249359,), (1388250767,), (1388250772,), (1388250780,), (1388250834,), (1388250880,), (1388250883,), (1388250902,), (1388250913,), (1388250929,), (1388251991,), (1388251995,), (1388251998,), (1388252306,), (1388252344,), (1388252357,), (1388252361,), (1388252365,), (1388252368,), (1388252378,), (1388252381,), (1388252383,), (1388252395,), (1388253372,), (1388253374,), (1388253376,), (1388253379,), (1388253383,), (1388253688,), (1388253822,), (1388253842,), (1388253857,), (1388253861,), (1388253865,), (1388253906,), (1388253908,), (1388253910,), (1388253914,), (1388253919,), (1388253933,), (1388253936,), (1388253938,), (1388253941,), (1388253967,), (1388253969,), (1388253971,), (1388253990,), (1388253991,), (1388253992,), (1388253995,), (1388254000,), (1388254012,), (1388254014,), (1388254017,), (1388254021,), (1388254058,), (1388254069,), (1388254112,), (1388254136,), (1388254138,), (1388254144,), (1388254150,), (1388254154,), (1388254157,), (1388254189,), (1388254173,), (1388254178,), (1388254182,), (1388254186,), (1388254215,), (1388254230,), (1388254240,), (1388254254,), (1388254257,), (1388254276,), (1388254279,), (1388254282,), (1388254306,), (1388254308,), (1388254310,), (1388254313,), (1388254317,), (1388254343,), (1388254345,), (1388254364,), (1388254379,), (1388254381,), (1388254386,), (1388254390,), (1388254394,), (1388254503,), (1388254507,), (1388254510,), (1388254514,), (1388254517,), (1388254533,), (1388254539,), (1388254540,), (1388254559,), (1388254563,), (1388254565,), (1388254568,), (1388254575,), (1388254577,), (1388254600,), (1388254604,), (1388254606,), (1388254610,), (1388254614,), (1388254623,), (1388254655,), (1388254657,), (1388254658,), (1388254660,), (1388254693,), (1388254698,), (1388254703,), (1388254709,), (1388254758,), (1388254760,), (1388254762,), (1388254764,), (1388254767,), (1388254778,), (1388254781,), (1388254783,), (1388254850,), (1388254853,), (1388254854,), (1388254858,), (1388254862,), (1388254915,), (1388254975,), (1388254902,), (1388254905,), (1388254911,), (1388254913,), (1388254914,), (1388254944,), (1388254946,), (1388254950,), (1388254954,), (1388254957,), (1388254959,), (1388254963,), (1388254965,), (1388254967,), (1388254969,), (1388254972,), (1388254984,), (1388254991,), (1388255005,), (1388255007,), (1388255046,), (1388255048,), (1388255050,), (1388255053,), (1388255056,), (1388255059,), (1388255072,), (1388255074,), (1388255075,), (1388255078,), (1388255082,), (1388255089,), (1388255109,), (1388255111,), (1388255130,), (1388255132,), (1388255135,), (1388255139,), (1388255154,), (1388255206,), (1388255214,), (1388255302,), (1388255305,), (1388255307,), (1388255310,), (1388255313,), (1388255348,), (1388255350,), (1388255352,), (1388255367,), (1388255372,), (1388255376,), (1388255387,), (1388255390,), (1388255394,), (1388255443,), (1388255448,), (1388255450,), (1388255452,), (1388255456,), (1388255477,), (1388255491,), (1388255493,), (1388255575,), (1388255599,), (1388255603,), (1388255606,), (1388255608,), (1388255637,), (1388255647,), (1388255652,), (1388255659,), (1388255716,), (1388255706,), (1388255708,), (1388255710,), (1388255712,), (1388255772,), (1388255787,), (1388255800,), (1388255806,), (1388255810,), (1388255814,), (1388255828,), (1388255861,), (1388255863,), (1388255865,), (1388255868,), (1388255871,), (1388255879,), (1388255956,), (1388255962,), (1388255964,), (1388255968,), (1388255989,), (1388255991,), (1388256003,), (1388256009,), (1388256020,), (1388256025,), (1388256028,), (1388256031,), (1388256039,), (1388256048,), (1388256060,), (1388256082,), (1388256084,), (1388256086,), (1388256089,), (1388256091,), (1388256122,), (1388256126,), (1388256130,), (1388256141,), (1388256161,), (1388256163,), (1388258750,), (1388258421,), (1388258748,), (1388258899,), (1388258901,), (1388258904,), (1388258912,), (1388258918,), (1388258921,), (1388258944,), (1388258946,), (1388258948,), (1388258951,), (1388259717,), (1388259741,), (1388259745,), (1388259748,), (1388259751,), (1388259754,), (1388260068,), (1388260071,), (1388260074,), (1388260136,), (1388260139,), (1388260184,), (1388260212,), (1388260215,), (1388260217,), (1388260368,), (1388260452,), (1388260454,), (1388260455,), (1388260458,), (1388260462,), (1388260464,), (1388260503,), (1388260507,), (1388260510,), (1388260513,), (1388260537,), (1388260539,), (1388260542,), (1388260545,), (1388260562,), (1388260565,), (1388260567,), (1388260570,), (1388260577,), (1388260580,), (1388260595,), (1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,), (1388261035,), (1388261037,), (1388261038,), (1388261041,), (1388261046,), (1388261053,), (1388261064,), (1388261067,), (1388261070,), (1388261073,), (1388261076,), (1388261104,), (1388261122,), (1388261127,), (1388261130,), (1388261136,), (1388261144,), (1388261149,), (1388261150,), (1388261151,), (1388261156,), (1388261158,), (1388261161,), (1388261164,), (1388261167,), (1388261169,), (1388261182,), (1388261186,), (1388261187,), (1388261228,), (1388261231,), (1388261234,), (1388261238,), (1388261242,), (1388261246,), (1388261270,), (1388261261,), (1388261263,), (1388261266,), (1388261314,), (1388261315,), (1388261316,), (1388261318,), (1388261321,), (1388261325,), (1388261346,), (1388261349,), (1388261351,), (1388261355,), (1388261359,), (1388261381,), (1388261383,), (1388261384,), (1388261387,), (1388261391,), (1388261403,), (1388261405,), (1388261407,), (1388261410,), (1388261416,), (1388261431,), (1388261433,), (1388261435,), (1388261439,), (1388261472,), (1388261475,), (1388261501,), (1388261504,), (1388261518,), (1388261524,), (1388261567,), (1388261569,), (1388261571,), (1388261575,), (1388261590,), (1388261592,), (1388261593,), (1388261596,), (1388261600,), (1388261603,), (1388261620,), (1388261622,), (1388261624,), (1388261627,), (1388261645,), (1388261646,), (1388261649,), (1388261653,), (1388261667,), (1388261671,), (1388261680,), (1388261686,), (1388261692,), (1388261696,), (1388261715,), (1388261721,), (1388261723,), (1388261725,), (1388261727,), (1388261740,), (1388261742,), (1388261745,), (1388261750,), (1388261756,), (1388261767,), (1388261792,), (1388261794,), (1388261848,), (1388261849,), (1388262221,), (1388262203,), (1388262206,), (1388262211,), (1388262215,), (1388262219,), (1388262241,), (1388262262,), (1388262280,), (1388262285,), (1388262295,), (1388262364,), (1388262366,), (1388262368,), (1388262371,), (1388262385,), (1388262388,), (1388262389,), (1388262391,), (1388262394,), (1388262428,), (1388262430,), (1388262432,), (1388262435,), (1388262449,), (1388262452,), (1388262453,), (1388262483,), (1388262485,), (1388262487,), (1388262490,), (1388262505,), (1388262525,), (1388262547,), (1388262548,), (1388262569,), (1388262619,), (1388262668,), (1388262673,), (1388262677,), (1388262721,), (1388262743,), (1388262748,), (1388262750,), (1388262792,), (1388262795,), (1388262797,), (1388263433,), (1388263438,), (1388263442,), (1388263447,), (1388263450,), (1388264198,), (1388264207,), (1388264209,), (1388264212,), (1388264214,), (1388264216,), (1388264219,), (1388264268,), (1388264094,), (1388264108,), (1388264143,), (1388264149,), (1388264174,), (1388264248,), (1388264258,), (1388264261,), (1388264264,), (1388264266,), (1388264275,), (1388264277,), (1388264280,), (1388264709,), (1388264910,), (1388264951,), (1388264977,), (1388264978,), (1388264979,), (1388264982,), (1388264987,), (1388264993,), (1388265013,), (1388265015,), (1388265018,), (1388265022,), (1388265025,), (1388265057,), (1388265060,), (1388265061,), (1388265064,), (1388265069,), (1388265129,), (1388265131,), (1388265157,), (1388265161,), (1388265171,), (1388265182,), (1388265192,), (1388265195,), (1388265196,), (1388265198,), (1388265258,), (1388265260,), (1388265263,), (1388265266,), (1388265270,), (1388265273,), (1388265281,), (1388265283,), (1388265286,), (1388265289,), (1388265292,), (1388265294,), (1388265310,), (1388265318,), (1388265328,), (1388265341,), (1388265348,), (1388265354,), (1388265363,), (1388265366,), (1388265374,), (1388265387,), (1388265398,), (1388265427,), (1388265449,), (1388265531,), (1388265533,), (1388265534,), (1388265536,), (1388265539,), (1388265542,), (1388265554,), (1388265556,), (1388265559,), (1388265563,), (1388265607,), (1388265602,), (1388265604,), (1388265605,), (1388265644,), (1388265654,), (1388265665,), (1388265680,), (1388265715,), (1388265717,), (1388265719,), (1388265723,), (1388265727,), (1388265741,), (1388265743,), (1388265744,), (1388265747,), (1388265751,), (1388265754,), (1388265774,), (1388265776,), (1388265779,), (1388266733,), (1388266738,), (1388266740,), (1388266743,), (1388266746,), (1388266779,), (1388267016,), (1388267072,), (1388267162,), (1388267169,), (1388267171,), (1388267221,), (1388267246,), (1388267249,), (1388267268,), (1388267270,), (1388267273,), (1388267294,), (1388267297,), (1388267301,), (1388267305,), (1388267310,), (1388267312,), (1388267340,), (1388267342,), (1388267344,), (1388267347,), (1388267350,), (1388267355,), (1388267378,), (1388267381,), (1388267382,), (1388267384,), (1388267388,), (1388267409,), (1388267412,), (1388267415,), (1388267472,), (1388267474,), (1388267476,), (1388267481,), (1388267484,), (1388267488,), (1388267499,), (1388267500,), (1388267501,), (1388267503,), (1388267506,), (1388267511,), (1388267534,), (1388267536,), (1388267539,), (1388267589,), (1388267574,), (1388267578,), (1388267580,), (1388267584,), (1388267636,), (1388267642,), (1388267644,), (1388267647,), (1388267652,), (1388267656,), (1388267671,), (1388267673,), (1388267675,), (1388267678,), (1388267682,), (1388267703,), (1388267704,), (1388267705,), (1388267707,), (1388267710,), (1388267726,), (1388267729,), (1388267734,), (1388267739,), (1388267743,), (1388267745,), (1388267761,), (1388267763,), (1388267764,), (1388267772,), (1388267779,), (1388267828,), (1388267831,), (1388267833,), (1388267837,), (1388267889,), (1388267891,), (1388267892,), (1388267895,), (1388267898,), (1388267901,), (1388267913,), (1388267916,), (1388267918,), (1388267973,), (1388267975,), (1388267991,), (1388267994,), (1388270389,), (1388274043,), (1388274048,), (1388274060,), (1388274063,), (1388274066,), (1388274082,), (1388274084,), (1388274087,), (1388274090,), (1388274093,), (1388274095,), (1388274126,), (1388274131,), (1388274133,), (1388274135,), (1388274142,), (1388274146,), (1388274148,), (1388274151,), (1388274154,), (1388274157,), (1388274161,), (1388274181,), (1388274183,), (1388274185,), (1388274195,), (1388274196,), (1388274210,), (1388274213,), (1388274215,), (1388274218,), (1388274221,), (1388274232,), (1388274239,), (1388274245,), (1388274248,), (1388274251,), (1388274254,), (1388274308,), (1388274311,), (1388274313,), (1388274330,), (1388274331,), (1388274332,), (1388274335,), (1388274339,), (1388274342,), (1388274350,), (1388274352,), (1388274353,), (1388274355,), (1388274359,), (1388274362,), (1388274374,), (1388274376,), (1388274379,), (1388274382,), (1388274385,), (1388274387,), (1388274389,), (1388274391,), (1388274393,), (1388274398,), (1388274401,), (1388274402,), (1388274404,), (1388274407,), (1388274410,), (1388274441,), (1388274456,), (1388274458,), (1388274461,), (1388274465,), (1388274469,), (1388274484,), (1388274487,), (1388274490,), (1388274493,), (1388274496,), (1388274510,), (1388274513,), (1388274514,), (1388274518,), (1388274520,), (1388274532,), (1388274523,), (1388274525,), (1388274526,), (1388274528,), (1388274530,), (1388274536,), (1388274537,), (1388274538,), (1388274540,), (1388274542,), (1388274571,), (1388274573,), (1388274576,), (1388274580,), (1388274597,), (1388274602,), (1388274605,), (1388274608,), (1388274612,), (1388274623,), (1388274626,), (1388274628,), (1388274631,), (1388274636,), (1388274639,), (1388274648,), (1388274650,), (1388274652,), (1388274656,), (1388274684,), (1388274687,), (1388274690,), (1388274694,), (1388274697,), (1388274699,), (1388274705,), (1388274707,), (1388274710,), (1388274714,), (1388274716,), (1388274718,), (1388274734,), (1388274737,), (1388274756,), (1388274757,), (1388274758,), (1388274775,), (1388274778,), (1388274842,), (1388274845,), (1388274847,), (1388274862,), (1388274864,), (1388274866,), (1388274882,), (1388274886,), (1388274889,), (1388274891,), (1388274894,), (1388274926,), (1388274932,), (1388274935,), (1388274942,), (1388274951,), (1388274953,), (1388274911,), (1388274914,), (1388274917,), (1388274920,), (1388274923,), (1388274959,), (1388274965,), (1388274969,), (1388274977,), (1388274979,), (1388274981,), (1388274998,), (1388275001,), (1388275002,), (1388275005,), (1388275009,), (1388275019,), (1388275021,), (1388275023,), (1388275027,), (1388275031,), (1388275035,), (1388275044,), (1388275046,), (1388275047,), (1388275081,), (1388275088,), (1388275090,), (1388275093,), (1388275096,), (1388275098,), (1388275111,), (1388275114,), (1388275115,), (1388275118,), (1388275133,), (1388275135,), (1388275138,), (1388275153,), (1388275351,), (1388275342,), (1388275345,), (1388275347,), (1388275361,), (1388275368,), (1388275373,), (1388275391,), (1388275394,), (1388275395,), (1388275414,), (1388275416,), (1388275419,), (1388275422,), (1388275425,), (1388275427,), (1388275432,), (1388275433,), (1388275438,), (1388275451,), (1388275454,), (1388275455,), (1388275457,), (1388275460,), (1388275463,), (1388275475,), (1388275477,), (1388275479,), (1388275482,), (1388275496,), (1388275499,), (1388275501,), (1388275503,), (1388275506,), (1388275509,), (1388275520,), (1388275527,), (1388275529,), (1388275531,), (1388275534,), (1388275542,), (1388275545,), (1388275547,), (1388275550,), (1388275576,), (1388275577,), (1388275579,), (1388275581,), (1388275584,), (1388275595,), (1388275598,), (1388275601,), (1388275605,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08102025': {'nb_upload': 52, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27614441]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] map_info['map_portfolio_photo'] : {27614441: [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576, 1388275550, 1388275547, 1388275545, 1388275542, 1388275534, 1388275531, 1388275529, 1388275527, 1388275520, 1388275509, 1388275506, 1388275503, 1388275501, 1388275499, 1388275496, 1388275482, 1388275479, 1388275477, 1388275475, 1388275463, 1388275460, 1388275457, 1388275455, 1388275454, 1388275451, 1388275438, 1388275433, 1388275432, 1388275427, 1388275425, 1388275422, 1388275419, 1388275416, 1388275414, 1388275395, 1388275394, 1388275391, 1388275373, 1388275368, 1388275361, 1388275347, 1388275345, 1388275342]} final : True mtd_id 4302 list_pids : [1388275605, 1388275601, 1388275598, 1388275595, 1388275584, 1388275581, 1388275579, 1388275577, 1388275576] Looping around the photos to save general results len do output : 1 /27614441Didn'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, '3889186') ('4302', '27614441', '1388275605', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186') ('4302', None, None, None, None, None, None, None, '3889186') ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '27614441', 'None', None, None, None, None, '3889186'), ('4302', '27614441', '1388275605', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275601', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275598', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275595', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275584', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275581', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275579', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275577', None, None, None, None, None, '3889186'), ('4302', '27614441', '1388275576', None, None, None, None, None, '3889186')] time used for this insertion : 0.03820657730102539 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.504125118255615 time spend to save output : 0.03841400146484375 total time spend for step 5 : 12.542539119720459 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 (3889186) 2.15user 2.59system 0:23.51elapsed 20%CPU (0avgtext+0avgdata 159840maxresident)k 24inputs+6936outputs (21major+64368minor)pagefaults 0swaps