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 : 768245 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 (3925503) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3925503) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707417 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3925503'] with mtr_portfolio_ids : ['27707417'] and first list_photo_ids : [] new path : /proc/768245/ Name: python3 Umask: 0002 State: R (running) Tgid: 768245 Ngid: 0 Pid: 768245 PPid: 768244 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 768245 NSpid: 768245 NSpgid: 767025 NSsid: 767025 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98708 kB VmRSS: 98708 kB RssAnon: 59844 kB RssFile: 38864 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 54 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '768245', 'Ngid': '0', 'Pid': '768245', 'PPid': '768244', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '768245', 'NSpid': '768245', 'NSpgid': '767025', 'NSsid': '767025', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98708 kB', 'VmRSS': '98708 kB', 'RssAnon': '59844 kB', 'RssFile': '38864 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '54', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '768245', '1106856', '0', '1106856', '865608', '98708', b'', 'marlene', '3925503') 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 (27707417) 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 (3925503 ) ) 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 (27707417) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388768370, 'portfolio_id': 27707417}, {'photo_id': 1388768364, 'portfolio_id': 27707417}, {'photo_id': 1388768363, 'portfolio_id': 27707417}, {'photo_id': 1388768360, 'portfolio_id': 27707417}, {'photo_id': 1388768351, 'portfolio_id': 27707417}, {'photo_id': 1388768348, 'portfolio_id': 27707417}, {'photo_id': 1388768341, 'portfolio_id': 27707417}, {'photo_id': 1388768339, 'portfolio_id': 27707417}, {'photo_id': 1388768337, 'portfolio_id': 27707417}, {'photo_id': 1388768336, 'portfolio_id': 27707417}, {'photo_id': 1388768316, 'portfolio_id': 27707417}, {'photo_id': 1388768312, 'portfolio_id': 27707417}, {'photo_id': 1388768309, 'portfolio_id': 27707417}, {'photo_id': 1388768305, 'portfolio_id': 27707417}, {'photo_id': 1388768300, 'portfolio_id': 27707417}, {'photo_id': 1388768277, 'portfolio_id': 27707417}, {'photo_id': 1388768275, 'portfolio_id': 27707417}, {'photo_id': 1388768274, 'portfolio_id': 27707417}, {'photo_id': 1388768272, 'portfolio_id': 27707417}, {'photo_id': 1388768249, 'portfolio_id': 27707417}, {'photo_id': 1388768244, 'portfolio_id': 27707417}, {'photo_id': 1388767991, 'portfolio_id': 27707417}, {'photo_id': 1388767896, 'portfolio_id': 27707417}, {'photo_id': 1388767879, 'portfolio_id': 27707417}, {'photo_id': 1388767875, 'portfolio_id': 27707417}, {'photo_id': 1388767871, 'portfolio_id': 27707417}, {'photo_id': 1388767869, 'portfolio_id': 27707417}, {'photo_id': 1388767867, 'portfolio_id': 27707417}, {'photo_id': 1388767853, 'portfolio_id': 27707417}, {'photo_id': 1388767850, 'portfolio_id': 27707417}, {'photo_id': 1388767849, 'portfolio_id': 27707417}, {'photo_id': 1388767847, 'portfolio_id': 27707417}, {'photo_id': 1388767812, 'portfolio_id': 27707417}, {'photo_id': 1388767809, 'portfolio_id': 27707417}, {'photo_id': 1388767805, 'portfolio_id': 27707417}, {'photo_id': 1388767801, 'portfolio_id': 27707417}, {'photo_id': 1388767796, 'portfolio_id': 27707417}, {'photo_id': 1388767766, 'portfolio_id': 27707417}, {'photo_id': 1388767763, 'portfolio_id': 27707417}, {'photo_id': 1388767760, 'portfolio_id': 27707417}, {'photo_id': 1388767758, 'portfolio_id': 27707417}, {'photo_id': 1388767757, 'portfolio_id': 27707417}, {'photo_id': 1388767755, 'portfolio_id': 27707417}, {'photo_id': 1388767731, 'portfolio_id': 27707417}, {'photo_id': 1388767728, 'portfolio_id': 27707417}, {'photo_id': 1388767726, 'portfolio_id': 27707417}, {'photo_id': 1388767722, 'portfolio_id': 27707417}, {'photo_id': 1388767712, 'portfolio_id': 27707417}, {'photo_id': 1388767709, 'portfolio_id': 27707417}, {'photo_id': 1388767686, 'portfolio_id': 27707417}, {'photo_id': 1388767682, 'portfolio_id': 27707417}, {'photo_id': 1388767674, 'portfolio_id': 27707417}, {'photo_id': 1388767672, 'portfolio_id': 27707417}, {'photo_id': 1388767634, 'portfolio_id': 27707417}, {'photo_id': 1388767591, 'portfolio_id': 27707417}, {'photo_id': 1388767589, 'portfolio_id': 27707417}, {'photo_id': 1388767540, 'portfolio_id': 27707417}, {'photo_id': 1388767142, 'portfolio_id': 27707417}, {'photo_id': 1388767096, 'portfolio_id': 27707417}, {'photo_id': 1388767093, 'portfolio_id': 27707417}, {'photo_id': 1388767080, 'portfolio_id': 27707417}, {'photo_id': 1388766849, 'portfolio_id': 27707417}, {'photo_id': 1388766840, 'portfolio_id': 27707417}, {'photo_id': 1388765836, 'portfolio_id': 27707417}, {'photo_id': 1388764987, 'portfolio_id': 27707417}, {'photo_id': 1388764478, 'portfolio_id': 27707417}] map_portfolio_id_photo_id: {27707417: [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305, 1388768300, 1388768277, 1388768275, 1388768274, 1388768272, 1388768249, 1388768244, 1388767991, 1388767896, 1388767879, 1388767875, 1388767871, 1388767869, 1388767867, 1388767853, 1388767850, 1388767849, 1388767847, 1388767812, 1388767809, 1388767805, 1388767801, 1388767796, 1388767766, 1388767763, 1388767760, 1388767758, 1388767757, 1388767755, 1388767731, 1388767728, 1388767726, 1388767722, 1388767712, 1388767709, 1388767686, 1388767682, 1388767674, 1388767672, 1388767634, 1388767591, 1388767589, 1388767540, 1388767142, 1388767096, 1388767093, 1388767080, 1388766849, 1388766840, 1388765836, 1388764987, 1388764478]} ##### 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.05154561996459961 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 10 17:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27707417) 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 : 27707417 get user id for portfolio 27707417 get sub ptf for main ptf 27707417, type 3726 and hashtags ['Carton_gris', 'papier', 'plastique', 'metal', 'mal_croppe', 'cartonnette', 'flou', 'Carton_brun', 'autre_refus', 'environnement', 'kraft', 'Teint_Dans_La_Masse'] 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`=27707417 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','plastique','metal','mal_croppe','cartonnette','flou','Carton_brun','autre_refus','environnement','kraft','Teint_Dans_La_Masse')) 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`=27707417 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','plastique','metal','mal_croppe','cartonnette','flou','Carton_brun','autre_refus','environnement','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27707417, 'sub_port_id': 27707451, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689416, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'plastique': {'main_port_id': 27707417, 'sub_port_id': 27707452, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689417, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'Carton_gris': {'main_port_id': 27707417, 'sub_port_id': 27707453, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689418, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'papier': {'main_port_id': 27707417, 'sub_port_id': 27707454, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689419, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'autre_refus': {'main_port_id': 27707417, 'sub_port_id': 27707455, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689420, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 27707417, 'sub_port_id': 27707456, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689421, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'cartonnette': {'main_port_id': 27707417, 'sub_port_id': 27707457, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689422, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'environnement': {'main_port_id': 27707417, 'sub_port_id': 27707458, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689423, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'metal': {'main_port_id': 27707417, 'sub_port_id': 27707459, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689424, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'mal_croppe': {'main_port_id': 27707417, 'sub_port_id': 27707460, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689425, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'kraft': {'main_port_id': 27707417, 'sub_port_id': 27707461, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689426, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}, 'flou': {'main_port_id': 27707417, 'sub_port_id': 27707462, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689427, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 2, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707451 , 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=27707417 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 (27707451) result : ((1388767740,), (1388767741,), (1388768290,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707452 , 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=27707417 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 (27707452) result : ((1388767742,), (1388767781,), (1388767823,), (1388767824,), (1388767825,), (1388767826,), (1388767827,), (1388768345,), (1388768346,), (1388768347,), (1388768381,), (1388768382,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707453 , 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=27707417 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 (27707453) result : ((1388767739,), (1388767816,), (1388768286,), (1388768287,), (1388768288,), (1388768380,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707454 , 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=27707417 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 (27707454) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707455 , 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=27707417 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 (27707455) result : ((1388767738,), (1388767815,), (1388768267,), (1388768282,), (1388768283,), (1388768284,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707456 , 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=27707417 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 (27707456) result : ((1388767735,), (1388767736,), (1388767814,), (1388768260,), (1388768261,), (1388768262,), (1388768263,), (1388768264,), (1388768265,), (1388768266,), (1388768280,), (1388768379,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707457 , 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=27707417 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 (27707457) result : ((1388767818,), (1388767819,), (1388767820,), (1388767821,), (1388767822,), (1388768268,), (1388768289,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707458 , 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=27707417 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 (27707458) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707459 , 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=27707417 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 (27707459) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707460 , 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=27707417 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 (27707460) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707461 , 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=27707417 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 (27707461) result : ((1388767830,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27707462 , 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=27707417 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 (27707462) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27707417) result : ((1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) 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 (1388768300) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27707417 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','plastique','metal','mal_croppe','cartonnette','flou','Carton_brun','autre_refus','environnement','kraft','Teint_Dans_La_Masse')) 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`=27707417 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','plastique','metal','mal_croppe','cartonnette','flou','Carton_brun','autre_refus','environnement','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27707417, 'sub_port_id': 27707466, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689428, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'plastique': {'main_port_id': 27707417, 'sub_port_id': 27707467, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689429, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'Carton_gris': {'main_port_id': 27707417, 'sub_port_id': 27707468, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689430, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'papier': {'main_port_id': 27707417, 'sub_port_id': 27707469, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689431, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'autre_refus': {'main_port_id': 27707417, 'sub_port_id': 27707470, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689432, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 27707417, 'sub_port_id': 27707471, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689433, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'cartonnette': {'main_port_id': 27707417, 'sub_port_id': 27707472, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689434, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'environnement': {'main_port_id': 27707417, 'sub_port_id': 27707473, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689435, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'metal': {'main_port_id': 27707417, 'sub_port_id': 27707474, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689436, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'mal_croppe': {'main_port_id': 27707417, 'sub_port_id': 27707475, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689437, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'kraft': {'main_port_id': 27707417, 'sub_port_id': 27707476, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689438, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}, 'flou': {'main_port_id': 27707417, 'sub_port_id': 27707477, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18689439, 'last_updated_at': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 17, 12, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 17, 3, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707466,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707451 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707467,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707452 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707468,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707453 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707469,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707454 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707470,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707455 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707471,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707456 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707472,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707457 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707473,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707458 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707474,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707459 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707475,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707460 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707476,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707461 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27707477,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27707462 lien utilise dans velours : https://marlene.fotonower.com/velours/27707466,27707467,27707468,27707469,27707470,27707471,27707472,27707473,27707474,27707475,27707476,27707477?tags=Carton_brun,plastique,Carton_gris,papier,autre_refus,Teint_Dans_La_Masse,cartonnette,environnement,metal,mal_croppe,kraft,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27707417]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] map_info['map_portfolio_photo'] : {27707417: [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305, 1388768300, 1388768277, 1388768275, 1388768274, 1388768272, 1388768249, 1388768244, 1388767991, 1388767896, 1388767879, 1388767875, 1388767871, 1388767869, 1388767867, 1388767853, 1388767850, 1388767849, 1388767847, 1388767812, 1388767809, 1388767805, 1388767801, 1388767796, 1388767766, 1388767763, 1388767760, 1388767758, 1388767757, 1388767755, 1388767731, 1388767728, 1388767726, 1388767722, 1388767712, 1388767709, 1388767686, 1388767682, 1388767674, 1388767672, 1388767634, 1388767591, 1388767589, 1388767540, 1388767142, 1388767096, 1388767093, 1388767080, 1388766849, 1388766840, 1388765836, 1388764987, 1388764478]} final : False mtd_id 4302 list_pids : [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] Looping around the photos to save general results len do output : 1 /27707417. 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, '3925503') ('4302', '27707417', '1388768370', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '27707417', "{'Carton_brun': 27707451, 'plastique': 27707452, 'Carton_gris': 27707453, 'papier': 27707454, 'autre_refus': 27707455, 'Teint_Dans_La_Masse': 27707456, 'cartonnette': 27707457, 'environnement': 27707458, 'metal': 27707459, 'mal_croppe': 27707460, 'kraft': 27707461, 'flou': 27707462}", None, None, None, None, '3925503'), ('4302', '27707417', '1388768370', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503')] time used for this insertion : 0.037691354751586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.695099115371704 time spend to save output : 0.03801274299621582 total time spend for step 1 : 1.73311185836792 step2:final Fri Oct 10 17:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (27707417) 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 27707417 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388765836,1388764987,1388764478,1388767142,1388767096,1388767093,1388767080,1388766849,1388766840,1388767634,1388767591,1388767589,1388767540,1388767712,1388767709,1388767686,1388767682,1388767674,1388767672,1388767731,1388767728,1388767726,1388767722,1388767766,1388767763,1388767760,1388767758,1388767757,1388767755,1388767812,1388767809,1388767805,1388767801,1388767796,1388767853,1388767850,1388767849,1388767847,1388767879,1388767875,1388767871,1388767869,1388767867,1388768249,1388768244,1388767991,1388767896,1388768277,1388768275,1388768274,1388768272,1388768316,1388768312,1388768309,1388768305,1388768300,1388768351,1388768348,1388768341,1388768339,1388768337,1388768336,1388768370,1388768364,1388768363,1388768360); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27707417]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} new output for save of step final : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] map_info['map_portfolio_photo'] : {27707417: [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305, 1388768300, 1388768277, 1388768275, 1388768274, 1388768272, 1388768249, 1388768244, 1388767991, 1388767896, 1388767879, 1388767875, 1388767871, 1388767869, 1388767867, 1388767853, 1388767850, 1388767849, 1388767847, 1388767812, 1388767809, 1388767805, 1388767801, 1388767796, 1388767766, 1388767763, 1388767760, 1388767758, 1388767757, 1388767755, 1388767731, 1388767728, 1388767726, 1388767722, 1388767712, 1388767709, 1388767686, 1388767682, 1388767674, 1388767672, 1388767634, 1388767591, 1388767589, 1388767540, 1388767142, 1388767096, 1388767093, 1388767080, 1388766849, 1388766840, 1388765836, 1388764987, 1388764478]} final : False mtd_id 4302 list_pids : [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] Looping around the photos to save general results len do output : 14 /1388768370.Didn't retrieve data . /1388768364.Didn't retrieve data . /1388768363.Didn't retrieve data . /1388768360.Didn't retrieve data . /1388768351.Didn't retrieve data . /1388768348.Didn't retrieve data . /1388768341.Didn't retrieve data . /1388768339.Didn't retrieve data . /1388768337.Didn't retrieve data . /1388768336.Didn't retrieve data . /1388768316.Didn't retrieve data . /1388768312.Didn't retrieve data . /1388768309.Didn't retrieve data . /1388768305.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, '3925503') ('4302', '27707417', '1388768370', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '27707417', '1388768370', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768364', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768363', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768360', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768351', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768348', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768341', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768339', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768337', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768336', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768316', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768312', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768309', '0.046272346573838954', None, None, None, None, '3925503'), ('4302', '27707417', '1388768305', '0.046272346573838954', None, None, None, None, '3925503')] time used for this insertion : 0.03630471229553223 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24070286750793457 time spend to save output : 0.03699994087219238 total time spend for step 2 : 0.27770280838012695 step3:velours_tree Fri Oct 10 17:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27707417: [{'Carton_brun': 27707451, 'plastique': 27707452, 'Carton_gris': 27707453, 'papier': 27707454, 'autre_refus': 27707455, 'Teint_Dans_La_Masse': 27707456, 'cartonnette': 27707457, 'environnement': 27707458, 'metal': 27707459, 'mal_croppe': 27707460, 'kraft': 27707461, 'flou': 27707462}]} input_args_next_step : {27707417: ()} output_args : {27707417: [{'Carton_brun': 27707451, 'plastique': 27707452, 'Carton_gris': 27707453, 'papier': 27707454, 'autre_refus': 27707455, 'Teint_Dans_La_Masse': 27707456, 'cartonnette': 27707457, 'environnement': 27707458, 'metal': 27707459, 'mal_croppe': 27707460, 'kraft': 27707461, 'flou': 27707462}]} args : 27707417 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 27707451, 'plastique': 27707452, 'Carton_gris': 27707453, 'papier': 27707454, 'autre_refus': 27707455, 'Teint_Dans_La_Masse': 27707456, 'cartonnette': 27707457, 'environnement': 27707458, 'metal': 27707459, 'mal_croppe': 27707460, 'kraft': 27707461, 'flou': 27707462},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27707417) 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([27707417]) 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.3180992603302002 time spend to save output : 5.841255187988281e-05 total time spend for step 3 : 0.3181576728820801 step4:send_mail_cod Fri Oct 10 17:15:01 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 : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} input_args_next_step : {1388768370: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768370 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768364 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768363 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768360 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768351 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768348 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768341 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768339 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768337 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768336 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768316 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768312 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768309 depend.output_id : 0 input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ()} output_args : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',)} args : 1388768305 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 : {27707417: [{'Carton_brun': 27707451, 'plastique': 27707452, 'Carton_gris': 27707453, 'papier': 27707454, 'autre_refus': 27707455, 'Teint_Dans_La_Masse': 27707456, 'cartonnette': 27707457, 'environnement': 27707458, 'metal': 27707459, 'mal_croppe': 27707460, 'kraft': 27707461, 'flou': 27707462}]} input_args_next_step : {1388768370: ('0.046272346573838954',), 1388768364: ('0.046272346573838954',), 1388768363: ('0.046272346573838954',), 1388768360: ('0.046272346573838954',), 1388768351: ('0.046272346573838954',), 1388768348: ('0.046272346573838954',), 1388768341: ('0.046272346573838954',), 1388768339: ('0.046272346573838954',), 1388768337: ('0.046272346573838954',), 1388768336: ('0.046272346573838954',), 1388768316: ('0.046272346573838954',), 1388768312: ('0.046272346573838954',), 1388768309: ('0.046272346573838954',), 1388768305: ('0.046272346573838954',), 27707417: ()} output_args : {27707417: [{'Carton_brun': 27707451, 'plastique': 27707452, 'Carton_gris': 27707453, 'papier': 27707454, 'autre_refus': 27707455, 'Teint_Dans_La_Masse': 27707456, 'cartonnette': 27707457, 'environnement': 27707458, 'metal': 27707459, 'mal_croppe': 27707460, 'kraft': 27707461, 'flou': 27707462}]} args : 27707417 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 :15, first value : ('0.046272346573838954',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27707417) 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 (1388768370,1388768364,1388768363,1388768360,1388768351,1388768348,1388768341,1388768339,1388768337,1388768336,1388768316,1388768312,1388768309,1388768305) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388768305 begin to download photo : 1388768316 begin to download photo : 1388768339 begin to download photo : 1388768351 begin to download photo : 1388768364 download finish for photo 1388768316 begin to download photo : 1388768336 download finish for photo 1388768339 begin to download photo : 1388768341 download finish for photo 1388768351 begin to download photo : 1388768360 download finish for photo 1388768364 begin to download photo : 1388768370 download finish for photo 1388768305 begin to download photo : 1388768309 download finish for photo 1388768336 begin to download photo : 1388768337 download finish for photo 1388768360 begin to download photo : 1388768363 download finish for photo 1388768341 begin to download photo : 1388768348 download finish for photo 1388768309 begin to download photo : 1388768312 download finish for photo 1388768370 download finish for photo 1388768337 download finish for photo 1388768363 download finish for photo 1388768312 download finish for photo 1388768348 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P27707417_10-10-2025_17_15_01.pdf 27707452 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=27707452 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767742: '1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968421_0.png', 1388767781: '1760108786_979752_1388767591_ae83cb3207190858d046eb9ff8d2eb5a_rle_crop_3992968817_0.png', 1388767823: '1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969060_0.png', 1388767824: '1760108826_982150_1388767096_e9d574a4bad1f5ab5bc9c050b5b68402_rle_crop_3992969080_0.png', 1388767825: '1760108826_982150_1388766849_25ec631ef397423cb1eefc3786738ed3_rle_crop_3992969117_0.png', 1388767826: '1760108826_982150_1388766849_25ec631ef397423cb1eefc3786738ed3_rle_crop_3992969122_0.png', 1388767827: '1760108826_982150_1388766840_8ba4cc589226f3233abad8c1660ffb68_rle_crop_3992969137_0.png', 1388768345: '1760109184_1000451_1388767728_a4b2f272be462a3f7a3b72285018a733_rle_crop_3992970050_0.png', 1388768346: '1760109184_1000451_1388767728_a4b2f272be462a3f7a3b72285018a733_rle_crop_3992970051_0.png', 1388768347: '1760109184_1000451_1388767728_a4b2f272be462a3f7a3b72285018a733_rle_crop_3992970053_0.png', 1388768381: '1760109266_1003988_1388768275_899fe4c4e2f080ffcd5485331fcb437f_rle_crop_3992975666_0.png', 1388768382: '1760109266_1003988_1388768274_43422775d7bacf891c4fe7ca829758b9_rle_crop_3992975676_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f30b395614ce8069a7f52a7eac669900_19904187.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/08210bf527cf477049bfbeea89699bee_29748905.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7d13ccf17393dbea8bce180ee8d64ff1_31103290.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/41614bf905572d527fc6a0bce6235c2a_22633118.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/9b61292a3ff4f56604fb2be411f33aea_56559317.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/bded9dcf6efaafa751ffe818c6d95c79_8231792.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d80683ab57ba6c4b246fb02e52e92605_97074762.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d6fd8bce1e845ef82d0726574dc83ca9_86696195.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/660ade0c44d2c222d4affd9bd00f1307_98315503.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0d385f07c8ca5b09520c9af57f492019_47818974.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3b557950bcbf5ad7e79b6534aaa4f1ab_74013916.png change filename to text .imagette277074521760109301/ imagette277074521760109301/1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969060_0.png.png imagette277074521760109301/1760109184_1000451_1388767728_a4b2f272be462a3f7a3b72285018a733_rle_crop_3992970053_0.png.png imagette277074521760109301/1760108826_982150_1388766840_8ba4cc589226f3233abad8c1660ffb68_rle_crop_3992969137_0.png.png imagette277074521760109301/1760109184_1000451_1388767728_a4b2f272be462a3f7a3b72285018a733_rle_crop_3992970051_0.png.png imagette277074521760109301/1760108826_982150_1388766849_25ec631ef397423cb1eefc3786738ed3_rle_crop_3992969117_0.png.png imagette277074521760109301/1760108826_982150_1388767096_e9d574a4bad1f5ab5bc9c050b5b68402_rle_crop_3992969080_0.png.png imagette277074521760109301/1760109266_1003988_1388768274_43422775d7bacf891c4fe7ca829758b9_rle_crop_3992975676_0.png.png imagette277074521760109301/1760109266_1003988_1388768275_899fe4c4e2f080ffcd5485331fcb437f_rle_crop_3992975666_0.png.png imagette277074521760109301/1760109184_1000451_1388767728_a4b2f272be462a3f7a3b72285018a733_rle_crop_3992970050_0.png.png imagette277074521760109301/1760108786_979752_1388767591_ae83cb3207190858d046eb9ff8d2eb5a_rle_crop_3992968817_0.png.png imagette277074521760109301/1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968421_0.png.png imagette277074521760109301/1760108826_982150_1388766849_25ec631ef397423cb1eefc3786738ed3_rle_crop_3992969122_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c936a00a0f8fe31f89daffd76e868efd_50271784.png imagette277074521760109301 27707455 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=27707455 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767738: '1760108705_975744_1388764478_f00105367801c08e88675ccb05513769_rle_crop_3992968427_0.png', 1388767815: '1760108826_982150_1388767093_793dda956867f0f9049c3d2a091dcd7f_rle_crop_3992969094_0.png', 1388768267: '1760109024_992611_1388767801_2c927478399f72898ed9606c4146cdfb_rle_crop_3992969835_0.png', 1388768282: '1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969933_0.png', 1388768283: '1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969932_0.png', 1388768284: '1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969934_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/74acf577d6c3eae5797b2713da72957d_39398790.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/ab182151edbe9dd223847e2bb13e4901_9242999.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/08285cb3e555309124895904cf4c899f_74325206.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6449e70910f8e4f0c5f4975fa3060f4b_8241376.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3728816be8a5f4a0bf481d22cbfb4ac3_7649975.png change filename to text .imagette277074551760109302/ imagette277074551760109302/1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969934_0.png.png imagette277074551760109302/1760109024_992611_1388767801_2c927478399f72898ed9606c4146cdfb_rle_crop_3992969835_0.png.png imagette277074551760109302/1760108705_975744_1388764478_f00105367801c08e88675ccb05513769_rle_crop_3992968427_0.png.png imagette277074551760109302/1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969933_0.png.png imagette277074551760109302/1760108826_982150_1388767093_793dda956867f0f9049c3d2a091dcd7f_rle_crop_3992969094_0.png.png imagette277074551760109302/1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969932_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/ad66085c93eed1af3b3a99b3689eed9b_14418152.png imagette277074551760109302 27707457 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=27707457 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767818: '1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969062_0.png', 1388767819: '1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969061_0.png', 1388767820: '1760108826_982150_1388767096_e9d574a4bad1f5ab5bc9c050b5b68402_rle_crop_3992969074_0.png', 1388767821: '1760108826_982150_1388767080_c73addb028b48e4e114f352b1600f0c5_rle_crop_3992969107_0.png', 1388767822: '1760108826_982150_1388766849_25ec631ef397423cb1eefc3786738ed3_rle_crop_3992969115_0.png', 1388768268: '1760109024_992611_1388767805_a11665ec265d906ea1331d57049c5a51_rle_crop_3992969810_0.png', 1388768289: '1760109066_995276_1388767849_e32dcbd76102cde8af84220c7a8d5168_rle_crop_3992969945_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/70a29fc6e52ed797dfa2e6b0fff65565_76844140.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/34a6f9a76dce68ba8000105d893d500d_2155015.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/83a60580378972a3f946fcc92419cbc3_39519151.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/450a0fe7e81994a3d5d7f172a52fffbb_79508805.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/2198220f6fd7e0a3ff1d342f27bdcc8b_32045539.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/eb77878a71b503028b6cd7df69e0319e_29801657.png change filename to text .imagette277074571760109303/ imagette277074571760109303/1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969061_0.png.png imagette277074571760109303/1760108826_982150_1388766849_25ec631ef397423cb1eefc3786738ed3_rle_crop_3992969115_0.png.png imagette277074571760109303/1760109024_992611_1388767805_a11665ec265d906ea1331d57049c5a51_rle_crop_3992969810_0.png.png imagette277074571760109303/1760108826_982150_1388767096_e9d574a4bad1f5ab5bc9c050b5b68402_rle_crop_3992969074_0.png.png imagette277074571760109303/1760108826_982150_1388767080_c73addb028b48e4e114f352b1600f0c5_rle_crop_3992969107_0.png.png imagette277074571760109303/1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969062_0.png.png imagette277074571760109303/1760109066_995276_1388767849_e32dcbd76102cde8af84220c7a8d5168_rle_crop_3992969945_0.png.png imagette277074591760109303/ imagette277074601760109303/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0f990deca371ec9b22fe904010d12e5b_46559339.png imagette277074571760109303 27707459 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=27707459 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277074591760109303 27707460 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=27707460 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277074601760109303 27707461 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=27707461 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767830: '1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969063_0.png'} change filename to text .imagette277074611760109303/ imagette277074611760109303/1760108826_982150_1388767634_e56ef1c8619bfb3d3f1faa1bbb09caad_rle_crop_3992969063_0.png.png imagette277074621760109303/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c70834bde0f2a64fc394743b5cd647d0_3854532.png imagette277074611760109303 27707462 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=27707462 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277074621760109303 27707451 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=27707451 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767740: '1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968420_0.png', 1388767741: '1760108705_975744_1388764478_f00105367801c08e88675ccb05513769_rle_crop_3992968429_0.png', 1388768290: '1760109066_995276_1388767849_e32dcbd76102cde8af84220c7a8d5168_rle_crop_3992969951_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/2af42fd74918b39c4b136737494ab6c1_30726314.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/9ec90639e4d7b601d9c14a79c45e9fd8_53290470.png change filename to text .imagette277074511760109303/ imagette277074511760109303/1760109066_995276_1388767849_e32dcbd76102cde8af84220c7a8d5168_rle_crop_3992969951_0.png.png imagette277074511760109303/1760108705_975744_1388764478_f00105367801c08e88675ccb05513769_rle_crop_3992968429_0.png.png imagette277074511760109303/1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968420_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/4693d645121dbca002b5296124486c74_27561073.png imagette277074511760109303 27707453 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=27707453 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767739: '1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968416_0.png', 1388767816: '1760108826_982150_1388767093_793dda956867f0f9049c3d2a091dcd7f_rle_crop_3992969099_0.png', 1388768286: '1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969939_0.png', 1388768287: '1760109066_995276_1388767849_e32dcbd76102cde8af84220c7a8d5168_rle_crop_3992969946_0.png', 1388768288: '1760109066_995276_1388767847_dd55c081f12ca122c09947fcba1f43c2_rle_crop_3992969958_0.png', 1388768380: '1760109266_1003988_1388768274_43422775d7bacf891c4fe7ca829758b9_rle_crop_3992975679_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/ab2bbc6881025a84226649403ba0ffba_55507563.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f688a34354b316b30433104f7229f53c_97902282.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/ac5539e55b4d7bcc8f1e07875a5b9bef_15047719.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/53f65131d4dcbe282503a65a70baf1ce_47265616.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7b204638eb81bf078eb442cbc09f3141_64220687.png change filename to text .imagette277074531760109304/ imagette277074531760109304/1760109066_995276_1388767849_e32dcbd76102cde8af84220c7a8d5168_rle_crop_3992969946_0.png.png imagette277074531760109304/1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968416_0.png.png imagette277074531760109304/1760109266_1003988_1388768274_43422775d7bacf891c4fe7ca829758b9_rle_crop_3992975679_0.png.png imagette277074531760109304/1760109066_995276_1388767850_43438812adb4276deef9398d0d5b6b18_rle_crop_3992969939_0.png.png imagette277074531760109304/1760108826_982150_1388767093_793dda956867f0f9049c3d2a091dcd7f_rle_crop_3992969099_0.png.png imagette277074531760109304/1760109066_995276_1388767847_dd55c081f12ca122c09947fcba1f43c2_rle_crop_3992969958_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6b799a423e3feb0919456f339111ea06_60906221.png imagette277074531760109304 27707456 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=27707456 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388767735: '1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968415_0.png', 1388767736: '1760108705_975744_1388764478_f00105367801c08e88675ccb05513769_rle_crop_3992968430_0.png', 1388767814: '1760108826_982150_1388767096_e9d574a4bad1f5ab5bc9c050b5b68402_rle_crop_3992969078_0.png', 1388768260: '1760109024_992611_1388767853_584899244e6e38008e071d7721a2602d_rle_crop_3992969787_0.png', 1388768261: '1760109024_992611_1388767809_e7ae1be7e264692493b9b565fbae1834_rle_crop_3992969799_0.png', 1388768262: '1760109024_992611_1388767805_a11665ec265d906ea1331d57049c5a51_rle_crop_3992969816_0.png', 1388768263: '1760109024_992611_1388767805_a11665ec265d906ea1331d57049c5a51_rle_crop_3992969817_0.png', 1388768264: '1760109024_992611_1388767801_2c927478399f72898ed9606c4146cdfb_rle_crop_3992969831_0.png', 1388768265: '1760109024_992611_1388767796_e12e6b411d3f4fd42deb74e1744d8067_rle_crop_3992969847_0.png', 1388768266: '1760109024_992611_1388767796_e12e6b411d3f4fd42deb74e1744d8067_rle_crop_3992969846_0.png', 1388768280: '1760109066_995276_1388767847_dd55c081f12ca122c09947fcba1f43c2_rle_crop_3992969963_0.png', 1388768379: '1760109266_1003988_1388768275_899fe4c4e2f080ffcd5485331fcb437f_rle_crop_3992975670_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/a51a743252d1b2ed408bf6c05701661b_8310044.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3284be84aca25332bd92bcc8c81651b5_12187148.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d941d549d59a60b177cb076f5dd1596d_99837737.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/189872f7ba6f5206f3deb4c101be3ddd_52650549.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/a3b7b27cc41fdeada1267c6538c9d90d_14487741.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/ac3bb88382ab37a06aae7c57b219eef5_86705841.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/8542c341a31a2c2ddd3ce6ebf315e548_7208512.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/66f289d496028ac511324026c57ccd42_90222065.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/2f13d1c41c7e353eade5a429643507af_42714774.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/2400650e42ac7383f62fb0609ef6c5c9_19495543.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/042cbb43416f635d14d59389c28ded9f_31640020.png change filename to text .imagette277074561760109304/ imagette277074561760109304/1760109024_992611_1388767805_a11665ec265d906ea1331d57049c5a51_rle_crop_3992969816_0.png.png imagette277074561760109304/1760109266_1003988_1388768275_899fe4c4e2f080ffcd5485331fcb437f_rle_crop_3992975670_0.png.png imagette277074561760109304/1760108826_982150_1388767096_e9d574a4bad1f5ab5bc9c050b5b68402_rle_crop_3992969078_0.png.png imagette277074561760109304/1760109024_992611_1388767809_e7ae1be7e264692493b9b565fbae1834_rle_crop_3992969799_0.png.png imagette277074561760109304/1760109024_992611_1388767796_e12e6b411d3f4fd42deb74e1744d8067_rle_crop_3992969846_0.png.png imagette277074561760109304/1760108705_975744_1388764987_f6db6f73cb58a26beb5ffdc328b474a8_rle_crop_3992968415_0.png.png imagette277074561760109304/1760109024_992611_1388767805_a11665ec265d906ea1331d57049c5a51_rle_crop_3992969817_0.png.png imagette277074561760109304/1760109066_995276_1388767847_dd55c081f12ca122c09947fcba1f43c2_rle_crop_3992969963_0.png.png imagette277074561760109304/1760109024_992611_1388767853_584899244e6e38008e071d7721a2602d_rle_crop_3992969787_0.png.png imagette277074561760109304/1760108705_975744_1388764478_f00105367801c08e88675ccb05513769_rle_crop_3992968430_0.png.png imagette277074561760109304/1760109024_992611_1388767801_2c927478399f72898ed9606c4146cdfb_rle_crop_3992969831_0.png.png imagette277074561760109304/1760109024_992611_1388767796_e12e6b411d3f4fd42deb74e1744d8067_rle_crop_3992969847_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/daed80af1adf99c3d20a2e26b4a7016a_10204646.png imagette277074561760109304 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27707417 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27707466,27707467,27707468,27707469,27707470,27707471,27707472,27707473,27707474,27707475,27707476,27707477?tags=Carton_brun,plastique,Carton_gris,papier,autre_refus,Teint_Dans_La_Masse,cartonnette,environnement,metal,mal_croppe,kraft,flou your option no_mail is active, we will not send the real mail to your client args[1388768370] : ('0.046272346573838954',) no score found for photo 1388768370 We are sending mail with results at report@fotonower.com args[1388768364] : ('0.046272346573838954',) no score found for photo 1388768364 We are sending mail with results at report@fotonower.com args[1388768363] : ('0.046272346573838954',) no score found for photo 1388768363 We are sending mail with results at report@fotonower.com args[1388768360] : ('0.046272346573838954',) no score found for photo 1388768360 We are sending mail with results at report@fotonower.com args[1388768351] : ('0.046272346573838954',) no score found for photo 1388768351 We are sending mail with results at report@fotonower.com args[1388768348] : ('0.046272346573838954',) no score found for photo 1388768348 We are sending mail with results at report@fotonower.com args[1388768341] : ('0.046272346573838954',) no score found for photo 1388768341 We are sending mail with results at report@fotonower.com args[1388768339] : ('0.046272346573838954',) no score found for photo 1388768339 We are sending mail with results at report@fotonower.com args[1388768337] : ('0.046272346573838954',) no score found for photo 1388768337 We are sending mail with results at report@fotonower.com args[1388768336] : ('0.046272346573838954',) no score found for photo 1388768336 We are sending mail with results at report@fotonower.com args[1388768316] : ('0.046272346573838954',) no score found for photo 1388768316 We are sending mail with results at report@fotonower.com args[1388768312] : ('0.046272346573838954',) no score found for photo 1388768312 We are sending mail with results at report@fotonower.com args[1388768309] : ('0.046272346573838954',) no score found for photo 1388768309 We are sending mail with results at report@fotonower.com args[1388768305] : ('0.046272346573838954',) no score found for photo 1388768305 We are sending mail with results at report@fotonower.com refus_total : 0.046272346573838954 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=27707417 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_P27707417_10-10-2025_17_15_01.pdf results_Auto_P27707417_10-10-2025_17_15_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_10-10-2025_17_15_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','27707417','results_Auto_P27707417_10-10-2025_17_15_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_10-10-2025_17_15_01.pdf','pdf','','0.28','0.046272346573838954') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27707417]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] map_info['map_portfolio_photo'] : {27707417: [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305, 1388768300, 1388768277, 1388768275, 1388768274, 1388768272, 1388768249, 1388768244, 1388767991, 1388767896, 1388767879, 1388767875, 1388767871, 1388767869, 1388767867, 1388767853, 1388767850, 1388767849, 1388767847, 1388767812, 1388767809, 1388767805, 1388767801, 1388767796, 1388767766, 1388767763, 1388767760, 1388767758, 1388767757, 1388767755, 1388767731, 1388767728, 1388767726, 1388767722, 1388767712, 1388767709, 1388767686, 1388767682, 1388767674, 1388767672, 1388767634, 1388767591, 1388767589, 1388767540, 1388767142, 1388767096, 1388767093, 1388767080, 1388766849, 1388766840, 1388765836, 1388764987, 1388764478]} final : False mtd_id 4302 list_pids : [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] 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, '3925503') ('4302', '27707417', '1388768370', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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', '27707417', '1388768370', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503')] time used for this insertion : 0.03716921806335449 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.011856317520142 time spend to save output : 0.037415266036987305 total time spend for step 4 : 6.049271583557129 step5:split_time_score Fri Oct 10 17:15:07 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 : ['27707417'] 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 : [('27707417',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27707417) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388768364: {'path': 'temp/1760109301_768245_1388768364_02d296fb6ba5192b303266457b604702.jpg', 'extension': 'jpg'}, 1388768370: {'path': 'temp/1760109301_768245_1388768370_321bef0ba45040f8dcc4caaf4892b079.jpg', 'extension': 'jpg'}, 1388768316: {'path': 'temp/1760109301_768245_1388768316_30803ff4a5a5379ee2b76489ed98efd8.jpg', 'extension': 'jpg'}, 1388768336: {'path': 'temp/1760109301_768245_1388768336_ef838836fc49570e0f08774f8e0cc37a.jpg', 'extension': 'jpg'}, 1388768337: {'path': 'temp/1760109301_768245_1388768337_87c05ee81abb3f037139cd67d7c3da08.jpg', 'extension': 'jpg'}, 1388768351: {'path': 'temp/1760109301_768245_1388768351_ef80aa101ce1a9e26fa768aea83dd0a1.jpg', 'extension': 'jpg'}, 1388768360: {'path': 'temp/1760109301_768245_1388768360_67d1e2160a96147874763abcbd118fa0.jpg', 'extension': 'jpg'}, 1388768363: {'path': 'temp/1760109301_768245_1388768363_19992aaba8d6576004b9b4a86acd35c3.jpg', 'extension': 'jpg'}, 1388768305: {'path': 'temp/1760109301_768245_1388768305_0d58b257b8495730fee430eb43269ba4.jpg', 'extension': 'jpg'}, 1388768309: {'path': 'temp/1760109301_768245_1388768309_b868a175370c58841a97efdc9f170f82.jpg', 'extension': 'jpg'}, 1388768312: {'path': 'temp/1760109301_768245_1388768312_cded016e85d0910e0651df91e541cdac.jpg', 'extension': 'jpg'}, 1388768339: {'path': 'temp/1760109301_768245_1388768339_6af659d78077bc1ca5242c2474cda574.jpg', 'extension': 'jpg'}, 1388768341: {'path': 'temp/1760109301_768245_1388768341_dc0d75d4a94cfd2d81892c324d43b653.jpg', 'extension': 'jpg'}, 1388768348: {'path': 'temp/1760109301_768245_1388768348_c662a499d630f7daa296643060418519.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 = 27707417; (('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 = 27707417 group by h (('17', 66),) 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=27707417 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 (27707417) 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 (27707417) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10102025 27707417 Nombre de photos uploadées : 66 / 23040 (0%) 10102025 27707417 Nombre de photos taguées (types de déchets): 0 / 66 (0%) 10102025 27707417 Nombre de photos taguées (volume) : 0 / 66 (0%) [{'photo_id': 1388765836, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/b7b61e039abe2dd64c752636545c98ab.jpg', 'username': None, 'uploaded_at': 1760108468, 'text': 'image_10102025_17_00_23_9126.jpg'}, {'photo_id': 1388764987, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f6db6f73cb58a26beb5ffdc328b474a8.jpg', 'username': None, 'uploaded_at': 1760108468, 'text': 'image_10102025_17_00_33_10135.jpg'}, {'photo_id': 1388764478, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f00105367801c08e88675ccb05513769.jpg', 'username': None, 'uploaded_at': 1760108468, 'text': 'image_10102025_17_00_43_10135.jpg'}, {'photo_id': 1388767142, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/80104effa1af67ae361b761b302b7cb4.jpg', 'username': None, 'uploaded_at': 1760108528, 'text': 'image_10102025_17_00_54_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 1.3113021850585938e-05 ?????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003210783004760742 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27707417, '2025-10-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-10' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2422953,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6631588935852051 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= 2422953 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27666971, 'dashboard_result_id': 16264851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_10-10-2025_00_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666983, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27667157, 'dashboard_result_id': 16264852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_10-10-2025_00_35_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27667171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667182, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27667353, 'dashboard_result_id': 16264853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667382, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27667763, 'dashboard_result_id': 16264854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_10-10-2025_01_09_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667799, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27669114, 'dashboard_result_id': 16264855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_10-10-2025_01_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669131, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27669527, 'dashboard_result_id': 16264856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_10-10-2025_02_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669545, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27669761, 'dashboard_result_id': 16264857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_10-10-2025_02_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669783, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27670150, 'dashboard_result_id': 16264858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_10-10-2025_02_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670184, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27670480, 'dashboard_result_id': 16264859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_10-10-2025_02_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670516, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27671021, 'dashboard_result_id': 16264860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_10-10-2025_03_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671093, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27671793, 'dashboard_result_id': 16264861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_10-10-2025_03_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671853, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27672121, 'dashboard_result_id': 16264862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_10-10-2025_03_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27672165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672182, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27672595, 'dashboard_result_id': 16264863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_10-10-2025_03_49_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27672608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672619, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27673065, 'dashboard_result_id': 16264864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_10-10-2025_04_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27673089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673100, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27673457, 'dashboard_result_id': 16264865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_10-10-2025_08_59_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27673514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673525, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27674810, 'dashboard_result_id': 16264866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_10-10-2025_05_17_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674834, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27674953, 'dashboard_result_id': 16264867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_10-10-2025_05_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674970, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27675098, 'dashboard_result_id': 16264868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_10-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675110, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27675322, 'dashboard_result_id': 16264869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_10-10-2025_06_03_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27675355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675366, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27675658, 'dashboard_result_id': 16264870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_10-10-2025_06_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675675, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27676092, 'dashboard_result_id': 16264871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_10-10-2025_06_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676126, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27676554, 'dashboard_result_id': 16264872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_10-10-2025_06_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676577, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27677013, 'dashboard_result_id': 16264873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_10-10-2025_07_03_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677042, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27677631, 'dashboard_result_id': 16264874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_10-10-2025_07_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677664, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27678439, 'dashboard_result_id': 16264876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_10-10-2025_07_33_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27678499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27678500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27678501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27678502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27678503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27678504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27678505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27678506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27678507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27678508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27678509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27678510, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27679073, 'dashboard_result_id': 16264877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_10-10-2025_07_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27679115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679118, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27679739, 'dashboard_result_id': 16264878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_10-10-2025_08_03_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27680367, 'dashboard_result_id': 16264879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_10-10-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27680436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27680437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27680439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27680440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27680441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27680444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27680445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27680446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27680447, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27681074, 'dashboard_result_id': 16264880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_10-10-2025_08_33_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27681711, 'dashboard_result_id': 16264882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_10-10-2025_08_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27682395, 'dashboard_result_id': 16264883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27686379, 'dashboard_result_id': 16264884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27687081, 'dashboard_result_id': 16264885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27687822, 'dashboard_result_id': 16264887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27688928, 'dashboard_result_id': 16264888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27689833, 'dashboard_result_id': 16264889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27690741, 'dashboard_result_id': 16264890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27691357, 'dashboard_result_id': 16264891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27692247, 'dashboard_result_id': 16264893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27693351, 'dashboard_result_id': 16264894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27694033, 'dashboard_result_id': 16264895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27694826, 'dashboard_result_id': 16264896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27697987, 'dashboard_result_id': 16264897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27698447, 'dashboard_result_id': 16264898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27699039, 'dashboard_result_id': 16264899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27699828, 'dashboard_result_id': 16264900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_35_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27700422, 'dashboard_result_id': 16264901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_10-10-2025_14_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27700470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27700471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27700472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27700473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27700474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27700475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27700476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27700477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27700478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27700479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27700480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27700481, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27701019, 'dashboard_result_id': 16264902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_10-10-2025_15_03_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27701026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701036, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27701753, 'dashboard_result_id': 16264903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_10-10-2025_15_17_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27701814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701825, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27702479, 'dashboard_result_id': 16264904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_10-10-2025_15_33_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27702545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27702546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27702547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27702548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27702549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27702550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27702551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27702552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27702553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27702554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27702555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27702556, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27703133, 'dashboard_result_id': 16264905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_10-10-2025_15_49_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27703147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703156, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27703945, 'dashboard_result_id': 16264906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_10-10-2025_16_03_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27703950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703961, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27704550, 'dashboard_result_id': 16264907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_10-10-2025_16_17_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27704568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27704569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27704570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27704571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27704572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27704573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27704574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27704575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27704576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27704577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27704578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27704579, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27705266, 'dashboard_result_id': 16264908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_10-10-2025_16_32_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27705312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27705313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27705314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27705315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27705316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27705317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27705318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27705319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27705320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27705321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27705322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27705323, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27706045, 'dashboard_result_id': 16264909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_10-10-2025_16_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706076, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27706853, 'dashboard_result_id': 16264910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_10-10-2025_17_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706890, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2433935, 'mtr_portfolio_id': 27707417, 'dashboard_result_id': 16264911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_10-10-2025_17_11_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27707451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27707452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27707453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27707454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27707455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27707456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27707457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27707458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27707459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27707460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27707461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27707462, '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 = 27666971 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 = 27666971 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 = 27666971 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666971 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 = 27666971 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 = 27666971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_10-10-2025_00_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27666971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_10-10-2025_00_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666983, 'pht': 3726}}" where mtr_portfolio_id = 27666971 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 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 = 27667157 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 = 27667157 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 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 = 27667157 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 = 27667157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_10-10-2025_00_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_10-10-2025_00_35_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27667171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667182, 'pht': 3726}}" where mtr_portfolio_id = 27667157 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667353 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 = 27667353 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 = 27667353 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667353 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 = 27667353 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 = 27667353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667382, 'pht': 3726}}" where mtr_portfolio_id = 27667353 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 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 = 27667763 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 = 27667763 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 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 = 27667763 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 = 27667763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_10-10-2025_01_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_10-10-2025_01_09_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667799, 'pht': 3726}}" where mtr_portfolio_id = 27667763 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 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 = 27669114 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 = 27669114 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 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 = 27669114 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 = 27669114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_10-10-2025_01_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_10-10-2025_01_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669131, 'pht': 3726}}" where mtr_portfolio_id = 27669114 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 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 = 27669527 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 = 27669527 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 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 = 27669527 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 = 27669527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_10-10-2025_02_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_10-10-2025_02_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669545, 'pht': 3726}}" where mtr_portfolio_id = 27669527 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 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 = 27669761 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 = 27669761 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 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 = 27669761 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 = 27669761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_10-10-2025_02_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_10-10-2025_02_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669783, 'pht': 3726}}" where mtr_portfolio_id = 27669761 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 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 = 27670150 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 = 27670150 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 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 = 27670150 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 = 27670150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_10-10-2025_02_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27670150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_10-10-2025_02_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670184, 'pht': 3726}}" where mtr_portfolio_id = 27670150 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 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 = 27670480 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 = 27670480 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 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 = 27670480 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 = 27670480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_10-10-2025_02_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27670480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_10-10-2025_02_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670516, 'pht': 3726}}" where mtr_portfolio_id = 27670480 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 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 = 27671021 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 = 27671021 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 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 = 27671021 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 = 27671021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_10-10-2025_03_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27671021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_10-10-2025_03_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671093, 'pht': 3726}}" where mtr_portfolio_id = 27671021 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 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 = 27671793 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 = 27671793 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 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 = 27671793 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 = 27671793 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_10-10-2025_03_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27671793 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_10-10-2025_03_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671853, 'pht': 3726}}" where mtr_portfolio_id = 27671793 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 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 = 27672121 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 = 27672121 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 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 = 27672121 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 = 27672121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_10-10-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27672121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_10-10-2025_03_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27672165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672182, 'pht': 3726}}" where mtr_portfolio_id = 27672121 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 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 = 27672595 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 = 27672595 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 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 = 27672595 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 = 27672595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_10-10-2025_03_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27672595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_10-10-2025_03_49_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27672608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672619, 'pht': 3726}}" where mtr_portfolio_id = 27672595 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 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 = 27673065 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 = 27673065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 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 = 27673065 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 = 27673065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_10-10-2025_04_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27673065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_10-10-2025_04_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27673089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673100, 'pht': 3726}}" where mtr_portfolio_id = 27673065 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 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 = 27673457 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 = 27673457 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 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 = 27673457 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 = 27673457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_10-10-2025_08_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27673457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_10-10-2025_08_59_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27673514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673525, 'pht': 3726}}" where mtr_portfolio_id = 27673457 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 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 = 27674810 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 = 27674810 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 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 = 27674810 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 = 27674810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_10-10-2025_05_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27674810 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_10-10-2025_05_17_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674834, 'pht': 3726}}" where mtr_portfolio_id = 27674810 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 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 = 27674953 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 = 27674953 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 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 = 27674953 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 = 27674953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_10-10-2025_05_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27674953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_10-10-2025_05_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674970, 'pht': 3726}}" where mtr_portfolio_id = 27674953 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 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 = 27675098 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 = 27675098 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 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 = 27675098 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 = 27675098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_10-10-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_10-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675110, 'pht': 3726}}" where mtr_portfolio_id = 27675098 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 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 = 27675322 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 = 27675322 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 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 = 27675322 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 = 27675322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_10-10-2025_06_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_10-10-2025_06_03_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27675355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675366, 'pht': 3726}}" where mtr_portfolio_id = 27675322 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 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 = 27675658 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 = 27675658 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 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 = 27675658 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 = 27675658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_10-10-2025_06_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_10-10-2025_06_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675675, 'pht': 3726}}" where mtr_portfolio_id = 27675658 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 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 = 27676092 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 = 27676092 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 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 = 27676092 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 = 27676092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_10-10-2025_06_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27676092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_10-10-2025_06_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676126, 'pht': 3726}}" where mtr_portfolio_id = 27676092 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 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 = 27676554 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 = 27676554 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 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 = 27676554 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 = 27676554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_10-10-2025_06_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27676554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_10-10-2025_06_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676577, 'pht': 3726}}" where mtr_portfolio_id = 27676554 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 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 = 27677013 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 = 27677013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 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 = 27677013 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 = 27677013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_10-10-2025_07_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27677013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_10-10-2025_07_03_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677042, 'pht': 3726}}" where mtr_portfolio_id = 27677013 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 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 = 27677631 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 = 27677631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 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 = 27677631 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 = 27677631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_10-10-2025_07_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27677631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_10-10-2025_07_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677664, 'pht': 3726}}" where mtr_portfolio_id = 27677631 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 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 = 27678439 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 = 27678439 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 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 = 27678439 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 = 27678439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_10-10-2025_07_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27678439 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_10-10-2025_07_33_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27678499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27678500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27678501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27678502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27678503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27678504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27678505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27678506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27678507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27678508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27678509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27678510, 'pht': 3726}}" where mtr_portfolio_id = 27678439 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 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 = 27679073 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 = 27679073 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 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 = 27679073 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 = 27679073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_10-10-2025_07_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27679073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_10-10-2025_07_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27679115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679118, 'pht': 3726}}" where mtr_portfolio_id = 27679073 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679739 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 = 27679739 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 = 27679739 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679739 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 = 27679739 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 = 27679739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_10-10-2025_08_03_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27679739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_10-10-2025_08_03_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}" where mtr_portfolio_id = 27679739 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 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 = 27680367 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 = 27680367 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 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 = 27680367 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 = 27680367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_10-10-2025_08_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27680367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_10-10-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27680436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27680437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27680439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27680440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27680441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27680444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27680445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27680446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27680447, 'pht': 3726}}" where mtr_portfolio_id = 27680367 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681074 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 = 27681074 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 = 27681074 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681074 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 = 27681074 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 = 27681074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_10-10-2025_08_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27681074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_10-10-2025_08_33_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}" where mtr_portfolio_id = 27681074 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681711 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 = 27681711 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 = 27681711 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681711 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 = 27681711 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 = 27681711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_10-10-2025_08_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27681711 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_10-10-2025_08_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}" where mtr_portfolio_id = 27681711 and dashboard_run_id = 2433935 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27682395 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': 3922226, 'mtr_portfolio_id': 27682395, 'created_at': datetime.datetime(2025, 10, 10, 9, 35, 3), 'result': '0.05093620852317313', 'result_long': None, 'result_double': None}] Qualite : 0.05093620852317313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27682395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27682395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}" where mtr_portfolio_id = 27682395 and dashboard_run_id = 2433935 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`=27682395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264883, 0.05093620852317313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, '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 = 27686379 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': 3922860, 'mtr_portfolio_id': 27686379, 'created_at': datetime.datetime(2025, 10, 10, 9, 49, 1), 'result': '0.0671675892707798', 'result_long': None, 'result_double': None}] Qualite : 0.0671675892707798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27686379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27686379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}" where mtr_portfolio_id = 27686379 and dashboard_run_id = 2433935 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`=27686379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264884, 0.0671675892707798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, '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 = 27687081 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': 3922901, 'mtr_portfolio_id': 27687081, 'created_at': datetime.datetime(2025, 10, 10, 10, 3, 2), 'result': '0.047106998822027915', 'result_long': None, 'result_double': None}] Qualite : 0.047106998822027915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27687081 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27687081 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}" where mtr_portfolio_id = 27687081 and dashboard_run_id = 2433935 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`=27687081 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264885, 0.047106998822027915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, '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 = 27687822 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': 3923016, 'mtr_portfolio_id': 27687822, 'created_at': datetime.datetime(2025, 10, 10, 10, 19, 35), 'result': '0.031241604936260284', 'result_long': None, 'result_double': None}] Qualite : 0.031241604936260284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27687822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27687822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}" where mtr_portfolio_id = 27687822 and dashboard_run_id = 2433935 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`=27687822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264887, 0.031241604936260284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, '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 = 27688928 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': 3923115, 'mtr_portfolio_id': 27688928, 'created_at': datetime.datetime(2025, 10, 10, 10, 33), 'result': '0.023357517045145725', 'result_long': None, 'result_double': None}] Qualite : 0.023357517045145725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27688928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27688928 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}" where mtr_portfolio_id = 27688928 and dashboard_run_id = 2433935 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`=27688928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264888, 0.023357517045145725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, '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 = 27689833 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': 3923210, 'mtr_portfolio_id': 27689833, 'created_at': datetime.datetime(2025, 10, 10, 10, 49, 3), 'result': '0.05722553975567967', 'result_long': None, 'result_double': None}] Qualite : 0.05722553975567967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27689833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27689833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}" where mtr_portfolio_id = 27689833 and dashboard_run_id = 2433935 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`=27689833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264889, 0.05722553975567967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, '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 = 27690741 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': 3923323, 'mtr_portfolio_id': 27690741, 'created_at': datetime.datetime(2025, 10, 10, 11, 3, 37), 'result': '0.05831584149214072', 'result_long': None, 'result_double': None}] Qualite : 0.05831584149214072 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27690741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27690741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}" where mtr_portfolio_id = 27690741 and dashboard_run_id = 2433935 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`=27690741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264890, 0.05831584149214072, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, '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 = 27691357 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': 3923420, 'mtr_portfolio_id': 27691357, 'created_at': datetime.datetime(2025, 10, 10, 11, 17), 'result': '0.03972928927951662', 'result_long': None, 'result_double': None}] Qualite : 0.03972928927951662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27691357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}" where mtr_portfolio_id = 27691357 and dashboard_run_id = 2433935 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`=27691357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264891, 0.03972928927951662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, '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 = 27692247 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': 3923559, 'mtr_portfolio_id': 27692247, 'created_at': datetime.datetime(2025, 10, 10, 11, 33, 28), 'result': '0.04459014050814632', 'result_long': None, 'result_double': None}] Qualite : 0.04459014050814632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27692247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27692247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}" where mtr_portfolio_id = 27692247 and dashboard_run_id = 2433935 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`=27692247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264893, 0.04459014050814632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, '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 = 27693351 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': 3923699, 'mtr_portfolio_id': 27693351, 'created_at': datetime.datetime(2025, 10, 10, 11, 47, 3), 'result': '0.04781893818467602', 'result_long': None, 'result_double': None}] Qualite : 0.04781893818467602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27693351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27693351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}" where mtr_portfolio_id = 27693351 and dashboard_run_id = 2433935 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`=27693351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264894, 0.04781893818467602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, '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 = 27694033 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': 3923771, 'mtr_portfolio_id': 27694033, 'created_at': datetime.datetime(2025, 10, 10, 12, 3, 4), 'result': '0.04251831903522039', 'result_long': None, 'result_double': None}] Qualite : 0.04251831903522039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27694033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27694033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}" where mtr_portfolio_id = 27694033 and dashboard_run_id = 2433935 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`=27694033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264895, 0.04251831903522039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, '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 = 27694826 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': 3923895, 'mtr_portfolio_id': 27694826, 'created_at': datetime.datetime(2025, 10, 10, 14, 1, 6), 'result': '0.05422219153235668', 'result_long': None, 'result_double': None}] Qualite : 0.05422219153235668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27694826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27694826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}" where mtr_portfolio_id = 27694826 and dashboard_run_id = 2433935 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`=27694826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264896, 0.05422219153235668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, '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 = 27697987 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': 3924159, 'mtr_portfolio_id': 27697987, 'created_at': datetime.datetime(2025, 10, 10, 13, 47, 3), 'result': '0.07380589665902719', 'result_long': None, 'result_double': None}] Qualite : 0.07380589665902719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27697987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27697987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}" where mtr_portfolio_id = 27697987 and dashboard_run_id = 2433935 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`=27697987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264897, 0.07380589665902719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, '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 = 27698447 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': 3924192, 'mtr_portfolio_id': 27698447, 'created_at': datetime.datetime(2025, 10, 10, 14, 3, 1), 'result': '0.036185879976980105', 'result_long': None, 'result_double': None}] Qualite : 0.036185879976980105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27698447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27698447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}" where mtr_portfolio_id = 27698447 and dashboard_run_id = 2433935 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`=27698447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264898, 0.036185879976980105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, '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 = 27699039 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': 3924267, 'mtr_portfolio_id': 27699039, 'created_at': datetime.datetime(2025, 10, 10, 14, 17, 3), 'result': '0.046688650108691776', 'result_long': None, 'result_double': None}] Qualite : 0.046688650108691776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27699039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27699039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}" where mtr_portfolio_id = 27699039 and dashboard_run_id = 2433935 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`=27699039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264899, 0.046688650108691776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, '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 = 27699828 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': 3924363, 'mtr_portfolio_id': 27699828, 'created_at': datetime.datetime(2025, 10, 10, 14, 35, 3), 'result': '0.06824397752910587', 'result_long': None, 'result_double': None}] Qualite : 0.06824397752910587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27699828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27699828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_35_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, 'pht': 3726}}" where mtr_portfolio_id = 27699828 and dashboard_run_id = 2433935 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`=27699828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264900, 0.06824397752910587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_35_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, '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 = 27700422 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': 3924466, 'mtr_portfolio_id': 27700422, 'created_at': datetime.datetime(2025, 10, 10, 14, 47, 30), 'result': '0.05758933072658284', 'result_long': None, 'result_double': None}] Qualite : 0.05758933072658284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27700422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_10-10-2025_14_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27700422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_10-10-2025_14_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27700470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27700471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27700472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27700473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27700474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27700475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27700476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27700477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27700478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27700479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27700480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27700481, 'pht': 3726}}" where mtr_portfolio_id = 27700422 and dashboard_run_id = 2433935 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`=27700422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264901, 0.05758933072658284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_10-10-2025_14_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27700470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27700471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27700472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27700473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27700474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27700475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27700476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27700477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27700478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27700479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27700480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27700481, '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 = 27701019 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': 3924532, 'mtr_portfolio_id': 27701019, 'created_at': datetime.datetime(2025, 10, 10, 15, 3, 4), 'result': '0.06564433082554484', 'result_long': None, 'result_double': None}] Qualite : 0.06564433082554484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27701019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_10-10-2025_15_03_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27701019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_10-10-2025_15_03_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27701026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701036, 'pht': 3726}}" where mtr_portfolio_id = 27701019 and dashboard_run_id = 2433935 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`=27701019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264902, 0.06564433082554484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_10-10-2025_15_03_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27701026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701036, '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 = 27701753 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': 3924648, 'mtr_portfolio_id': 27701753, 'created_at': datetime.datetime(2025, 10, 10, 15, 17, 5), 'result': '0.05041905654603512', 'result_long': None, 'result_double': None}] Qualite : 0.05041905654603512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27701753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_10-10-2025_15_17_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27701753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_10-10-2025_15_17_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27701814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701825, 'pht': 3726}}" where mtr_portfolio_id = 27701753 and dashboard_run_id = 2433935 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`=27701753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264903, 0.05041905654603512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_10-10-2025_15_17_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27701814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701825, '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 = 27702479 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': 3924742, 'mtr_portfolio_id': 27702479, 'created_at': datetime.datetime(2025, 10, 10, 15, 33, 32), 'result': '0.06841060352073991', 'result_long': None, 'result_double': None}] Qualite : 0.06841060352073991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27702479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_10-10-2025_15_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27702479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_10-10-2025_15_33_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27702545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27702546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27702547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27702548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27702549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27702550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27702551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27702552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27702553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27702554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27702555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27702556, 'pht': 3726}}" where mtr_portfolio_id = 27702479 and dashboard_run_id = 2433935 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`=27702479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264904, 0.06841060352073991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_10-10-2025_15_33_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27702545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27702546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27702547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27702548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27702549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27702550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27702551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27702552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27702553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27702554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27702555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27702556, '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 = 27703133 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': 3924862, 'mtr_portfolio_id': 27703133, 'created_at': datetime.datetime(2025, 10, 10, 15, 49, 31), 'result': '0.04771114182171307', 'result_long': None, 'result_double': None}] Qualite : 0.04771114182171307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27703133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_10-10-2025_15_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27703133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_10-10-2025_15_49_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27703147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703156, 'pht': 3726}}" where mtr_portfolio_id = 27703133 and dashboard_run_id = 2433935 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`=27703133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264905, 0.04771114182171307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_10-10-2025_15_49_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27703147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703156, '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 = 27703945 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': 3924982, 'mtr_portfolio_id': 27703945, 'created_at': datetime.datetime(2025, 10, 10, 16, 3, 6), 'result': '0.05680454136614596', 'result_long': None, 'result_double': None}] Qualite : 0.05680454136614596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27703945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_10-10-2025_16_03_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27703945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_10-10-2025_16_03_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27703950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703961, 'pht': 3726}}" where mtr_portfolio_id = 27703945 and dashboard_run_id = 2433935 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`=27703945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264906, 0.05680454136614596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_10-10-2025_16_03_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27703950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703961, '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 = 27704550 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': 3925066, 'mtr_portfolio_id': 27704550, 'created_at': datetime.datetime(2025, 10, 10, 16, 17, 32), 'result': '0.06663502109561086', 'result_long': None, 'result_double': None}] Qualite : 0.06663502109561086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27704550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_10-10-2025_16_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27704550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_10-10-2025_16_17_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27704568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27704569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27704570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27704571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27704572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27704573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27704574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27704575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27704576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27704577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27704578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27704579, 'pht': 3726}}" where mtr_portfolio_id = 27704550 and dashboard_run_id = 2433935 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`=27704550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264907, 0.06663502109561086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_10-10-2025_16_17_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27704568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27704569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27704570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27704571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27704572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27704573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27704574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27704575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27704576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27704577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27704578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27704579, '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 = 27705266 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': 3925167, 'mtr_portfolio_id': 27705266, 'created_at': datetime.datetime(2025, 10, 10, 16, 32, 32), 'result': '0.022343852152658134', 'result_long': None, 'result_double': None}] Qualite : 0.022343852152658134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27705266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_10-10-2025_16_32_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27705266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_10-10-2025_16_32_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27705312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27705313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27705314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27705315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27705316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27705317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27705318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27705319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27705320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27705321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27705322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27705323, 'pht': 3726}}" where mtr_portfolio_id = 27705266 and dashboard_run_id = 2433935 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`=27705266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264908, 0.022343852152658134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_10-10-2025_16_32_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27705312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27705313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27705314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27705315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27705316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27705317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27705318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27705319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27705320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27705321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27705322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27705323, '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 = 27706045 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': 3925289, 'mtr_portfolio_id': 27706045, 'created_at': datetime.datetime(2025, 10, 10, 16, 49, 2), 'result': '0.048170254153113844', 'result_long': None, 'result_double': None}] Qualite : 0.048170254153113844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27706045 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_10-10-2025_16_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27706045 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_10-10-2025_16_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706076, 'pht': 3726}}" where mtr_portfolio_id = 27706045 and dashboard_run_id = 2433935 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`=27706045 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264909, 0.048170254153113844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_10-10-2025_16_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706076, '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 = 27706853 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': 3925407, 'mtr_portfolio_id': 27706853, 'created_at': datetime.datetime(2025, 10, 10, 17, 3, 30), 'result': '0.04669425880554652', 'result_long': None, 'result_double': None}] Qualite : 0.04669425880554652 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27706853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_10-10-2025_17_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27706853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_10-10-2025_17_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706890, 'pht': 3726}}" where mtr_portfolio_id = 27706853 and dashboard_run_id = 2433935 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`=27706853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264910, 0.04669425880554652, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_10-10-2025_17_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706890, '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 = 27707417 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': 3925503, 'mtr_portfolio_id': 27707417, 'created_at': datetime.datetime(2025, 10, 10, 17, 15), 'result': '0.046272346573838954', 'result_long': None, 'result_double': None}] Qualite : 0.046272346573838954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27707417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_10-10-2025_17_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27707417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_10-10-2025_17_15_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27707451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27707452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27707453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27707454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27707455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27707456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27707457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27707458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27707459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27707460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27707461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27707462, 'pht': 3726}}" where mtr_portfolio_id = 27707417 and dashboard_run_id = 2433935 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`=27707417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16264911, 0.046272346573838954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_10-10-2025_17_15_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27707451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27707452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27707453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27707454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27707455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27707456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27707457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27707458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27707459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27707460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27707461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27707462, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27666971,27667157,27667353,27667763,27669114,27669527,27669761,27670150,27670480,27671021,27671793,27672121,27672595,27673065,27673457,27674810,27674953,27675098,27675322,27675658,27676092,27676554,27677013,27677631,27678439,27679073,27679739,27680367,27681074,27681711,27682395,27686379,27687081,27687822,27688928,27689833,27690741,27691357,27692247,27693351,27694033,27694826,27697987,27698447,27699039,27699828,27700422,27701019,27701753,27702479,27703133,27703945,27704550,27705266,27706045,27706853,27707417) result : ((1388576303,), (1388576306,), (1388576309,), (1388576313,), (1388576457,), (1388576597,), (1388576598,), (1388576601,), (1388576613,), (1388576617,), (1388576621,), (1388576624,), (1388576627,), (1388576630,), (1388576637,), (1388576639,), (1388576640,), (1388576643,), (1388576645,), (1388576646,), (1388576659,), (1388576660,), (1388576661,), (1388576663,), (1388576860,), (1388576902,), (1388576957,), (1388576960,), (1388576964,), (1388577094,), (1388577096,), (1388577098,), (1388577110,), (1388577156,), (1388577168,), (1388577170,), (1388577171,), (1388577174,), (1388577188,), (1388577189,), (1388577191,), (1388577195,), (1388577200,), (1388577204,), (1388577214,), (1388577216,), (1388577219,), (1388577222,), (1388577224,), (1388577227,), (1388577230,), (1388577231,), (1388577237,), (1388577238,), (1388577240,), (1388577247,), (1388577250,), (1388577252,), (1388577254,), (1388577399,), (1388577443,), (1388577490,), (1388577535,), (1388577724,), (1388577727,), (1388577732,), (1388577778,), (1388577824,), (1388577908,), (1388577898,), (1388577899,), (1388577903,), (1388577915,), (1388577918,), (1388577921,), (1388577933,), (1388577934,), (1388577936,), (1388577939,), (1388577941,), (1388577960,), (1388577962,), (1388577964,), (1388577967,), (1388577969,), (1388578143,), (1388578189,), (1388578234,), (1388578285,), (1388578331,), (1388578550,), (1388578551,), (1388578553,), (1388578555,), (1388578728,), (1388578773,), (1388578819,), (1388578846,), (1388578849,), (1388578852,), (1388578927,), (1388578928,), (1388578930,), (1388578932,), (1388578935,), (1388578939,), (1388578991,), (1388579078,), (1388579080,), (1388579082,), (1388579086,), (1388579097,), (1388579099,), (1388579101,), (1388579105,), (1388579115,), (1388579117,), (1388579119,), (1388579125,), (1388579138,), (1388579140,), (1388579143,), (1388579147,), (1388579150,), (1388579161,), (1388579163,), (1388579166,), (1388579178,), (1388579180,), (1388579182,), (1388579185,), (1388579188,), (1388579202,), (1388579223,), (1388579269,), (1388579322,), (1388579370,), (1388579422,), (1388579843,), (1388579846,), (1388579848,), (1388580398,), (1388580399,), (1388580401,), (1388580403,), (1388580405,), (1388580544,), (1388580548,), (1388580557,), (1388580560,), (1388579824,), (1388579837,), (1388579840,), (1388580139,), (1388580142,), (1388580184,), (1388580204,), (1388580206,), (1388580234,), (1388580356,), (1388580450,), (1388580451,), (1388580495,), (1388580497,), (1388580539,), (1388580542,), (1388580565,), (1388580568,), (1388580570,), (1388580588,), (1388580590,), (1388580591,), (1388580593,), (1388580596,), (1388580606,), (1388580608,), (1388580613,), (1388580618,), (1388580621,), (1388580748,), (1388580786,), (1388580789,), (1388580793,), (1388580936,), (1388580938,), (1388580941,), (1388580944,), (1388580948,), (1388580951,), (1388580958,), (1388580960,), (1388580976,), (1388580978,), (1388580980,), (1388580984,), (1388580988,), (1388580993,), (1388580995,), (1388580997,), (1388581001,), (1388581004,), (1388581008,), (1388581014,), (1388581018,), (1388581059,), (1388581105,), (1388581296,), (1388581297,), (1388581298,), (1388581396,), (1388581398,), (1388581401,), (1388581404,), (1388581407,), (1388581414,), (1388581416,), (1388581418,), (1388581424,), (1388581429,), (1388581431,), (1388581443,), (1388581440,), (1388581442,), (1388581456,), (1388581458,), (1388581459,), (1388581462,), (1388581466,), (1388581469,), (1388581475,), (1388581477,), (1388581479,), (1388581483,), (1388581486,), (1388581489,), (1388581497,), (1388581499,), (1388581501,), (1388581515,), (1388581517,), (1388581518,), (1388581521,), (1388581524,), (1388581534,), (1388581536,), (1388581538,), (1388581540,), (1388581544,), (1388581708,), (1388581714,), (1388581740,), (1388581745,), (1388581775,), (1388581777,), (1388581781,), (1388581783,), (1388581784,), (1388581786,), (1388581788,), (1388581790,), (1388581793,), (1388581796,), (1388581799,), (1388581807,), (1388581811,), (1388581815,), (1388581820,), (1388581823,), (1388581825,), (1388581844,), (1388581847,), (1388581850,), (1388581853,), (1388581856,), (1388581971,), (1388582011,), (1388582073,), (1388582117,), (1388582646,), (1388582689,), (1388582733,), (1388582785,), (1388582844,), (1388582912,), (1388583320,), (1388583368,), (1388583414,), (1388583458,), (1388583504,), (1388583530,), (1388583539,), (1388583541,), (1388583545,), (1388584852,), (1388587460,), (1388587608,), (1388587639,), (1388587652,), (1388587654,), (1388587656,), (1388587673,), (1388587675,), (1388587676,), (1388587679,), (1388587692,), (1388587694,), (1388587696,), (1388587700,), (1388587703,), (1388587708,), (1388587710,), (1388587712,), (1388587716,), (1388587880,), (1388587882,), (1388587904,), (1388587961,), (1388587963,), (1388587965,), (1388587969,), (1388587972,), (1388587983,), (1388587984,), (1388587985,), (1388587988,), (1388588002,), (1388588004,), (1388588006,), (1388588009,), (1388588023,), (1388588024,), (1388588025,), (1388588196,), (1388588198,), (1388588218,), (1388588227,), (1388588248,), (1388588266,), (1388588270,), (1388588271,), (1388588288,), (1388588293,), (1388588299,), (1388588300,), (1388588304,), (1388588308,), (1388588310,), (1388588312,), (1388588316,), (1388588321,), (1388588327,), (1388588330,), (1388588473,), (1388588348,), (1388588350,), (1388588351,), (1388588389,), (1388588444,), (1388588508,), (1388588522,), (1388588524,), (1388588554,), (1388588560,), (1388588567,), (1388588570,), (1388588573,), (1388588577,), (1388588580,), (1388588596,), (1388588598,), (1388588601,), (1388588605,), (1388588609,), (1388588634,), (1388589188,), (1388589189,), (1388589191,), (1388589289,), (1388589330,), (1388589371,), (1388589681,), (1388589683,), (1388589687,), (1388589715,), (1388590003,), (1388589703,), (1388589705,), (1388589708,), (1388589711,), (1388589727,), (1388589768,), (1388589812,), (1388589861,), (1388589909,), (1388589944,), (1388589946,), (1388589972,), (1388590001,), (1388590036,), (1388590038,), (1388590041,), (1388590064,), (1388590085,), (1388590087,), (1388590094,), (1388590096,), (1388590098,), (1388590101,), (1388590108,), (1388590110,), (1388590112,), (1388590116,), (1388590118,), (1388590126,), (1388590129,), (1388590132,), (1388590135,), (1388590137,), (1388590139,), (1388590170,), (1388590220,), (1388590262,), (1388590289,), (1388590292,), (1388590295,), (1388590389,), (1388590391,), (1388590394,), (1388590397,), (1388590401,), (1388590402,), (1388590403,), (1388590404,), (1388590408,), (1388590414,), (1388590417,), (1388590420,), (1388590427,), (1388590429,), (1388590431,), (1388590435,), (1388590438,), (1388590448,), (1388590449,), (1388590451,), (1388590453,), (1388590485,), (1388590531,), (1388590575,), (1388590713,), (1388590718,), (1388590722,), (1388590727,), (1388590728,), (1388590729,), (1388590734,), (1388590736,), (1388590740,), (1388590742,), (1388590745,), (1388590748,), (1388590751,), (1388590761,), (1388590764,), (1388590766,), (1388590770,), (1388590792,), (1388590784,), (1388590786,), (1388590787,), (1388590789,), (1388590803,), (1388590804,), (1388590819,), (1388590861,), (1388590909,), (1388590959,), (1388591084,), (1388591112,), (1388591144,), (1388591147,), (1388591150,), (1388591222,), (1388591224,), (1388591226,), (1388591242,), (1388591244,), (1388591245,), (1388591248,), (1388591252,), (1388591255,), (1388591264,), (1388591267,), (1388591271,), (1388591275,), (1388591287,), (1388591288,), (1388591291,), (1388591299,), (1388591301,), (1388591303,), (1388591304,), (1388591306,), (1388591307,), (1388591312,), (1388591314,), (1388591316,), (1388591320,), (1388591323,), (1388591325,), (1388591330,), (1388591333,), (1388591336,), (1388591339,), (1388591355,), (1388591357,), (1388591358,), (1388591360,), (1388591363,), (1388591375,), (1388591377,), (1388591379,), (1388591383,), (1388591387,), (1388591389,), (1388591395,), (1388591397,), (1388591399,), (1388591402,), (1388591418,), (1388591439,), (1388591487,), (1388591531,), (1388591575,), (1388591804,), (1388591856,), (1388591947,), (1388592040,), (1388592115,), (1388592549,), (1388592592,), (1388592637,), (1388593053,), (1388593078,), (1388593039,), (1388593041,), (1388593043,), (1388593046,), (1388593050,), (1388593062,), (1388593063,), (1388593065,), (1388593067,), (1388593069,), (1388593070,), (1388593073,), (1388593074,), (1388593077,), (1388593149,), (1388593195,), (1388593237,), (1388593282,), (1388593326,), (1388593400,), (1388593820,), (1388593908,), (1388593986,), (1388594043,), (1388594091,), (1388594123,), (1388594229,), (1388594236,), (1388594283,), (1388594328,), (1388594508,), (1388594509,), (1388594525,), (1388594582,), (1388594616,), (1388594758,), (1388594806,), (1388594849,), (1388594898,), (1388595230,), (1388595231,), (1388595232,), (1388595234,), (1388595246,), (1388595247,), (1388595248,), (1388595250,), (1388595253,), (1388595263,), (1388595265,), (1388595268,), (1388595271,), (1388595283,), (1388595285,), (1388595287,), (1388595434,), (1388595436,), (1388595452,), (1388595480,), (1388595484,), (1388595556,), (1388595557,), (1388595559,), (1388595562,), (1388595565,), (1388595570,), (1388595575,), (1388595576,), (1388595578,), (1388595580,), (1388595581,), (1388595586,), (1388595592,), (1388595594,), (1388595596,), (1388595599,), (1388595601,), (1388595604,), (1388595606,), (1388595628,), (1388595614,), (1388595616,), (1388595619,), (1388595621,), (1388595625,), (1388595636,), (1388595638,), (1388595639,), (1388595651,), (1388595654,), (1388595656,), (1388595659,), (1388595662,), (1388595667,), (1388595683,), (1388595724,), (1388595813,), (1388595857,), (1388595898,), (1388596174,), (1388596175,), (1388596178,), (1388596181,), (1388596185,), (1388596231,), (1388596298,), (1388596299,), (1388596300,), (1388596363,), (1388596411,), (1388596414,), (1388596416,), (1388596417,), (1388596520,), (1388596522,), (1388596523,), (1388596525,), (1388596750,), (1388596774,), (1388596813,), (1388596817,), (1388596823,), (1388596855,), (1388596860,), (1388596901,), (1388596924,), (1388596926,), (1388596929,), (1388596932,), (1388596935,), (1388596938,), (1388596944,), (1388596946,), (1388596948,), (1388596976,), (1388596978,), (1388596980,), (1388596983,), (1388596988,), (1388596990,), (1388597212,), (1388597220,), (1388597222,), (1388597225,), (1388597391,), (1388597399,), (1388597637,), (1388597419,), (1388597815,), (1388597835,), (1388597921,), (1388597922,), (1388597924,), (1388597928,), (1388597936,), (1388597938,), (1388597940,), (1388597945,), (1388597956,), (1388597958,), (1388597960,), (1388597963,), (1388597966,), (1388597968,), (1388597975,), (1388597977,), (1388597980,), (1388597984,), (1388597993,), (1388597995,), (1388597997,), (1388598001,), (1388598015,), (1388598016,), (1388598018,), (1388598022,), (1388598025,), (1388598028,), (1388598035,), (1388598037,), (1388598039,), (1388598042,), (1388598344,), (1388598392,), (1388598434,), (1388598483,), (1388598510,), (1388598514,), (1388598520,), (1388598522,), (1388598524,), (1388598528,), (1388598571,), (1388598617,), (1388598702,), (1388598755,), (1388598677,), (1388598680,), (1388598683,), (1388598892,), (1388598931,), (1388598975,), (1388599025,), (1388599069,), (1388599134,), (1388599135,), (1388599136,), (1388599139,), (1388599152,), (1388599154,), (1388599156,), (1388599160,), (1388599164,), (1388599167,), (1388599173,), (1388599175,), (1388599178,), (1388599181,), (1388599189,), (1388599194,), (1388599196,), (1388599198,), (1388599202,), (1388599215,), (1388599233,), (1388599235,), (1388599240,), (1388599244,), (1388599247,), (1388599254,), (1388599268,), (1388599269,), (1388599270,), (1388599272,), (1388599277,), (1388599283,), (1388599288,), (1388599289,), (1388599291,), (1388599294,), (1388599297,), (1388599397,), (1388599440,), (1388599447,), (1388599450,), (1388599452,), (1388599562,), (1388599580,), (1388599584,), (1388599588,), (1388599591,), (1388599592,), (1388599598,), (1388599599,), (1388599600,), (1388599602,), (1388599604,), (1388599607,), (1388599616,), (1388599620,), (1388599623,), (1388599626,), (1388599647,), (1388599638,), (1388599640,), (1388599642,), (1388599655,), (1388599657,), (1388599659,), (1388599662,), (1388599664,), (1388599668,), (1388599867,), (1388599869,), (1388599872,), (1388599875,), (1388599903,), (1388599939,), (1388599953,), (1388599994,), (1388600003,), (1388600005,), (1388600038,), (1388600086,), (1388600105,), (1388600106,), (1388600107,), (1388600108,), (1388600110,), (1388600114,), (1388600116,), (1388600119,), (1388600122,), (1388600125,), (1388600135,), (1388600137,), (1388600139,), (1388600153,), (1388600155,), (1388600158,), (1388600161,), (1388600165,), (1388600315,), (1388600363,), (1388600412,), (1388600432,), (1388600434,), (1388600437,), (1388600499,), (1388600505,), (1388600507,), (1388600532,), (1388600574,), (1388600577,), (1388600580,), (1388600639,), (1388600691,), (1388600701,), (1388600715,), (1388600717,), (1388600719,), (1388600843,), (1388600846,), (1388600869,), (1388600873,), (1388600916,), (1388600918,), (1388600921,), (1388600926,), (1388600928,), (1388600930,), (1388600933,), (1388600934,), (1388600936,), (1388600937,), (1388600942,), (1388600945,), (1388600948,), (1388600959,), (1388600961,), (1388600963,), (1388600968,), (1388600972,), (1388600991,), (1388600979,), (1388600981,), (1388600983,), (1388600987,), (1388601000,), (1388601002,), (1388601004,), (1388601006,), (1388601011,), (1388601014,), (1388601021,), (1388601023,), (1388601036,), (1388601038,), (1388601040,), (1388601044,), (1388601057,), (1388601059,), (1388601061,), (1388601064,), (1388601067,), (1388601070,), (1388601078,), (1388601080,), (1388601081,), (1388601085,), (1388601090,), (1388601261,), (1388601262,), (1388601264,), (1388601267,), (1388601285,), (1388601325,), (1388601443,), (1388601484,), (1388601524,), (1388601631,), (1388601675,), (1388601718,), (1388601764,), (1388601808,), (1388602143,), (1388602145,), (1388602149,), (1388602151,), (1388602158,), (1388602159,), (1388602189,), (1388602234,), (1388602285,), (1388602326,), (1388602409,), (1388602411,), (1388602415,), (1388602419,), (1388602421,), (1388602786,), (1388602788,), (1388602790,), (1388602794,), (1388602797,), (1388602801,), (1388602811,), (1388602814,), (1388602816,), (1388603156,), (1388603158,), (1388603161,), (1388603164,), (1388603169,), (1388603190,), (1388603182,), (1388603186,), (1388603302,), (1388603327,), (1388603330,), (1388603363,), (1388603370,), (1388603384,), (1388603386,), (1388603390,), (1388603395,), (1388603399,), (1388603402,), (1388603406,), (1388603407,), (1388603408,), (1388603411,), (1388603414,), (1388603421,), (1388603425,), (1388603430,), (1388603433,), (1388603435,), (1388603436,), (1388603444,), (1388603448,), (1388603452,), (1388603463,), (1388603466,), (1388603469,), (1388603473,), (1388603476,), (1388603479,), (1388603502,), (1388603505,), (1388603509,), (1388603526,), (1388603529,), (1388603532,), (1388603537,), (1388603554,), (1388603558,), (1388603560,), (1388603576,), (1388603578,), (1388603580,), (1388606291,), (1388606312,), (1388606340,), (1388606356,), (1388606378,), (1388606404,), (1388606438,), (1388606441,), (1388606444,), (1388606461,), (1388606464,), (1388606466,), (1388606469,), (1388606473,), (1388606477,), (1388606486,), (1388606514,), (1388606517,), (1388606521,), (1388606525,), (1388606529,), (1388606540,), (1388606543,), (1388606611,), (1388606673,), (1388606741,), (1388606862,), (1388606864,), (1388606867,), (1388606871,), (1388606881,), (1388606882,), (1388606885,), (1388606890,), (1388606894,), (1388606896,), (1388606904,), (1388606907,), (1388606910,), (1388606913,), (1388606917,), (1388606950,), (1388606954,), (1388606956,), (1388606965,), (1388606969,), (1388606975,), (1388606983,), (1388606985,), (1388606986,), (1388607012,), (1388607018,), (1388607023,), (1388607030,), (1388607032,), (1388607034,), (1388607041,), (1388607043,), (1388607046,), (1388607050,), (1388607053,), (1388607056,), (1388607064,), (1388607066,), (1388607080,), (1388607083,), (1388607085,), (1388607089,), (1388607132,), (1388607134,), (1388607136,), (1388607139,), (1388607142,), (1388607144,), (1388607151,), (1388607153,), (1388607155,), (1388607158,), (1388607200,), (1388607204,), (1388607208,), (1388607211,), (1388607215,), (1388607238,), (1388607230,), (1388607232,), (1388607234,), (1388607236,), (1388607247,), (1388607250,), (1388607254,), (1388607256,), (1388607257,), (1388607258,), (1388607266,), (1388607268,), (1388607276,), (1388607279,), (1388607342,), (1388607350,), (1388607353,), (1388607355,), (1388607358,), (1388607367,), (1388607369,), (1388607372,), (1388607374,), (1388607381,), (1388607389,), (1388607410,), (1388607413,), (1388607416,), (1388607431,), (1388607439,), (1388607442,), (1388607445,), (1388607449,), (1388607491,), (1388607493,), (1388607496,), (1388607506,), (1388607509,), (1388607513,), (1388607529,), (1388607531,), (1388607533,), (1388607537,), (1388607540,), (1388607549,), (1388607551,), (1388607553,), (1388607557,), (1388607561,), (1388607569,), (1388607571,), (1388607573,), (1388607576,), (1388607579,), (1388607588,), (1388607590,), (1388607593,), (1388607596,), (1388607598,), (1388607600,), (1388607607,), (1388607610,), (1388607613,), (1388607615,), (1388607618,), (1388607621,), (1388607624,), (1388607626,), (1388607628,), (1388607630,), (1388607633,), (1388607637,), (1388607639,), (1388607641,), (1388607644,), (1388607648,), (1388607650,), (1388607652,), (1388607656,), (1388607660,), (1388607690,), (1388607675,), (1388607678,), (1388607681,), (1388607683,), (1388607686,), (1388607698,), (1388607701,), (1388607704,), (1388607708,), (1388607715,), (1388607759,), (1388607763,), (1388607781,), (1388607783,), (1388607791,), (1388607798,), (1388607818,), (1388607861,), (1388607889,), (1388607891,), (1388607906,), (1388607908,), (1388607910,), (1388607913,), (1388607916,), (1388607920,), (1388607924,), (1388607927,), (1388607930,), (1388607933,), (1388607940,), (1388607942,), (1388607944,), (1388607948,), (1388607950,), (1388607953,), (1388607993,), (1388607996,), (1388607999,), (1388608003,), (1388608013,), (1388608015,), (1388608016,), (1388608019,), (1388608021,), (1388608022,), (1388608030,), (1388608032,), (1388608034,), (1388608038,), (1388608041,), (1388608044,), (1388608053,), (1388608055,), (1388608057,), (1388608059,), (1388608062,), (1388608065,), (1388608072,), (1388608078,), (1388608081,), (1388608094,), (1388608098,), (1388608104,), (1388608107,), (1388608110,), (1388608116,), (1388608118,), (1388608120,), (1388608127,), (1388608129,), (1388608133,), (1388608137,), (1388608164,), (1388608152,), (1388608157,), (1388608161,), (1388608174,), (1388608176,), (1388608178,), (1388608181,), (1388608185,), (1388608201,), (1388608203,), (1388608204,), (1388608215,), (1388608228,), (1388608231,), (1388608274,), (1388608277,), (1388608278,), (1388608281,), (1388608296,), (1388608298,), (1388608300,), (1388608304,), (1388608307,), (1388608310,), (1388608329,), (1388608332,), (1388608337,), (1388608344,), (1388608354,), (1388608361,), (1388608363,), (1388608365,), (1388608368,), (1388608371,), (1388608385,), (1388608411,), (1388608413,), (1388608416,), (1388608419,), (1388608421,), (1388608443,), (1388608444,), (1388608447,), (1388608451,), (1388608460,), (1388608462,), (1388608465,), (1388608469,), (1388608471,), (1388608475,), (1388608479,), (1388608481,), (1388608483,), (1388608487,), (1388608503,), (1388608510,), (1388608512,), (1388608515,), (1388608519,), (1388608522,), (1388608530,), (1388608533,), (1388608538,), (1388608543,), (1388608551,), (1388608557,), (1388608561,), (1388608565,), (1388608569,), (1388608572,), (1388608579,), (1388608582,), (1388608591,), (1388608593,), (1388608610,), (1388608596,), (1388608599,), (1388608601,), (1388608606,), (1388608618,), (1388608620,), (1388608621,), (1388608624,), (1388608628,), (1388608657,), (1388608659,), (1388608660,), (1388608663,), (1388608674,), (1388608676,), (1388608678,), (1388608680,), (1388608682,), (1388608688,), (1388608690,), (1388608691,), (1388608694,), (1388608697,), (1388608706,), (1388608708,), (1388608711,), (1388608715,), (1388608727,), (1388608728,), (1388608730,), (1388608733,), (1388608737,), (1388608772,), (1388608795,), (1388608800,), (1388608804,), (1388608807,), (1388608812,), (1388608815,), (1388608817,), (1388608820,), (1388608831,), (1388608833,), (1388608835,), (1388608839,), (1388608843,), (1388608845,), (1388608877,), (1388608880,), (1388608882,), (1388608885,), (1388608893,), (1388608895,), (1388608896,), (1388608899,), (1388608903,), (1388608905,), (1388608919,), (1388608927,), (1388608941,), (1388608943,), (1388609008,), (1388609009,), (1388609011,), (1388609014,), (1388609017,), (1388609019,), (1388609028,), (1388609031,), (1388609032,), (1388609035,), (1388609067,), (1388609050,), (1388609052,), (1388609055,), (1388609061,), (1388609064,), (1388609093,), (1388609096,), (1388609099,), (1388609102,), (1388609106,), (1388609117,), (1388609119,), (1388609122,), (1388609126,), (1388609129,), (1388609138,), (1388609140,), (1388609142,), (1388609145,), (1388609172,), (1388609174,), (1388609176,), (1388609179,), (1388609181,), (1388609185,), (1388609192,), (1388609195,), (1388609196,), (1388609200,), (1388609204,), (1388609211,), (1388609213,), (1388609215,), (1388609219,), (1388609223,), (1388609226,), (1388609233,), (1388609236,), (1388609237,), (1388609240,), (1388609251,), (1388609252,), (1388609253,), (1388609256,), (1388609260,), (1388609263,), (1388609270,), (1388609271,), (1388609273,), (1388609276,), (1388609286,), (1388609287,), (1388609289,), (1388609292,), (1388609295,), (1388609297,), (1388609304,), (1388609306,), (1388609307,), (1388609309,), (1388609322,), (1388609332,), (1388609334,), (1388609338,), (1388609342,), (1388609344,), (1388609418,), (1388609421,), (1388609423,), (1388609426,), (1388609441,), (1388609443,), (1388609445,), (1388609448,), (1388609451,), (1388609453,), (1388609469,), (1388609463,), (1388609466,), (1388609467,), (1388609526,), (1388609569,), (1388609619,), (1388609623,), (1388609650,), (1388609662,), (1388609726,), (1388609728,), (1388609734,), (1388609740,), (1388609786,), (1388609794,), (1388609796,), (1388609799,), (1388609808,), (1388609814,), (1388609841,), (1388609843,), (1388609846,), (1388609849,), (1388609853,), (1388609928,), (1388609929,), (1388609931,), (1388609934,), (1388609936,), (1388609938,), (1388609949,), (1388609952,), (1388609954,), (1388609956,), (1388610154,), (1388610190,), (1388610195,), (1388610197,), (1388610199,), (1388610201,), (1388610305,), (1388610307,), (1388610309,), (1388610311,), (1388610313,), (1388610328,), (1388610331,), (1388610334,), (1388610340,), (1388610342,), (1388610345,), (1388610359,), (1388610362,), (1388610363,), (1388610365,), (1388610368,), (1388610379,), (1388610380,), (1388610381,), (1388610384,), (1388610387,), (1388610398,), (1388610400,), (1388610402,), (1388610405,), (1388610409,), (1388610412,), (1388610420,), (1388610423,), (1388610426,), (1388610429,), (1388610432,), (1388610441,), (1388610443,), (1388610537,), (1388610930,), (1388610688,), (1388610732,), (1388610781,), (1388610823,), (1388611140,), (1388611174,), (1388611177,), (1388611202,), (1388611208,), (1388611403,), (1388611404,), (1388611406,), (1388611408,), (1388611410,), (1388611599,), (1388611601,), (1388611602,), (1388611605,), (1388611608,), (1388611721,), (1388611723,), (1388611724,), (1388611727,), (1388611731,), (1388611734,), (1388611745,), (1388611747,), (1388611749,), (1388611756,), (1388611758,), (1388611776,), (1388611779,), (1388611780,), (1388611783,), (1388611787,), (1388611789,), (1388611800,), (1388611834,), (1388611882,), (1388611975,), (1388612020,), (1388612139,), (1388612192,), (1388612227,), (1388612232,), (1388612235,), (1388612237,), (1388612369,), (1388612371,), (1388612372,), (1388612374,), (1388612389,), (1388612392,), (1388612393,), (1388612397,), (1388612401,), (1388612404,), (1388612526,), (1388612528,), (1388612552,), (1388612570,), (1388612579,), (1388612597,), (1388612598,), (1388612599,), (1388612602,), (1388612606,), (1388612609,), (1388612618,), (1388612620,), (1388612622,), (1388612626,), (1388612630,), (1388612640,), (1388612642,), (1388612645,), (1388612649,), (1388612676,), (1388612661,), (1388612663,), (1388612666,), (1388612670,), (1388612673,), (1388612821,), (1388612824,), (1388612839,), (1388612842,), (1388612846,), (1388612854,), (1388612856,), (1388612859,), (1388612863,), (1388612866,), (1388612883,), (1388612886,), (1388612887,), (1388612890,), (1388612893,), (1388612899,), (1388612907,), (1388612910,), (1388612912,), (1388612916,), (1388612919,), (1388612922,), (1388612929,), (1388612932,), (1388612934,), (1388612938,), (1388613091,), (1388613109,), (1388613110,), (1388613113,), (1388613117,), (1388613120,), (1388613131,), (1388613133,), (1388613135,), (1388613143,), (1388613146,), (1388613154,), (1388613156,), (1388613157,), (1388613160,), (1388613164,), (1388613167,), (1388613177,), (1388613178,), (1388613180,), (1388613199,), (1388613213,), (1388613215,), (1388613217,), (1388613221,), (1388613224,), (1388613249,), (1388613354,), (1388613377,), (1388613378,), (1388613393,), (1388613395,), (1388613399,), (1388613403,), (1388613406,), (1388613409,), (1388613418,), (1388613421,), (1388613422,), (1388613424,), (1388613437,), (1388613441,), (1388613444,), (1388613447,), (1388613450,), (1388613454,), (1388613486,), (1388613462,), (1388613476,), (1388613477,), (1388613481,), (1388613484,), (1388613645,), (1388613647,), (1388613648,), (1388613652,), (1388613671,), (1388613672,), (1388613673,), (1388613677,), (1388613681,), (1388613684,), (1388613693,), (1388613695,), (1388613697,), (1388613702,), (1388613716,), (1388613718,), (1388613720,), (1388613723,), (1388613727,), (1388613729,), (1388613738,), (1388613739,), (1388613741,), (1388613744,), (1388613748,), (1388613752,), (1388613887,), (1388613914,), (1388613921,), (1388613925,), (1388613940,), (1388613942,), (1388613944,), (1388613946,), (1388613949,), (1388613952,), (1388613961,), (1388613964,), (1388613966,), (1388613970,), (1388613985,), (1388613988,), (1388613990,), (1388613993,), (1388613997,), (1388614000,), (1388614009,), (1388614011,), (1388614013,), (1388614017,), (1388614020,), (1388614152,), (1388614154,), (1388614156,), (1388614161,), (1388614165,), (1388614212,), (1388614278,), (1388614281,), (1388614285,), (1388614289,), (1388614326,), (1388614328,), (1388614330,), (1388614333,), (1388614337,), (1388614340,), (1388614345,), (1388614352,), (1388614356,), (1388614360,), (1388614363,), (1388614383,), (1388614372,), (1388614374,), (1388614375,), (1388614377,), (1388614380,), (1388614516,), (1388614519,), (1388614521,), (1388614562,), (1388614669,), (1388614671,), (1388614673,), (1388614675,), (1388614680,), (1388614684,), (1388614704,), (1388614705,), (1388614706,), (1388614713,), (1388614716,), (1388614726,), (1388614728,), (1388614730,), (1388614734,), (1388614738,), (1388614750,), (1388614753,), (1388614754,), (1388614756,), (1388614759,), (1388614772,), (1388614934,), (1388614947,), (1388614950,), (1388614952,), (1388614958,), (1388615057,), (1388615059,), (1388615060,), (1388615062,), (1388615124,), (1388615126,), (1388615128,), (1388615132,), (1388615136,), (1388615139,), (1388615158,), (1388615162,), (1388615168,), (1388615171,), (1388615184,), (1388615186,), (1388615190,), (1388615196,), (1388615199,), (1388615202,), (1388615210,), (1388615213,), (1388615215,), (1388615231,), (1388615279,), (1388615471,), (1388615474,), (1388615522,), (1388615529,), (1388615531,), (1388615579,), (1388615583,), (1388615588,), (1388615590,), (1388615594,), (1388615611,), (1388615607,), (1388615782,), (1388615787,), (1388615807,), (1388615809,), (1388615823,), (1388615824,), (1388615825,), (1388615828,), (1388615832,), (1388615843,), (1388615845,), (1388615847,), (1388615851,), (1388615865,), (1388615867,), (1388615868,), (1388615871,), (1388615874,), (1388615878,), (1388615893,), (1388615895,), (1388615897,), (1388615901,), (1388615904,), (1388615908,), (1388616088,), (1388616094,), (1388616120,), (1388616123,), (1388616126,), (1388616128,), (1388616133,), (1388616134,), (1388616136,), (1388616141,), (1388616143,), (1388616146,), (1388616149,), (1388616152,), (1388616164,), (1388616167,), (1388616169,), (1388616172,), (1388616175,), (1388616178,), (1388616195,), (1388616197,), (1388616198,), (1388616200,), (1388616203,), (1388616218,), (1388616221,), (1388616222,), (1388616368,), (1388616397,), (1388616400,), (1388616427,), (1388616431,), (1388616434,), (1388616444,), (1388616450,), (1388616453,), (1388616456,), (1388616460,), (1388616463,), (1388616475,), (1388616476,), (1388616479,), (1388616482,), (1388616487,), (1388616488,), (1388616490,), (1388616493,), (1388616497,), (1388616500,), (1388616503,), (1388616506,), (1388616509,), (1388616512,), (1388616531,), (1388616519,), (1388616522,), (1388616525,), (1388616528,), (1388616542,), (1388616551,), (1388616594,), (1388616718,), (1388616720,), (1388616758,), (1388616813,), (1388616861,), (1388616863,), (1388616865,), (1388616869,), (1388616874,), (1388616890,), (1388616892,), (1388616894,), (1388616898,), (1388616912,), (1388616915,), (1388616917,), (1388617063,), (1388617091,), (1388617102,), (1388617119,), (1388617123,), (1388617125,), (1388617132,), (1388617139,), (1388617143,), (1388617145,), (1388617174,), (1388617427,), (1388617447,), (1388617450,), (1388617452,), (1388617498,), (1388617468,), (1388617486,), (1388617490,), (1388617495,), (1388617654,), (1388617660,), (1388617685,), (1388617688,), (1388617692,), (1388617696,), (1388617708,), (1388617711,), (1388617739,), (1388617741,), (1388617742,), (1388617761,), (1388617764,), (1388617767,), (1388617790,), (1388617792,), (1388617794,), (1388617798,), (1388617803,), (1388617959,), (1388617962,), (1388617964,), (1388617967,), (1388617987,), (1388617988,), (1388617990,), (1388617994,), (1388617997,), (1388618000,), (1388618004,), (1388618006,), (1388618007,), (1388618012,), (1388618014,), (1388618018,), (1388618021,), (1388618038,), (1388618041,), (1388618044,), (1388618049,), (1388618053,), (1388618066,), (1388618069,), (1388618071,), (1388618075,), (1388618079,), (1388618083,), (1388618094,), (1388618127,), (1388618168,), (1388618211,), (1388618357,), (1388618362,), (1388618368,), (1388618428,), (1388618434,), (1388618436,), (1388618446,), (1388618448,), (1388618450,), (1388618471,), (1388618475,), (1388618477,), (1388618481,), (1388618484,), (1388618486,), (1388618513,), (1388618499,), (1388618501,), (1388618502,), (1388618505,), (1388618509,), (1388618522,), (1388618525,), (1388618528,), (1388618532,), (1388618542,), (1388618544,), (1388618546,), (1388618550,), (1388618554,), (1388618687,), (1388618839,), (1388618892,), (1388618934,), (1388618977,), (1388618984,), (1388619075,), (1388619077,), (1388619078,), (1388619092,), (1388619136,), (1388619174,), (1388619273,), (1388619276,), (1388619329,), (1388619355,), (1388619365,), (1388619368,), (1388619371,), (1388619425,), (1388619428,), (1388619430,), (1388619434,), (1388619438,), (1388619443,), (1388619462,), (1388619464,), (1388619504,), (1388619516,), (1388619518,), (1388619520,), (1388619529,), (1388619539,), (1388619541,), (1388619543,), (1388619547,), (1388619557,), (1388619683,), (1388619687,), (1388619688,), (1388619737,), (1388620882,), (1388620886,), (1388635077,), (1388635098,), (1388635100,), (1388635101,), (1388635103,), (1388636072,), (1388636076,), (1388636082,), (1388636264,), (1388636295,), (1388636332,), (1388636417,), (1388636429,), (1388636437,), (1388636447,), (1388636461,), (1388636464,), (1388636465,), (1388637397,), (1388637399,), (1388637401,), (1388637404,), (1388637416,), (1388637879,), (1388637882,), (1388638116,), (1388638206,), (1388638209,), (1388638583,), (1388638585,), (1388638594,), (1388638605,), (1388638609,), (1388638811,), (1388638817,), (1388638818,), (1388638878,), (1388638898,), (1388638906,), (1388638910,), (1388638932,), (1388639007,), (1388639010,), (1388639012,), (1388639053,), (1388639193,), (1388640647,), (1388640577,), (1388640598,), (1388640602,), (1388640850,), (1388640863,), (1388640866,), (1388640869,), (1388640872,), (1388641904,), (1388641920,), (1388641923,), (1388641940,), (1388642131,), (1388642133,), (1388642244,), (1388642249,), (1388642257,), (1388642274,), (1388642277,), (1388642294,), (1388642309,), (1388642314,), (1388642316,), (1388642330,), (1388642337,), (1388642338,), (1388642351,), (1388642397,), (1388642485,), (1388642486,), (1388642487,), (1388642489,), (1388642539,), (1388642546,), (1388642548,), (1388642551,), (1388642555,), (1388642560,), (1388643306,), (1388643308,), (1388643310,), (1388643314,), (1388643321,), (1388643622,), (1388643624,), (1388643668,), (1388643671,), (1388643689,), (1388643832,), (1388643834,), (1388643836,), (1388643881,), (1388643884,), (1388643886,), (1388643889,), (1388644823,), (1388644826,), (1388644828,), (1388644831,), (1388644834,), (1388645186,), (1388645189,), (1388645191,), (1388645194,), (1388645198,), (1388646303,), (1388646362,), (1388646365,), (1388646666,), (1388646649,), (1388646664,), (1388646730,), (1388647815,), (1388647952,), (1388648276,), (1388649105,), (1388649106,), (1388649107,), (1388649143,), (1388649145,), (1388649146,), (1388649149,), (1388649531,), (1388649558,), (1388649562,), (1388650474,), (1388650493,), (1388650501,), (1388650519,), (1388650522,), (1388651221,), (1388651254,), (1388651256,), (1388651287,), (1388651304,), (1388651309,), (1388651332,), (1388651338,), (1388651408,), (1388651411,), (1388651412,), (1388651414,), (1388651435,), (1388651692,), (1388651702,), (1388651705,), (1388651708,), (1388651712,), (1388651882,), (1388651967,), (1388651997,), (1388652001,), (1388652006,), (1388652015,), (1388652167,), (1388652170,), (1388652172,), (1388653183,), (1388653186,), (1388653188,), (1388653191,), (1388653196,), (1388653965,), (1388653723,), (1388653953,), (1388653955,), (1388653958,), (1388653962,), (1388654223,), (1388654266,), (1388654291,), (1388654359,), (1388654365,), (1388654670,), (1388654698,), (1388654705,), (1388654716,), (1388655468,), (1388655472,), (1388655475,), (1388655479,), (1388655488,), (1388655811,), (1388655896,), (1388655900,), (1388656027,), (1388656031,), (1388656040,), (1388656063,), (1388656077,), (1388656153,), (1388656156,), (1388656157,), (1388656164,), (1388656173,), (1388656345,), (1388656350,), (1388656454,), (1388657029,), (1388657061,), (1388657101,), (1388657123,), (1388657143,), (1388657147,), (1388658410,), (1388658413,), (1388658469,), (1388658694,), (1388658697,), (1388658700,), (1388658801,), (1388658807,), (1388658812,), (1388659400,), (1388659412,), (1388659415,), (1388659419,), (1388659424,), (1388659511,), (1388659516,), (1388659517,), (1388659555,), (1388659579,), (1388659588,), (1388659607,), (1388659611,), (1388659614,), (1388661034,), (1388659654,), (1388659726,), (1388660052,), (1388660562,), (1388661031,), (1388661045,), (1388661078,), (1388661088,), (1388661090,), (1388661952,), (1388661953,), (1388662344,), (1388663254,), (1388663257,), (1388663258,), (1388663261,), (1388663281,), (1388663283,), (1388663286,), (1388663289,), (1388663292,), (1388663295,), (1388663317,), (1388663320,), (1388663325,), (1388663328,), (1388663331,), (1388663379,), (1388663382,), (1388663395,), (1388663787,), (1388663791,), (1388664838,), (1388664861,), (1388664864,), (1388665273,), (1388665291,), (1388665431,), (1388666945,), (1388667002,), (1388667053,), (1388667170,), (1388667176,), (1388667189,), (1388667193,), (1388667210,), (1388667233,), (1388667234,), (1388667236,), (1388667239,), (1388667243,), (1388667261,), (1388667265,), (1388667269,), (1388667274,), (1388667278,), (1388667282,), (1388667324,), (1388667313,), (1388667317,), (1388667320,), (1388667343,), (1388667345,), (1388667348,), (1388667352,), (1388667365,), (1388667407,), (1388667411,), (1388667414,), (1388667419,), (1388667424,), (1388667435,), (1388667475,), (1388667478,), (1388668245,), (1388668249,), (1388668251,), (1388668254,), (1388668259,), (1388668263,), (1388668560,), (1388668562,), (1388668599,), (1388668603,), (1388668786,), (1388668798,), (1388668813,), (1388668828,), (1388668831,), (1388668855,), (1388669574,), (1388669578,), (1388669586,), (1388669589,), (1388669594,), (1388670126,), (1388670158,), (1388670162,), (1388670166,), (1388670402,), (1388670417,), (1388670427,), (1388670439,), (1388670443,), (1388671250,), (1388671254,), (1388671257,), (1388671260,), (1388671264,), (1388671267,), (1388671529,), (1388671582,), (1388671619,), (1388671634,), (1388671643,), (1388671676,), (1388671679,), (1388671681,), (1388671693,), (1388671696,), (1388671698,), (1388673447,), (1388673461,), (1388673467,), (1388673688,), (1388674069,), (1388674103,), (1388674107,), (1388674188,), (1388674193,), (1388674322,), (1388674870,), (1388674710,), (1388674713,), (1388674741,), (1388674745,), (1388674762,), (1388675010,), (1388675014,), (1388675015,), (1388675017,), (1388675059,), (1388675061,), (1388675063,), (1388675066,), (1388675072,), (1388675122,), (1388675124,), (1388675125,), (1388675377,), (1388675680,), (1388675700,), (1388675702,), (1388675704,), (1388675708,), (1388675712,), (1388676144,), (1388676160,), (1388676162,), (1388676166,), (1388676203,), (1388676205,), (1388676207,), (1388676299,), (1388676304,), (1388676306,), (1388676310,), (1388676314,), (1388676345,), (1388676420,), (1388676421,), (1388676425,), (1388676451,), (1388676453,), (1388676967,), (1388677509,), (1388677734,), (1388677736,), (1388677763,), (1388677829,), (1388677862,), (1388677868,), (1388677876,), (1388679447,), (1388679640,), (1388679682,), (1388679710,), (1388679844,), (1388679846,), (1388679849,), (1388679853,), (1388679857,), (1388679861,), (1388680320,), (1388680330,), (1388680331,), (1388680841,), (1388680990,), (1388681438,), (1388681998,), (1388682092,), (1388682122,), (1388682119,), (1388682121,), (1388682573,), (1388682626,), (1388682644,), (1388682685,), (1388682812,), (1388682815,), (1388682817,), (1388683312,), (1388683317,), (1388683318,), (1388683320,), (1388683324,), (1388683327,), (1388683339,), (1388683346,), (1388683791,), (1388684307,), (1388684344,), (1388684349,), (1388684369,), (1388685385,), (1388685447,), (1388685461,), (1388685477,), (1388685480,), (1388685512,), (1388685785,), (1388685791,), (1388685794,), (1388685800,), (1388685807,), (1388685810,), (1388685865,), (1388685868,), (1388685946,), (1388685948,), (1388685949,), (1388686690,), (1388687115,), (1388687124,), (1388687126,), (1388687129,), (1388687132,), (1388687135,), (1388687251,), (1388687253,), (1388687254,), (1388687277,), (1388687281,), (1388687305,), (1388687312,), (1388687313,), (1388687526,), (1388687523,), (1388687524,), (1388687556,), (1388688153,), (1388688155,), (1388688212,), (1388688783,), (1388688818,), (1388688820,), (1388688823,), (1388688841,), (1388688844,), (1388688852,), (1388688854,), (1388688856,), (1388688859,), (1388688891,), (1388688894,), (1388688895,), (1388688938,), (1388688945,), (1388688947,), (1388688951,), (1388688955,), (1388688967,), (1388688970,), (1388688972,), (1388689036,), (1388689055,), (1388689066,), (1388689075,), (1388689084,), (1388690358,), (1388690889,), (1388690961,), (1388690963,), (1388691183,), (1388691214,), (1388691278,), (1388691614,), (1388691628,), (1388692121,), (1388692122,), (1388692124,), (1388692127,), (1388692131,), (1388692134,), (1388692206,), (1388692209,), (1388692217,), (1388692221,), (1388692224,), (1388692264,), (1388692307,), (1388692348,), (1388692363,), (1388692365,), (1388692368,), (1388692381,), (1388692383,), (1388692385,), (1388692389,), (1388692392,), (1388692398,), (1388692411,), (1388692407,), (1388692410,), (1388692428,), (1388692430,), (1388692432,), (1388692540,), (1388693114,), (1388693304,), (1388693386,), (1388693393,), (1388693394,), (1388693420,), (1388693423,), (1388693805,), (1388693807,), (1388693879,), (1388693906,), (1388693919,), (1388693922,), (1388693930,), (1388694005,), (1388696998,), (1388697045,), (1388697087,), (1388697146,), (1388698716,), (1388698512,), (1388698607,), (1388698713,), (1388698812,), (1388698815,), (1388698817,), (1388699363,), (1388699379,), (1388699439,), (1388699451,), (1388699576,), (1388700131,), (1388700157,), (1388700186,), (1388700445,), (1388700459,), (1388700465,), (1388700496,), (1388700498,), (1388700501,), (1388700505,), (1388700523,), (1388700525,), (1388700528,), (1388700532,), (1388701111,), (1388701193,), (1388701270,), (1388701274,), (1388701277,), (1388701491,), (1388701495,), (1388701673,), (1388701676,), (1388701677,), (1388701724,), (1388701726,), (1388701729,), (1388701946,), (1388734795,), (1388734735,), (1388734824,), (1388734870,), (1388734874,), (1388734878,), (1388734928,), (1388735231,), (1388735312,), (1388735314,), (1388735316,), (1388735320,), (1388735372,), (1388735391,), (1388735412,), (1388735415,), (1388735419,), (1388735538,), (1388735562,), (1388735644,), (1388735647,), (1388735649,), (1388735724,), (1388735726,), (1388735728,), (1388735928,), (1388735931,), (1388735932,), (1388735936,), (1388736656,), (1388736539,), (1388736542,), (1388736602,), (1388736881,), (1388736883,), (1388736886,), (1388737097,), (1388737100,), (1388737103,), (1388737108,), (1388737130,), (1388737155,), (1388737165,), (1388737190,), (1388737195,), (1388737235,), (1388737381,), (1388737383,), (1388737386,), (1388737864,), (1388737866,), (1388737868,), (1388737957,), (1388737960,), (1388737987,), (1388737989,), (1388737993,), (1388737997,), (1388738113,), (1388738116,), (1388738120,), (1388738126,), (1388738129,), (1388738131,), (1388738142,), (1388738144,), (1388738147,), (1388738149,), (1388738151,), (1388738153,), (1388738170,), (1388738174,), (1388738175,), (1388738178,), (1388738180,), (1388738182,), (1388738196,), (1388738198,), (1388738199,), (1388738200,), (1388738202,), (1388738204,), (1388738209,), (1388738212,), (1388738214,), (1388738216,), (1388738218,), (1388738235,), (1388738237,), (1388738239,), (1388738242,), (1388738246,), (1388738252,), (1388738391,), (1388738393,), (1388738395,), (1388739200,), (1388739209,), (1388739217,), (1388739229,), (1388739407,), (1388739408,), (1388739426,), (1388739427,), (1388739435,), (1388739436,), (1388739448,), (1388739449,), (1388739575,), (1388739530,), (1388739570,), (1388739571,), (1388739597,), (1388739637,), (1388740243,), (1388740515,), (1388740653,), (1388740659,), (1388741103,), (1388741108,), (1388741890,), (1388741898,), (1388741902,), (1388741904,), (1388742228,), (1388742231,), (1388742276,), (1388742333,), (1388742425,), (1388742433,), (1388742464,), (1388742475,), (1388742479,), (1388742485,), (1388742494,), (1388742503,), (1388742551,), (1388742554,), (1388742557,), (1388742584,), (1388742586,), (1388742589,), (1388742592,), (1388742630,), (1388742634,), (1388742654,), (1388742657,), (1388742659,), (1388742664,), (1388742699,), (1388742717,), (1388742739,), (1388742747,), (1388742751,), (1388742756,), (1388742787,), (1388742794,), (1388742806,), (1388742810,), (1388742815,), (1388743023,), (1388743138,), (1388743144,), (1388743152,), (1388743157,), (1388743160,), (1388743171,), (1388743173,), (1388743176,), (1388743181,), (1388743185,), (1388743190,), (1388743257,), (1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,), (1388744386,), (1388744473,), (1388744347,), (1388744376,), (1388744379,), (1388744382,), (1388744384,), (1388744391,), (1388744393,), (1388744395,), (1388744401,), (1388744406,), (1388744421,), (1388744427,), (1388744428,), (1388744448,), (1388744455,), (1388744457,), (1388744496,), (1388744500,), (1388744576,), (1388744579,), (1388744583,), (1388744588,), (1388744761,), (1388744786,), (1388744793,), (1388744816,), (1388744827,), (1388744832,), (1388744966,), (1388744970,), (1388744971,), (1388744974,), (1388745035,), (1388745040,), (1388745051,), (1388745071,), (1388745078,), (1388745080,), (1388745127,), (1388745130,), (1388745133,), (1388745136,), (1388745141,), (1388745147,), (1388745152,), (1388745155,), (1388745157,), (1388745203,), (1388745207,), (1388745209,), (1388745212,), (1388745216,), (1388745238,), (1388745239,), (1388745366,), (1388745369,), (1388745371,), (1388745375,), (1388745517,), (1388745520,), (1388745523,), (1388745536,), (1388745548,), (1388745552,), (1388745809,), (1388745819,), (1388745827,), (1388745879,), (1388745904,), (1388745911,), (1388746002,), (1388746005,), (1388746072,), (1388746057,), (1388746060,), (1388746064,), (1388746142,), (1388746144,), (1388746147,), (1388746152,), (1388746156,), (1388746161,), (1388746181,), (1388746184,), (1388746186,), (1388746189,), (1388746194,), (1388746247,), (1388746249,), (1388746269,), (1388746483,), (1388746517,), (1388746542,), (1388746545,), (1388747275,), (1388747283,), (1388747287,), (1388747291,), (1388747370,), (1388747382,), (1388747536,), (1388747540,), (1388747544,), (1388747547,), (1388747550,), (1388747553,), (1388747569,), (1388747570,), (1388747637,), (1388747647,), (1388747656,), (1388747660,), (1388747662,), (1388747686,), (1388747689,), (1388747699,), (1388747703,), (1388747717,), (1388747722,), (1388747747,), (1388747755,), (1388747757,), (1388747775,), (1388747778,), (1388747779,), (1388747783,), (1388747787,), (1388747790,), (1388747846,), (1388747849,), (1388747851,), (1388747856,), (1388748064,), (1388748087,), (1388748915,), (1388748927,), (1388748932,), (1388748936,), (1388748947,), (1388748948,), (1388748950,), (1388748952,), (1388749326,), (1388749252,), (1388749254,), (1388749255,), (1388749421,), (1388749424,), (1388749426,), (1388749431,), (1388749443,), (1388750450,), (1388750462,), (1388750466,), (1388750482,), (1388750552,), (1388750556,), (1388750592,), (1388750637,), (1388750645,), (1388751206,), (1388751231,), (1388751234,), (1388751238,), (1388751249,), (1388751252,), (1388751255,), (1388751260,), (1388751264,), (1388751267,), (1388751304,), (1388751314,), (1388751316,), (1388751320,), (1388751325,), (1388751333,), (1388751363,), (1388751366,), (1388751386,), (1388751388,), (1388751389,), (1388751482,), (1388751486,), (1388751491,), (1388751496,), (1388751502,), (1388751512,), (1388751523,), (1388751524,), (1388751525,), (1388751528,), (1388751531,), (1388751534,), (1388751537,), (1388751541,), (1388751543,), (1388751555,), (1388751557,), (1388751946,), (1388751939,), (1388751945,), (1388752000,), (1388752003,), (1388752005,), (1388752009,), (1388752014,), (1388752022,), (1388752024,), (1388752101,), (1388752114,), (1388752122,), (1388752126,), (1388752157,), (1388752162,), (1388752169,), (1388752173,), (1388752210,), (1388752354,), (1388752355,), (1388752356,), (1388752359,), (1388752363,), (1388752378,), (1388752380,), (1388752382,), (1388752400,), (1388752403,), (1388752404,), (1388752406,), (1388752419,), (1388752423,), (1388752435,), (1388752438,), (1388752452,), (1388752455,), (1388752456,), (1388752460,), (1388752506,), (1388752508,), (1388752511,), (1388752514,), (1388752613,), (1388752617,), (1388752619,), (1388752622,), (1388752625,), (1388752641,), (1388752643,), (1388752646,), (1388752651,), (1388752659,), (1388752790,), (1388752793,), (1388752802,), (1388752814,), (1388752913,), (1388752897,), (1388752904,), (1388752907,), (1388752987,), (1388752988,), (1388752989,), (1388752992,), (1388753044,), (1388753047,), (1388753049,), (1388753053,), (1388753116,), (1388753119,), (1388753120,), (1388753123,), (1388753294,), (1388753296,), (1388753298,), (1388753324,), (1388753607,), (1388754500,), (1388754493,), (1388754495,), (1388754497,), (1388754712,), (1388754729,), (1388754732,), (1388754746,), (1388754792,), (1388754802,), (1388754874,), (1388754880,), (1388754887,), (1388754890,), (1388754894,), (1388755228,), (1388755230,), (1388755338,), (1388755354,), (1388755414,), (1388755419,), (1388755422,), (1388755427,), (1388755437,), (1388755467,), (1388755470,), (1388755473,), (1388755476,), (1388755483,), (1388755522,), (1388755525,), (1388755527,), (1388755622,), (1388755623,), (1388755624,), (1388755626,), (1388755629,), (1388755650,), (1388755677,), (1388755687,), (1388755691,), (1388755858,), (1388755860,), (1388755862,), (1388755975,), (1388755977,), (1388755978,), (1388755981,), (1388756047,), (1388756049,), (1388756051,), (1388756054,), (1388756057,), (1388756060,), (1388756844,), (1388756848,), (1388756851,), (1388756854,), (1388756858,), (1388757160,), (1388757149,), (1388757156,), (1388757229,), (1388757231,), (1388757245,), (1388757249,), (1388757252,), (1388757256,), (1388758216,), (1388758217,), (1388758325,), (1388758328,), (1388758429,), (1388758432,), (1388758435,), (1388758439,), (1388758456,), (1388758457,), (1388758458,), (1388758461,), (1388758465,), (1388758476,), (1388759500,), (1388759503,), (1388759505,), (1388759509,), (1388759514,), (1388759519,), (1388759831,), (1388759840,), (1388759890,), (1388759893,), (1388760013,), (1388760015,), (1388760016,), (1388760019,), (1388760022,), (1388760025,), (1388760041,), (1388760056,), (1388760057,), (1388760059,), (1388760078,), (1388760080,), (1388760082,), (1388760084,), (1388760088,), (1388760099,), (1388760101,), (1388760103,), (1388760107,), (1388760111,), (1388760223,), (1388760226,), (1388760237,), (1388760310,), (1388760311,), (1388760312,), (1388760314,), (1388760321,), (1388760327,), (1388760365,), (1388760368,), (1388760379,), (1388760430,), (1388760433,), (1388760438,), (1388760440,), (1388760531,), (1388760518,), (1388760521,), (1388760527,), (1388760606,), (1388760608,), (1388760626,), (1388760630,), (1388760650,), (1388760653,), (1388760656,), (1388760660,), (1388760663,), (1388760666,), (1388760681,), (1388760726,), (1388760751,), (1388760752,), (1388760770,), (1388760772,), (1388760843,), (1388760855,), (1388760858,), (1388760862,), (1388760868,), (1388760931,), (1388760938,), (1388760945,), (1388760948,), (1388760954,), (1388760967,), (1388760970,), (1388760972,), (1388760976,), (1388760997,), (1388760999,), (1388761002,), (1388761021,), (1388761027,), (1388761030,), (1388761052,), (1388761055,), (1388761058,), (1388761062,), (1388761065,), (1388761073,), (1388761075,), (1388761077,), (1388761080,), (1388761174,), (1388761176,), (1388761177,), (1388761180,), (1388761184,), (1388761198,), (1388761200,), (1388761202,), (1388761205,), (1388761244,), (1388761249,), (1388761251,), (1388761255,), (1388761259,), (1388761436,), (1388761273,), (1388761433,), (1388761490,), (1388761514,), (1388761517,), (1388761524,), (1388761527,), (1388761591,), (1388761593,), (1388761594,), (1388761598,), (1388761603,), (1388761612,), (1388761641,), (1388761644,), (1388761646,), (1388761757,), (1388761773,), (1388761783,), (1388761787,), (1388761790,), (1388761797,), (1388761919,), (1388761922,), (1388761924,), (1388761926,), (1388761941,), (1388761947,), (1388761949,), (1388761973,), (1388761976,), (1388761985,), (1388761988,), (1388761991,), (1388761994,), (1388762084,), (1388762086,), (1388762090,), (1388762095,), (1388762099,), (1388762133,), (1388762135,), (1388762136,), (1388762139,), (1388762194,), (1388762205,), (1388762213,), (1388762459,), (1388762473,), (1388762475,), (1388762499,), (1388762721,), (1388762734,), (1388762772,), (1388762789,), (1388762792,), (1388763006,), (1388763012,), (1388763013,), (1388763016,), (1388763282,), (1388763284,), (1388763301,), (1388763304,), (1388763403,), (1388763391,), (1388763393,), (1388763394,), (1388763396,), (1388763400,), (1388763422,), (1388763432,), (1388763434,), (1388763440,), (1388763476,), (1388763478,), (1388763480,), (1388763483,), (1388763488,), (1388763502,), (1388763539,), (1388763573,), (1388763574,), (1388763584,), (1388763595,), (1388763603,), (1388763611,), (1388763614,), (1388763625,), (1388763673,), (1388763676,), (1388763679,), (1388763690,), (1388763694,), (1388763707,), (1388763710,), (1388763712,), (1388763716,), (1388763719,), (1388763721,), (1388763740,), (1388763742,), (1388763743,), (1388763760,), (1388763773,), (1388763777,), (1388763780,), (1388763783,), (1388763785,), (1388763819,), (1388763825,), (1388763827,), (1388763831,), (1388763835,), (1388763844,), (1388763879,), (1388763880,), (1388763943,), (1388763945,), (1388763947,), (1388763952,), (1388763957,), (1388763963,), (1388763996,), (1388763998,), (1388764000,), (1388764004,), (1388764008,), (1388764011,), (1388764446,), (1388764448,), (1388764451,), (1388764460,), (1388764463,), (1388764466,), (1388764468,), (1388764471,), (1388766674,), (1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10102025': {'nb_upload': 66, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27707417]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] map_info['map_portfolio_photo'] : {27707417: [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305, 1388768300, 1388768277, 1388768275, 1388768274, 1388768272, 1388768249, 1388768244, 1388767991, 1388767896, 1388767879, 1388767875, 1388767871, 1388767869, 1388767867, 1388767853, 1388767850, 1388767849, 1388767847, 1388767812, 1388767809, 1388767805, 1388767801, 1388767796, 1388767766, 1388767763, 1388767760, 1388767758, 1388767757, 1388767755, 1388767731, 1388767728, 1388767726, 1388767722, 1388767712, 1388767709, 1388767686, 1388767682, 1388767674, 1388767672, 1388767634, 1388767591, 1388767589, 1388767540, 1388767142, 1388767096, 1388767093, 1388767080, 1388766849, 1388766840, 1388765836, 1388764987, 1388764478]} final : True mtd_id 4302 list_pids : [1388768370, 1388768364, 1388768363, 1388768360, 1388768351, 1388768348, 1388768341, 1388768339, 1388768337, 1388768336, 1388768316, 1388768312, 1388768309, 1388768305] Looping around the photos to save general results len do output : 1 /27707417Didn'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, '3925503') ('4302', '27707417', '1388768370', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503') ('4302', None, None, None, None, None, None, None, '3925503') ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '27707417', 'None', None, None, None, None, '3925503'), ('4302', '27707417', '1388768370', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768364', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768363', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768360', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768351', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768348', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768341', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768339', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768337', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768336', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768316', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768312', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768309', None, None, None, None, None, '3925503'), ('4302', '27707417', '1388768305', None, None, None, None, None, '3925503')] time used for this insertion : 0.03698563575744629 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.298496723175049 time spend to save output : 0.03724551200866699 total time spend for step 5 : 10.335742235183716 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 (3925503) 2.18user 2.73system 0:21.75elapsed 22%CPU (0avgtext+0avgdata 161044maxresident)k 456inputs+17392outputs (0major+75085minor)pagefaults 0swaps