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 : 599966 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 (3738195) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3738195) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972338 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3738195'] with mtr_portfolio_ids : ['26972338'] and first list_photo_ids : [] new path : /proc/599966/ Name: python3 Umask: 0002 State: R (running) Tgid: 599966 Ngid: 0 Pid: 599966 PPid: 599965 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 599966 NSpid: 599966 NSpgid: 598676 NSsid: 598676 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97644 kB VmRSS: 97644 kB RssAnon: 60168 kB RssFile: 37476 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 97 nonvoluntary_ctxt_switches: 175 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '599966', 'Ngid': '0', 'Pid': '599966', 'PPid': '599965', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '599966', 'NSpid': '599966', 'NSpgid': '598676', 'NSsid': '598676', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97644 kB', 'VmRSS': '97644 kB', 'RssAnon': '60168 kB', 'RssFile': '37476 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '97', 'nonvoluntary_ctxt_switches': '175'} ('datou_batch_current', '599966', '1107252', '0', '1107252', '866004', '97644', b'', 'marlene', '3738195') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26972338) 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 (3738195 ) ) 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 (26972338) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1384486120, 'portfolio_id': 26972338}, {'photo_id': 1384486074, 'portfolio_id': 26972338}, {'photo_id': 1384486027, 'portfolio_id': 26972338}, {'photo_id': 1384485524, 'portfolio_id': 26972338}, {'photo_id': 1384485471, 'portfolio_id': 26972338}, {'photo_id': 1384485418, 'portfolio_id': 26972338}, {'photo_id': 1384485367, 'portfolio_id': 26972338}, {'photo_id': 1384485304, 'portfolio_id': 26972338}, {'photo_id': 1384485257, 'portfolio_id': 26972338}, {'photo_id': 1384484500, 'portfolio_id': 26972338}, {'photo_id': 1384484410, 'portfolio_id': 26972338}, {'photo_id': 1384484357, 'portfolio_id': 26972338}, {'photo_id': 1384484310, 'portfolio_id': 26972338}, {'photo_id': 1384484258, 'portfolio_id': 26972338}, {'photo_id': 1384483804, 'portfolio_id': 26972338}, {'photo_id': 1384483776, 'portfolio_id': 26972338}, {'photo_id': 1384483749, 'portfolio_id': 26972338}, {'photo_id': 1384483742, 'portfolio_id': 26972338}, {'photo_id': 1384483741, 'portfolio_id': 26972338}, {'photo_id': 1384483729, 'portfolio_id': 26972338}, {'photo_id': 1384483725, 'portfolio_id': 26972338}, {'photo_id': 1384483720, 'portfolio_id': 26972338}, {'photo_id': 1384483715, 'portfolio_id': 26972338}, {'photo_id': 1384483714, 'portfolio_id': 26972338}, {'photo_id': 1384483588, 'portfolio_id': 26972338}, {'photo_id': 1384483556, 'portfolio_id': 26972338}, {'photo_id': 1384483496, 'portfolio_id': 26972338}, {'photo_id': 1384483444, 'portfolio_id': 26972338}, {'photo_id': 1384483385, 'portfolio_id': 26972338}, {'photo_id': 1384483319, 'portfolio_id': 26972338}, {'photo_id': 1384482869, 'portfolio_id': 26972338}, {'photo_id': 1384482827, 'portfolio_id': 26972338}, {'photo_id': 1384482792, 'portfolio_id': 26972338}, {'photo_id': 1384482728, 'portfolio_id': 26972338}, {'photo_id': 1384482627, 'portfolio_id': 26972338}, {'photo_id': 1384482550, 'portfolio_id': 26972338}, {'photo_id': 1384480802, 'portfolio_id': 26972338}, {'photo_id': 1384480658, 'portfolio_id': 26972338}, {'photo_id': 1384480505, 'portfolio_id': 26972338}, {'photo_id': 1384479497, 'portfolio_id': 26972338}, {'photo_id': 1384479415, 'portfolio_id': 26972338}, {'photo_id': 1384479377, 'portfolio_id': 26972338}, {'photo_id': 1384479354, 'portfolio_id': 26972338}, {'photo_id': 1384479333, 'portfolio_id': 26972338}, {'photo_id': 1384479311, 'portfolio_id': 26972338}, {'photo_id': 1384478567, 'portfolio_id': 26972338}, {'photo_id': 1384478441, 'portfolio_id': 26972338}, {'photo_id': 1384478316, 'portfolio_id': 26972338}, {'photo_id': 1384478204, 'portfolio_id': 26972338}, {'photo_id': 1384478093, 'portfolio_id': 26972338}, {'photo_id': 1384477001, 'portfolio_id': 26972338}, {'photo_id': 1384476928, 'portfolio_id': 26972338}, {'photo_id': 1384476855, 'portfolio_id': 26972338}, {'photo_id': 1384476779, 'portfolio_id': 26972338}, {'photo_id': 1384476394, 'portfolio_id': 26972338}, {'photo_id': 1384476339, 'portfolio_id': 26972338}, {'photo_id': 1384476291, 'portfolio_id': 26972338}, {'photo_id': 1384476236, 'portfolio_id': 26972338}, {'photo_id': 1384476187, 'portfolio_id': 26972338}] map_portfolio_id_photo_id: {26972338: [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550, 1384480802, 1384480658, 1384480505, 1384479497, 1384479415, 1384479377, 1384479354, 1384479333, 1384479311, 1384478567, 1384478441, 1384478316, 1384478204, 1384478093, 1384477001, 1384476928, 1384476855, 1384476779, 1384476394, 1384476339, 1384476291, 1384476236, 1384476187]} ##### 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.014485359191894531 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Sep 17 22:12: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 (26972338) 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 : 26972338 get user id for portfolio 26972338 get sub ptf for main ptf 26972338, type 3726 and hashtags ['environnement', 'flou', 'kraft', 'Teint_Dans_La_Masse', 'metal', 'Carton_gris', 'plastique', 'mal_croppe', 'Carton_brun', 'autre_refus', 'cartonnette', 'papier'] 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`=26972338 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','kraft','Teint_Dans_La_Masse','metal','Carton_gris','plastique','mal_croppe','Carton_brun','autre_refus','cartonnette','papier')) 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`=26972338 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','kraft','Teint_Dans_La_Masse','metal','Carton_gris','plastique','mal_croppe','Carton_brun','autre_refus','cartonnette','papier')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26972338, 'sub_port_id': 26972349, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194898, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'kraft': {'main_port_id': 26972338, 'sub_port_id': 26972350, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194899, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'plastique': {'main_port_id': 26972338, 'sub_port_id': 26972351, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194900, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26972338, 'sub_port_id': 26972352, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194901, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'papier': {'main_port_id': 26972338, 'sub_port_id': 26972353, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194902, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'environnement': {'main_port_id': 26972338, 'sub_port_id': 26972354, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194903, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'cartonnette': {'main_port_id': 26972338, 'sub_port_id': 26972355, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194904, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'mal_croppe': {'main_port_id': 26972338, 'sub_port_id': 26972356, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194905, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'Carton_gris': {'main_port_id': 26972338, 'sub_port_id': 26972357, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194906, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'flou': {'main_port_id': 26972338, 'sub_port_id': 26972358, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194907, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'metal': {'main_port_id': 26972338, 'sub_port_id': 26972359, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194908, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}, 'Carton_brun': {'main_port_id': 26972338, 'sub_port_id': 26972360, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194909, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26972349 , 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=26972338 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 (26972349) result : ((1384485724,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972350 , 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=26972338 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 (26972350) result : ((1384483711,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972351 , 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=26972338 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 (26972351) result : ((1384485762,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972352 , 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=26972338 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 (26972352) result : ((1384481524,), (1384481532,), (1384483693,), (1384483694,), (1384483716,), (1384483717,), (1384483718,), (1384485701,), (1384485704,), (1384485707,), (1384485710,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972353 , 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=26972338 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 (26972353) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972354 , 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=26972338 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 (26972354) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972355 , 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=26972338 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 (26972355) result : ((1384481611,), (1384481618,), (1384483721,), (1384483722,), (1384483903,), (1384483906,), (1384483910,), (1384483914,), (1384483917,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972356 , 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=26972338 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 (26972356) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972357 , 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=26972338 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 (26972357) result : ((1384481565,), (1384483696,), (1384483719,), (1384485736,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972358 , 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=26972338 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 (26972358) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972359 , 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=26972338 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 (26972359) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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 26972360 , 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=26972338 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 (26972360) result : ((1384481660,), (1384483703,), (1384483724,), (1384483932,), (1384485749,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26972338) result : ((1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) 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 (1384484500) 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`=26972338 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','kraft','Teint_Dans_La_Masse','metal','Carton_gris','plastique','mal_croppe','Carton_brun','autre_refus','cartonnette','papier')) 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`=26972338 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','kraft','Teint_Dans_La_Masse','metal','Carton_gris','plastique','mal_croppe','Carton_brun','autre_refus','cartonnette','papier')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26972338, 'sub_port_id': 26972361, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194910, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'kraft': {'main_port_id': 26972338, 'sub_port_id': 26972362, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194911, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'plastique': {'main_port_id': 26972338, 'sub_port_id': 26972363, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194912, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 26972338, 'sub_port_id': 26972364, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194913, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'papier': {'main_port_id': 26972338, 'sub_port_id': 26972365, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194914, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'environnement': {'main_port_id': 26972338, 'sub_port_id': 26972366, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194915, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'cartonnette': {'main_port_id': 26972338, 'sub_port_id': 26972367, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194916, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'mal_croppe': {'main_port_id': 26972338, 'sub_port_id': 26972368, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194917, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'Carton_gris': {'main_port_id': 26972338, 'sub_port_id': 26972369, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194918, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'flou': {'main_port_id': 26972338, 'sub_port_id': 26972370, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194919, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'metal': {'main_port_id': 26972338, 'sub_port_id': 26972371, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194920, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 5, 1), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}, 'Carton_brun': {'main_port_id': 26972338, 'sub_port_id': 26972372, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18194921, 'last_updated_at': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 17, 22, 6, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 17, 22, 5, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972361,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972349 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972362,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972350 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972363,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972351 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972364,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972352 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972365,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972353 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972366,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972354 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972367,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972355 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972368,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972356 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972369,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972357 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972370,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972358 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972371,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972359 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26972372,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26972360 lien utilise dans velours : https://marlene.fotonower.com/velours/26972361,26972362,26972363,26972364,26972365,26972366,26972367,26972368,26972369,26972370,26972371,26972372?tags=autre_refus,kraft,plastique,Teint_Dans_La_Masse,papier,environnement,cartonnette,mal_croppe,Carton_gris,flou,metal,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26972338]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] map_info['map_portfolio_photo'] : {26972338: [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550, 1384480802, 1384480658, 1384480505, 1384479497, 1384479415, 1384479377, 1384479354, 1384479333, 1384479311, 1384478567, 1384478441, 1384478316, 1384478204, 1384478093, 1384477001, 1384476928, 1384476855, 1384476779, 1384476394, 1384476339, 1384476291, 1384476236, 1384476187]} final : False mtd_id 4302 list_pids : [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] Looping around the photos to save general results len do output : 1 /26972338. 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, '3738195') ('4302', '26972338', '1384486120', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26972338', "{'autre_refus': 26972349, 'kraft': 26972350, 'plastique': 26972351, 'Teint_Dans_La_Masse': 26972352, 'papier': 26972353, 'environnement': 26972354, 'cartonnette': 26972355, 'mal_croppe': 26972356, 'Carton_gris': 26972357, 'flou': 26972358, 'metal': 26972359, 'Carton_brun': 26972360}", None, None, None, None, '3738195'), ('4302', '26972338', '1384486120', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195')] time used for this insertion : 0.018280029296875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5793740749359131 time spend to save output : 0.01938486099243164 total time spend for step 1 : 0.5987589359283447 step2:final Wed Sep 17 22:12: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 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 (26972338) 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 26972338 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1384476394,1384476339,1384476291,1384476236,1384476187,1384477001,1384476928,1384476855,1384476779,1384478567,1384478441,1384478316,1384478204,1384478093,1384479497,1384479415,1384479377,1384479354,1384479333,1384479311,1384480802,1384480658,1384480505,1384482869,1384482827,1384482792,1384482728,1384482627,1384482550,1384483588,1384483556,1384483496,1384483444,1384483385,1384483319,1384483729,1384483725,1384483720,1384483715,1384483714,1384483804,1384483776,1384483749,1384483742,1384483741,1384484500,1384484410,1384484357,1384484310,1384484258,1384485524,1384485471,1384485418,1384485367,1384485304,1384485257,1384486120,1384486074,1384486027); 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([26972338]) Inside saveOutput : final : False verbose : True original output for save of step final : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} new output for save of step final : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] map_info['map_portfolio_photo'] : {26972338: [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550, 1384480802, 1384480658, 1384480505, 1384479497, 1384479415, 1384479377, 1384479354, 1384479333, 1384479311, 1384478567, 1384478441, 1384478316, 1384478204, 1384478093, 1384477001, 1384476928, 1384476855, 1384476779, 1384476394, 1384476339, 1384476291, 1384476236, 1384476187]} final : False mtd_id 4302 list_pids : [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] Looping around the photos to save general results len do output : 36 /1384486120.Didn't retrieve data . /1384486074.Didn't retrieve data . /1384486027.Didn't retrieve data . /1384485524.Didn't retrieve data . /1384485471.Didn't retrieve data . /1384485418.Didn't retrieve data . /1384485367.Didn't retrieve data . /1384485304.Didn't retrieve data . /1384485257.Didn't retrieve data . /1384484500.Didn't retrieve data . /1384484410.Didn't retrieve data . /1384484357.Didn't retrieve data . /1384484310.Didn't retrieve data . /1384484258.Didn't retrieve data . /1384483804.Didn't retrieve data . /1384483776.Didn't retrieve data . /1384483749.Didn't retrieve data . /1384483742.Didn't retrieve data . /1384483741.Didn't retrieve data . /1384483729.Didn't retrieve data . /1384483725.Didn't retrieve data . /1384483720.Didn't retrieve data . /1384483715.Didn't retrieve data . /1384483714.Didn't retrieve data . /1384483588.Didn't retrieve data . /1384483556.Didn't retrieve data . /1384483496.Didn't retrieve data . /1384483444.Didn't retrieve data . /1384483385.Didn't retrieve data . /1384483319.Didn't retrieve data . /1384482869.Didn't retrieve data . /1384482827.Didn't retrieve data . /1384482792.Didn't retrieve data . /1384482728.Didn't retrieve data . /1384482627.Didn't retrieve data . /1384482550.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, '3738195') ('4302', '26972338', '1384486120', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '26972338', '1384486120', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384486074', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384486027', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384485524', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384485471', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384485418', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384485367', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384485304', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384485257', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384484500', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384484410', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384484357', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384484310', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384484258', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483804', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483776', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483749', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483742', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483741', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483729', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483725', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483720', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483715', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483714', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483588', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483556', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483496', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483444', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483385', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384483319', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384482869', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384482827', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384482792', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384482728', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384482627', '0.0367646861182146', None, None, None, None, '3738195'), ('4302', '26972338', '1384482550', '0.0367646861182146', None, None, None, None, '3738195')] time used for this insertion : 0.016161680221557617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06686544418334961 time spend to save output : 0.01758122444152832 total time spend for step 2 : 0.08444666862487793 step3:velours_tree Wed Sep 17 22:12: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 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 : {26972338: [{'autre_refus': 26972349, 'kraft': 26972350, 'plastique': 26972351, 'Teint_Dans_La_Masse': 26972352, 'papier': 26972353, 'environnement': 26972354, 'cartonnette': 26972355, 'mal_croppe': 26972356, 'Carton_gris': 26972357, 'flou': 26972358, 'metal': 26972359, 'Carton_brun': 26972360}]} input_args_next_step : {26972338: ()} output_args : {26972338: [{'autre_refus': 26972349, 'kraft': 26972350, 'plastique': 26972351, 'Teint_Dans_La_Masse': 26972352, 'papier': 26972353, 'environnement': 26972354, 'cartonnette': 26972355, 'mal_croppe': 26972356, 'Carton_gris': 26972357, 'flou': 26972358, 'metal': 26972359, 'Carton_brun': 26972360}]} args : 26972338 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'autre_refus': 26972349, 'kraft': 26972350, 'plastique': 26972351, 'Teint_Dans_La_Masse': 26972352, 'papier': 26972353, 'environnement': 26972354, 'cartonnette': 26972355, 'mal_croppe': 26972356, 'Carton_gris': 26972357, 'flou': 26972358, 'metal': 26972359, 'Carton_brun': 26972360},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26972338) 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([26972338]) 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.46402764320373535 time spend to save output : 6.246566772460938e-05 total time spend for step 3 : 0.46409010887145996 step4:send_mail_cod Wed Sep 17 22:12:59 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 : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} input_args_next_step : {1384486120: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384486120 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384486074 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384486027 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384485524 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384485471 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384485418 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384485367 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384485304 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384485257 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384484500 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384484410 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384484357 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384484310 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384484258 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483804 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483776 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483749 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483742 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483741 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483729 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483725 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483720 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483715 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483714 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483588 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483556 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483496 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483444 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483385 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384483319 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384482869 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384482827 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384482792 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384482728 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384482627 depend.output_id : 0 input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ()} output_args : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',)} args : 1384482550 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 : {26972338: [{'autre_refus': 26972349, 'kraft': 26972350, 'plastique': 26972351, 'Teint_Dans_La_Masse': 26972352, 'papier': 26972353, 'environnement': 26972354, 'cartonnette': 26972355, 'mal_croppe': 26972356, 'Carton_gris': 26972357, 'flou': 26972358, 'metal': 26972359, 'Carton_brun': 26972360}]} input_args_next_step : {1384486120: ('0.0367646861182146',), 1384486074: ('0.0367646861182146',), 1384486027: ('0.0367646861182146',), 1384485524: ('0.0367646861182146',), 1384485471: ('0.0367646861182146',), 1384485418: ('0.0367646861182146',), 1384485367: ('0.0367646861182146',), 1384485304: ('0.0367646861182146',), 1384485257: ('0.0367646861182146',), 1384484500: ('0.0367646861182146',), 1384484410: ('0.0367646861182146',), 1384484357: ('0.0367646861182146',), 1384484310: ('0.0367646861182146',), 1384484258: ('0.0367646861182146',), 1384483804: ('0.0367646861182146',), 1384483776: ('0.0367646861182146',), 1384483749: ('0.0367646861182146',), 1384483742: ('0.0367646861182146',), 1384483741: ('0.0367646861182146',), 1384483729: ('0.0367646861182146',), 1384483725: ('0.0367646861182146',), 1384483720: ('0.0367646861182146',), 1384483715: ('0.0367646861182146',), 1384483714: ('0.0367646861182146',), 1384483588: ('0.0367646861182146',), 1384483556: ('0.0367646861182146',), 1384483496: ('0.0367646861182146',), 1384483444: ('0.0367646861182146',), 1384483385: ('0.0367646861182146',), 1384483319: ('0.0367646861182146',), 1384482869: ('0.0367646861182146',), 1384482827: ('0.0367646861182146',), 1384482792: ('0.0367646861182146',), 1384482728: ('0.0367646861182146',), 1384482627: ('0.0367646861182146',), 1384482550: ('0.0367646861182146',), 26972338: ()} output_args : {26972338: [{'autre_refus': 26972349, 'kraft': 26972350, 'plastique': 26972351, 'Teint_Dans_La_Masse': 26972352, 'papier': 26972353, 'environnement': 26972354, 'cartonnette': 26972355, 'mal_croppe': 26972356, 'Carton_gris': 26972357, 'flou': 26972358, 'metal': 26972359, 'Carton_brun': 26972360}]} args : 26972338 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 :37, first value : ('0.0367646861182146',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26972338) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1384486120,1384486074,1384486027,1384485524,1384485471,1384485418,1384485367,1384485304,1384485257,1384484500,1384484410,1384484357,1384484310,1384484258,1384483804,1384483776,1384483749,1384483742,1384483741,1384483729,1384483725,1384483720,1384483715,1384483714,1384483588,1384483556,1384483496,1384483444,1384483385,1384483319,1384482869,1384482827,1384482792,1384482728,1384482627,1384482550) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1384482550 begin to download photo : 1384483444 begin to download photo : 1384483729 begin to download photo : 1384484357 begin to download photo : 1384485524 download finish for photo 1384485524 begin to download photo : 1384486027 download finish for photo 1384484357 begin to download photo : 1384484410 download finish for photo 1384483444 begin to download photo : 1384483496 download finish for photo 1384482550 begin to download photo : 1384482627 download finish for photo 1384483729 begin to download photo : 1384483741 download finish for photo 1384486027 begin to download photo : 1384486074 download finish for photo 1384483496 begin to download photo : 1384483556 download finish for photo 1384482627 begin to download photo : 1384482728 download finish for photo 1384484410 begin to download photo : 1384484500 download finish for photo 1384483741 begin to download photo : 1384483742 download finish for photo 1384486074 begin to download photo : 1384486120 download finish for photo 1384484500 begin to download photo : 1384485257 download finish for photo 1384483556 begin to download photo : 1384483588 download finish for photo 1384482728 begin to download photo : 1384482792 download finish for photo 1384483742 begin to download photo : 1384483749 download finish for photo 1384486120 download finish for photo 1384482792 begin to download photo : 1384482827 download finish for photo 1384483588 begin to download photo : 1384483714 download finish for photo 1384485257 begin to download photo : 1384485304 download finish for photo 1384483749 begin to download photo : 1384483776 download finish for photo 1384482827 begin to download photo : 1384482869 download finish for photo 1384483714 begin to download photo : 1384483715 download finish for photo 1384483776 begin to download photo : 1384483804 download finish for photo 1384485304 begin to download photo : 1384485367 download finish for photo 1384482869 begin to download photo : 1384483319 download finish for photo 1384483715 begin to download photo : 1384483720 download finish for photo 1384485367 begin to download photo : 1384485418 download finish for photo 1384483804 begin to download photo : 1384484258 download finish for photo 1384483319 begin to download photo : 1384483385 download finish for photo 1384485418 begin to download photo : 1384485471 download finish for photo 1384483720 begin to download photo : 1384483725 download finish for photo 1384484258 begin to download photo : 1384484310 download finish for photo 1384483385 download finish for photo 1384485471 download finish for photo 1384483725 download finish for photo 1384484310 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 : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P26972338_17-09-2025_22_13_00.pdf 26972349 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972349 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384485724: '1758139865_2061901_1384483444_b10d3e51a56db23e01b151949d23e489_rle_crop_3963491162_0.png'} change filename to text .imagette269723491758139980/ imagette269723491758139980/1758139865_2061901_1384483444_b10d3e51a56db23e01b151949d23e489_rle_crop_3963491162_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/2ce3fe04fd3489c649c2efcf2126d6bb_39925842.png imagette269723491758139980 26972350 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972350 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384483711: '1758139625_2051599_1384478204_67de3f1655c3868d15ef666fab5adbfd_rle_crop_3963482049_0.png'} change filename to text .imagette269723501758139980/ imagette269723501758139980/1758139625_2051599_1384478204_67de3f1655c3868d15ef666fab5adbfd_rle_crop_3963482049_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/8fc621611ebc523db2e36bea98601759_26813443.png imagette269723501758139980 26972351 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972351 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384485762: '1758139865_2061901_1384483385_84d9f2201eafa313edee33c91f9423eb_rle_crop_3963491173_0.png'} change filename to text .imagette269723511758139980/ imagette269723511758139980/1758139865_2061901_1384483385_84d9f2201eafa313edee33c91f9423eb_rle_crop_3963491173_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/ba2865ac48416b739940e0620acc0c52_90224354.png imagette269723511758139980 26972355 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972355 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384481611: '1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473506_0.png', 1384481618: '1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473501_0.png', 1384483721: '1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473506_0.png', 1384483722: '1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473501_0.png', 1384483903: '1758139745_2058128_1384479415_50928eb99d00a1410c4ba070a4cb3447_rle_crop_3963486187_0.png', 1384483906: '1758139745_2058128_1384479354_972ad42725871aaf7bece8fbf6729efe_rle_crop_3963486208_0.png', 1384483910: '1758139745_2058128_1384479354_972ad42725871aaf7bece8fbf6729efe_rle_crop_3963486207_0.png', 1384483914: '1758139745_2058128_1384479333_2c1380e2db4226dfe92dba0025a176e3_rle_crop_3963486221_0.png', 1384483917: '1758139745_2058128_1384479311_7b34d0a6ae4a52a4f8c9c82b70074760_rle_crop_3963486231_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/c354f0678ecb863faf55fc7e42bd391d_11285567.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/31d98d93226eb58c105074de9f14fb31_12785627.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/c354f0678ecb863faf55fc7e42bd391d_75310440.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/31d98d93226eb58c105074de9f14fb31_79245574.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/8b5e58e59a9aa1093fd13679861ae140_99815735.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/c39b8dc60c44866a4d47dacb85b9d83b_5288962.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/3f41be03b2b54d41f2383c1a22e99b16_87362739.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/83de5689a65494e44c3b0108e88af1f7_32268164.png change filename to text .imagette269723551758139980/ imagette269723551758139980/1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473506_0.png.png imagette269723551758139980/1758139745_2058128_1384479311_7b34d0a6ae4a52a4f8c9c82b70074760_rle_crop_3963486231_0.png.png imagette269723551758139980/1758139745_2058128_1384479415_50928eb99d00a1410c4ba070a4cb3447_rle_crop_3963486187_0.png.png imagette269723551758139980/1758139745_2058128_1384479333_2c1380e2db4226dfe92dba0025a176e3_rle_crop_3963486221_0.png.png imagette269723551758139980/1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473501_0.png.png imagette269723551758139980/1758139745_2058128_1384479354_972ad42725871aaf7bece8fbf6729efe_rle_crop_3963486208_0.png.png imagette269723551758139980/1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473506_0.png.png imagette269723551758139980/1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473501_0.png.png imagette269723551758139980/1758139745_2058128_1384479354_972ad42725871aaf7bece8fbf6729efe_rle_crop_3963486207_0.png.png imagette269723561758139981/ imagette269723581758139981/ imagette269723591758139981/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/21c9ad4edab832ae84b2c535a82ae3d9_8715999.png imagette269723551758139980 26972356 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972356 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette269723561758139981 26972358 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972358 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette269723581758139981 26972359 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972359 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette269723591758139981 26972352 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972352 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384481524: '1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473507_0.png', 1384481532: '1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473513_0.png', 1384483693: '1758139625_2051599_1384478204_67de3f1655c3868d15ef666fab5adbfd_rle_crop_3963482054_0.png', 1384483694: '1758139625_2051599_1384478204_67de3f1655c3868d15ef666fab5adbfd_rle_crop_3963482058_0.png', 1384483716: '1758139646_2052489_1384478567_904a60aefb84543fd08901b2ae11284c_rle_crop_3963484557_0.png', 1384483717: '1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473507_0.png', 1384483718: '1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473513_0.png', 1384485701: '1758139865_2061901_1384483496_58592122519232d10efc83f4443af06d_rle_crop_3963491139_0.png', 1384485704: '1758139865_2061901_1384483496_58592122519232d10efc83f4443af06d_rle_crop_3963491136_0.png', 1384485707: '1758139865_2061901_1384483444_b10d3e51a56db23e01b151949d23e489_rle_crop_3963491158_0.png', 1384485710: '1758139865_2061901_1384483319_6d04fa6d8fda4f28fc5c111af69eff1f_rle_crop_3963491184_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/ba083d3ef66c97313c246e5b525d68cf_92302756.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/f527d1cfeab5403699ca664595012b58_74383501.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/d0d0e811ac234477203986f2b04aaa2a_25885045.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/fab8fb4c7d958debd81efe0dacded2e9_69567297.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/93163d2d365a754fa2086ae4e614a630_22163354.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/ba083d3ef66c97313c246e5b525d68cf_20734673.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/f527d1cfeab5403699ca664595012b58_81006267.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/e38c735d096b16dda5b0f0d9c63a0918_91225766.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/d1da8cde2cb03a54bf62335dd35e5213_79049617.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/55da61a4b70be7d078b3cc219c973768_50193302.png change filename to text .imagette269723521758139981/ imagette269723521758139981/1758139865_2061901_1384483496_58592122519232d10efc83f4443af06d_rle_crop_3963491139_0.png.png imagette269723521758139981/1758139865_2061901_1384483444_b10d3e51a56db23e01b151949d23e489_rle_crop_3963491158_0.png.png imagette269723521758139981/1758139865_2061901_1384483496_58592122519232d10efc83f4443af06d_rle_crop_3963491136_0.png.png imagette269723521758139981/1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473513_0.png.png imagette269723521758139981/1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473507_0.png.png imagette269723521758139981/1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473507_0.png.png imagette269723521758139981/1758139625_2051599_1384478204_67de3f1655c3868d15ef666fab5adbfd_rle_crop_3963482054_0.png.png imagette269723521758139981/1758139625_2051599_1384478204_67de3f1655c3868d15ef666fab5adbfd_rle_crop_3963482058_0.png.png imagette269723521758139981/1758139865_2061901_1384483319_6d04fa6d8fda4f28fc5c111af69eff1f_rle_crop_3963491184_0.png.png imagette269723521758139981/1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473513_0.png.png imagette269723521758139981/1758139646_2052489_1384478567_904a60aefb84543fd08901b2ae11284c_rle_crop_3963484557_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/cc31376c017c167374ad1114da27cc84_37936917.png imagette269723521758139981 26972357 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972357 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384481565: '1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473511_0.png', 1384483696: '1758139625_2051599_1384478441_04258ee2629bbcab420b128fea4c82cd_rle_crop_3963482027_0.png', 1384483719: '1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473511_0.png', 1384485736: '1758139865_2061901_1384483556_4599aad32a89f1ef26e1f3abc0f215b9_rle_crop_3963491125_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/ac40bba9ab82c727b6a04733727f1fbf_89124509.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/ac7ceabb01fac9ef69b6da2edc0816bf_81642374.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/ac40bba9ab82c727b6a04733727f1fbf_19589978.png change filename to text .imagette269723571758139981/ imagette269723571758139981/1758139625_2051599_1384478441_04258ee2629bbcab420b128fea4c82cd_rle_crop_3963482027_0.png.png imagette269723571758139981/1758139865_2061901_1384483556_4599aad32a89f1ef26e1f3abc0f215b9_rle_crop_3963491125_0.png.png imagette269723571758139981/1758139646_2052489_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473511_0.png.png imagette269723571758139981/1758139506_2044803_1384476855_8a04a985825f7d6e0a7f77250213745e_rle_crop_3963473511_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/4501e7dc1e471a7f486130a836ab8c2f_40077077.png imagette269723571758139981 26972360 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972360 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384481660: '1758139506_2044803_1384476928_57ff687650f80d2bf30f5c713d572160_rle_crop_3963473492_0.png', 1384483703: '1758139625_2051599_1384478093_013bb380306cce31dff7873cc2946d8f_rle_crop_3963483004_0.png', 1384483724: '1758139646_2052489_1384476928_57ff687650f80d2bf30f5c713d572160_rle_crop_3963473492_0.png', 1384483932: '1758139745_2058128_1384480802_cba00ec1eb3ab82b2571e1e2a0ba83bd_rle_crop_3963486175_0.png', 1384485749: '1758139865_2061901_1384483385_84d9f2201eafa313edee33c91f9423eb_rle_crop_3963491175_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/91012e2ab75ebdba96f775ba2063a203_85871283.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/b8aa37504d3d0fff716c73314db64386_80458855.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/91012e2ab75ebdba96f775ba2063a203_11000102.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/b58e6c01b2ce849f5ac931b6057493c2_23572500.png change filename to text .imagette269723601758139982/ imagette269723601758139982/1758139745_2058128_1384480802_cba00ec1eb3ab82b2571e1e2a0ba83bd_rle_crop_3963486175_0.png.png imagette269723601758139982/1758139646_2052489_1384476928_57ff687650f80d2bf30f5c713d572160_rle_crop_3963473492_0.png.png imagette269723601758139982/1758139625_2051599_1384478093_013bb380306cce31dff7873cc2946d8f_rle_crop_3963483004_0.png.png imagette269723601758139982/1758139506_2044803_1384476928_57ff687650f80d2bf30f5c713d572160_rle_crop_3963473492_0.png.png imagette269723601758139982/1758139865_2061901_1384483385_84d9f2201eafa313edee33c91f9423eb_rle_crop_3963491175_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/9fbffd370b0c8f458424f52ba18f7a08_40402007.png imagette269723601758139982 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26972338 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26972361,26972362,26972363,26972364,26972365,26972366,26972367,26972368,26972369,26972370,26972371,26972372?tags=autre_refus,kraft,plastique,Teint_Dans_La_Masse,papier,environnement,cartonnette,mal_croppe,Carton_gris,flou,metal,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1384486120] : ('0.0367646861182146',) no score found for photo 1384486120 We are sending mail with results at report@fotonower.com args[1384486074] : ('0.0367646861182146',) no score found for photo 1384486074 We are sending mail with results at report@fotonower.com args[1384486027] : ('0.0367646861182146',) no score found for photo 1384486027 We are sending mail with results at report@fotonower.com args[1384485524] : ('0.0367646861182146',) no score found for photo 1384485524 We are sending mail with results at report@fotonower.com args[1384485471] : ('0.0367646861182146',) no score found for photo 1384485471 We are sending mail with results at report@fotonower.com args[1384485418] : ('0.0367646861182146',) no score found for photo 1384485418 We are sending mail with results at report@fotonower.com args[1384485367] : ('0.0367646861182146',) no score found for photo 1384485367 We are sending mail with results at report@fotonower.com args[1384485304] : ('0.0367646861182146',) no score found for photo 1384485304 We are sending mail with results at report@fotonower.com args[1384485257] : ('0.0367646861182146',) no score found for photo 1384485257 We are sending mail with results at report@fotonower.com args[1384484500] : ('0.0367646861182146',) no score found for photo 1384484500 We are sending mail with results at report@fotonower.com args[1384484410] : ('0.0367646861182146',) no score found for photo 1384484410 We are sending mail with results at report@fotonower.com args[1384484357] : ('0.0367646861182146',) no score found for photo 1384484357 We are sending mail with results at report@fotonower.com args[1384484310] : ('0.0367646861182146',) no score found for photo 1384484310 We are sending mail with results at report@fotonower.com args[1384484258] : ('0.0367646861182146',) no score found for photo 1384484258 We are sending mail with results at report@fotonower.com args[1384483804] : ('0.0367646861182146',) no score found for photo 1384483804 We are sending mail with results at report@fotonower.com args[1384483776] : ('0.0367646861182146',) no score found for photo 1384483776 We are sending mail with results at report@fotonower.com args[1384483749] : ('0.0367646861182146',) no score found for photo 1384483749 We are sending mail with results at report@fotonower.com args[1384483742] : ('0.0367646861182146',) no score found for photo 1384483742 We are sending mail with results at report@fotonower.com args[1384483741] : ('0.0367646861182146',) no score found for photo 1384483741 We are sending mail with results at report@fotonower.com args[1384483729] : ('0.0367646861182146',) no score found for photo 1384483729 We are sending mail with results at report@fotonower.com args[1384483725] : ('0.0367646861182146',) no score found for photo 1384483725 We are sending mail with results at report@fotonower.com args[1384483720] : ('0.0367646861182146',) no score found for photo 1384483720 We are sending mail with results at report@fotonower.com args[1384483715] : ('0.0367646861182146',) no score found for photo 1384483715 We are sending mail with results at report@fotonower.com args[1384483714] : ('0.0367646861182146',) no score found for photo 1384483714 We are sending mail with results at report@fotonower.com args[1384483588] : ('0.0367646861182146',) no score found for photo 1384483588 We are sending mail with results at report@fotonower.com args[1384483556] : ('0.0367646861182146',) no score found for photo 1384483556 We are sending mail with results at report@fotonower.com args[1384483496] : ('0.0367646861182146',) no score found for photo 1384483496 We are sending mail with results at report@fotonower.com args[1384483444] : ('0.0367646861182146',) no score found for photo 1384483444 We are sending mail with results at report@fotonower.com args[1384483385] : ('0.0367646861182146',) no score found for photo 1384483385 We are sending mail with results at report@fotonower.com args[1384483319] : ('0.0367646861182146',) no score found for photo 1384483319 We are sending mail with results at report@fotonower.com args[1384482869] : ('0.0367646861182146',) no score found for photo 1384482869 We are sending mail with results at report@fotonower.com args[1384482827] : ('0.0367646861182146',) no score found for photo 1384482827 We are sending mail with results at report@fotonower.com args[1384482792] : ('0.0367646861182146',) no score found for photo 1384482792 We are sending mail with results at report@fotonower.com args[1384482728] : ('0.0367646861182146',) no score found for photo 1384482728 We are sending mail with results at report@fotonower.com args[1384482627] : ('0.0367646861182146',) no score found for photo 1384482627 We are sending mail with results at report@fotonower.com args[1384482550] : ('0.0367646861182146',) no score found for photo 1384482550 We are sending mail with results at report@fotonower.com refus_total : 0.0367646861182146 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972338 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_P26972338_17-09-2025_22_13_00.pdf results_Auto_P26972338_17-09-2025_22_13_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26972338_17-09-2025_22_13_00.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','26972338','results_Auto_P26972338_17-09-2025_22_13_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26972338_17-09-2025_22_13_00.pdf','pdf','','0.31','0.0367646861182146') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26972338]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] map_info['map_portfolio_photo'] : {26972338: [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550, 1384480802, 1384480658, 1384480505, 1384479497, 1384479415, 1384479377, 1384479354, 1384479333, 1384479311, 1384478567, 1384478441, 1384478316, 1384478204, 1384478093, 1384477001, 1384476928, 1384476855, 1384476779, 1384476394, 1384476339, 1384476291, 1384476236, 1384476187]} final : False mtd_id 4302 list_pids : [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] 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, '3738195') ('4302', '26972338', '1384486120', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '26972338', '1384486120', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195')] time used for this insertion : 0.01546335220336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.5172507762908936 time spend to save output : 0.015867233276367188 total time spend for step 4 : 5.533118009567261 step5:split_time_score Wed Sep 17 22:13:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26972338'] 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 : [('26972338',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26972338) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1384485524: {'path': 'temp/1758139979_599966_1384485524_55229465622a74ea5c4e5e0e062d5ad4.jpg', 'extension': 'jpg'}, 1384486027: {'path': 'temp/1758139979_599966_1384486027_1cfa3be77dadaa3dcda7f93902ec91ff.jpg', 'extension': 'jpg'}, 1384486074: {'path': 'temp/1758139979_599966_1384486074_c0470a4b328ee1f3dad2f3e8a0944861.jpg', 'extension': 'jpg'}, 1384486120: {'path': 'temp/1758139979_599966_1384486120_dc5dfc6fa83858a88e0524714eb78be3.jpg', 'extension': 'jpg'}, 1384482550: {'path': 'temp/1758139979_599966_1384482550_9219d9c46e9c41de67315f917ae24ad4.jpg', 'extension': 'jpg'}, 1384482627: {'path': 'temp/1758139979_599966_1384482627_acf6bf555bffad838c8e44dfbe2ece48.jpg', 'extension': 'jpg'}, 1384482728: {'path': 'temp/1758139979_599966_1384482728_175582a1768923fa554a523b7b7b9695.jpg', 'extension': 'jpg'}, 1384482792: {'path': 'temp/1758139979_599966_1384482792_2e474b79ade796e0da15c509c9970c18.jpg', 'extension': 'jpg'}, 1384482827: {'path': 'temp/1758139979_599966_1384482827_e3f0d67fc1179361e8b139535589fed9.jpg', 'extension': 'jpg'}, 1384482869: {'path': 'temp/1758139979_599966_1384482869_505c38b473f58ece7155eee7cd9c9036.jpg', 'extension': 'jpg'}, 1384483319: {'path': 'temp/1758139979_599966_1384483319_6d04fa6d8fda4f28fc5c111af69eff1f.jpg', 'extension': 'jpg'}, 1384483385: {'path': 'temp/1758139979_599966_1384483385_84d9f2201eafa313edee33c91f9423eb.jpg', 'extension': 'jpg'}, 1384484357: {'path': 'temp/1758139979_599966_1384484357_476af39e63e651b8120a101aeb6c1ac5.jpg', 'extension': 'jpg'}, 1384484410: {'path': 'temp/1758139979_599966_1384484410_748051aef118e32779b8dacf57b0c552.jpg', 'extension': 'jpg'}, 1384484500: {'path': 'temp/1758139979_599966_1384484500_2e223bdbe234151c902679613b3962a0.jpg', 'extension': 'jpg'}, 1384485257: {'path': 'temp/1758139979_599966_1384485257_4d892868f22bc80b3e20782e346e4e9f.jpg', 'extension': 'jpg'}, 1384485304: {'path': 'temp/1758139979_599966_1384485304_e1e233210d0a2b2e98d33fdc127f50f9.jpg', 'extension': 'jpg'}, 1384485367: {'path': 'temp/1758139979_599966_1384485367_27cd34ab9587289828d59ebcbd129df2.jpg', 'extension': 'jpg'}, 1384485418: {'path': 'temp/1758139979_599966_1384485418_b2dd1e7dfad1fa5cb12982bc9457b388.jpg', 'extension': 'jpg'}, 1384485471: {'path': 'temp/1758139979_599966_1384485471_315b530dff63e3b8c1d285931c1b243e.jpg', 'extension': 'jpg'}, 1384483444: {'path': 'temp/1758139979_599966_1384483444_b10d3e51a56db23e01b151949d23e489.jpg', 'extension': 'jpg'}, 1384483496: {'path': 'temp/1758139979_599966_1384483496_58592122519232d10efc83f4443af06d.jpg', 'extension': 'jpg'}, 1384483556: {'path': 'temp/1758139979_599966_1384483556_4599aad32a89f1ef26e1f3abc0f215b9.jpg', 'extension': 'jpg'}, 1384483588: {'path': 'temp/1758139979_599966_1384483588_76b1505144c8b7c18fecfdeebc1c57f8.jpg', 'extension': 'jpg'}, 1384483714: {'path': 'temp/1758139979_599966_1384483714_39c62e0619ac91823a46df9ed1508a93.jpg', 'extension': 'jpg'}, 1384483715: {'path': 'temp/1758139979_599966_1384483715_72981ed4c2d5c919b85e8d6347ad3497.jpg', 'extension': 'jpg'}, 1384483720: {'path': 'temp/1758139979_599966_1384483720_f0648dd7a95213b05eb833f4dc0bee57.jpg', 'extension': 'jpg'}, 1384483725: {'path': 'temp/1758139979_599966_1384483725_867b105e3b57f10c67469bcb638bef6b.jpg', 'extension': 'jpg'}, 1384483729: {'path': 'temp/1758139979_599966_1384483729_b7001f1ee6d80e3eff53564006d3685c.jpg', 'extension': 'jpg'}, 1384483741: {'path': 'temp/1758139979_599966_1384483741_66028ee8882dedc427c016fe21ef2092.jpg', 'extension': 'jpg'}, 1384483742: {'path': 'temp/1758139979_599966_1384483742_354807a1b912de63c10222091163aa7f.jpg', 'extension': 'jpg'}, 1384483749: {'path': 'temp/1758139979_599966_1384483749_50dc38822f8ec48a1b5a700b41fcb5df.jpg', 'extension': 'jpg'}, 1384483776: {'path': 'temp/1758139979_599966_1384483776_bcbc290ec4a196bc160d94a4f6631e4e.jpg', 'extension': 'jpg'}, 1384483804: {'path': 'temp/1758139979_599966_1384483804_22a83273b62463b16b52432ca856a42c.jpg', 'extension': 'jpg'}, 1384484258: {'path': 'temp/1758139979_599966_1384484258_00b3e329b70af1e91d0f704da64c0d98.jpg', 'extension': 'jpg'}, 1384484310: {'path': 'temp/1758139979_599966_1384484310_cc90ee4e97f32c1e9a39797b01d19eef.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 = 26972338; (('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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26972338 group by h (('22', 59),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26972338 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 (26972338) 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 (26972338) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17092025 26972338 Nombre de photos uploadées : 59 / 23040 (0%) 17092025 26972338 Nombre de photos taguées (types de déchets): 0 / 59 (0%) 17092025 26972338 Nombre de photos taguées (volume) : 0 / 59 (0%) [{'photo_id': 1384476394, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/84ffb5314d7ba5f75929dd4245234546.jpg', 'username': None, 'uploaded_at': 1758139267, 'text': 'image_17092025_22_00_04_10150.jpg'}, {'photo_id': 1384476339, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/7290136be45614d55f440f73f0616e05.jpg', 'username': None, 'uploaded_at': 1758139267, 'text': 'image_17092025_22_00_14_10135.jpg'}, {'photo_id': 1384476291, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/d9547360144fc19b971fc9840d27d2d4.jpg', 'username': None, 'uploaded_at': 1758139267, 'text': 'image_17092025_22_00_24_10139.jpg'}, {'photo_id': 1384476236, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/17/125356aaf6ed6a9e49f936b1112c1ba8.jpg', 'username': None, 'uploaded_at': 1758139267, 'text': 'image_17092025_22_00_33_9128.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ??????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002711772918701172 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26972338, '2025-09-17' ) 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-09-17' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2300667,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19868159294128418 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= 2300667 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26918428, 'dashboard_result_id': 15347201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918428_17-09-2025_06_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918449, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26918876, 'dashboard_result_id': 15347202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918876_17-09-2025_06_18_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918887, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918891, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26919228, 'dashboard_result_id': 15347203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919228_17-09-2025_06_18_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26919234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26919235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26919236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26919237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26919238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26919239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26919240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26919241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26919242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26919243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26919244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26919245, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26919628, 'dashboard_result_id': 15347204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919628_17-09-2025_06_19_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26919633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26919634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26919635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26919636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26919637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26919638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26919639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26919640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26919641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26919642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26919643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26919644, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26920486, 'dashboard_result_id': 15347205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920486_17-09-2025_06_20_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26920488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26920489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26920490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26920491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26920492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26920493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26920494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26920495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26920496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26920497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26920498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26920499, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26920775, 'dashboard_result_id': 15347207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920775_17-09-2025_06_20_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26920781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26920782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26920783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26920784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26920785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26920786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26920787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26920788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26920789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26920790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26920791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26920792, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26921240, 'dashboard_result_id': 15347208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921240_17-09-2025_06_20_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26921249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26921250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26921251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26921252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26921253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26921254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26921255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26921256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26921257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26921258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26921259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26921260, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26921882, 'dashboard_result_id': 15347209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921882_17-09-2025_06_21_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26921893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26921894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26921895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26921896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26921897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26921898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26921899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26921900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26921901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26921902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26921903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26921904, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26922389, 'dashboard_result_id': 15347210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922389_17-09-2025_06_22_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26922398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26922399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26922400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26922401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26922402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26922403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26922404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26922405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26922406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26922407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26922408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26922409, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26922797, 'dashboard_result_id': 15347211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922797_17-09-2025_06_22_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26922823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26922824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26922825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26922826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26922827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26922828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26922829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26922830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26922831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26922832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26922833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26922834, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26923194, 'dashboard_result_id': 15347212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26923194_17-09-2025_06_01_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26923221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26923222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26923223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26923224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26923225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26923226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26923227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26923228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26923229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26923230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26923231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26923232, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26924102, 'dashboard_result_id': 15347213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924102_17-09-2025_06_23_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924115, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26924391, 'dashboard_result_id': 15347214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924391_17-09-2025_06_23_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924407, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26924797, 'dashboard_result_id': 15347215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924797_17-09-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924811, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26925081, 'dashboard_result_id': 15347216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925081_17-09-2025_06_05_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26925086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26925087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26925088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26925089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26925090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26925091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26925092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26925093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26925094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26925095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26925096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26925097, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26925514, 'dashboard_result_id': 15347217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925514_17-09-2025_06_19_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26925525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26925526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26925527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26925528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26925529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26925530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26925531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26925532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26925533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26925534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26925536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26925537, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26926119, 'dashboard_result_id': 15347218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926119_17-09-2025_06_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26926125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26926126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26926131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926132, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26926134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926136, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26926538, 'dashboard_result_id': 15347219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926538_17-09-2025_06_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26926548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26926549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26926550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26926558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926559, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26926964, 'dashboard_result_id': 15347220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926964_17-09-2025_07_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26926990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26926996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26927000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26927001, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26927400, 'dashboard_result_id': 15347221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26927400_17-09-2025_07_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26927418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26927419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26927421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26927422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26927423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26927424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26927425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26927426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26927427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26927428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26927429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26927430, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26928251, 'dashboard_result_id': 15347222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928251_17-09-2025_07_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26928262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26928263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26928264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26928265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26928266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26928267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26928268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26928269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26928270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26928271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26928272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26928273, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26928992, 'dashboard_result_id': 15347223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928992_17-09-2025_07_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26929011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26929012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26929013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26929014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26929015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26929016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26929017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26929018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26929019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26929020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26929021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26929022, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26929662, 'dashboard_result_id': 15347224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26929662_17-09-2025_08_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26929696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26929697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26929698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26929699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26929700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26929701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26929702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26929703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26929704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26929705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26929706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26929707, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26930241, 'dashboard_result_id': 15347225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26930241_17-09-2025_08_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26930252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26930253, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26930254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26930255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26930256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26930257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26930259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26930260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26930261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26930262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26930263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26930264, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26931078, 'dashboard_result_id': 15347226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931078_17-09-2025_08_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26931110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26931111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26931112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26931113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26931114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26931115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26931116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26931117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26931118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26931119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26931120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26931121, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26931666, 'dashboard_result_id': 15347227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931666_17-09-2025_08_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26931701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26931702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26931703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26931704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26931705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26931706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26931707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26931708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26931709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26931710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26931711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26931712, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26932425, 'dashboard_result_id': 15347228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26932425_17-09-2025_09_32_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26932435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26932436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26932437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26932438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26932439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26932440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26932441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26932442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26932443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26932444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26932445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26932446, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26934491, 'dashboard_result_id': 15347229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26934491_17-09-2025_09_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26934495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26934496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26934497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26934498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26934499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26934500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26934501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26934502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26934503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26934504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26934505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26934506, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26935129, 'dashboard_result_id': 15347230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935129_17-09-2025_10_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26935202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26935203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26935204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26935205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26935206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26935207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26935208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26935209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26935210, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26935211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26935212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26935213, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26935836, 'dashboard_result_id': 15347231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935836_17-09-2025_10_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26935886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26935887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26935888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26935889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26935890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26935891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26935892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26935893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26935894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26935895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26935896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26935897, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26936651, 'dashboard_result_id': 15347232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26936651_17-09-2025_10_33_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26936659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26936660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26936661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26936662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26936663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26936664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26936665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26936666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26936667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26936668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26936669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26936670, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26937443, 'dashboard_result_id': 15347233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26937443_17-09-2025_10_47_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26937454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26937455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26937456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26937457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26937458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26937459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26937460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26937461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26937462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26937463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26937464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26937465, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26938400, 'dashboard_result_id': 15347234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26938400_17-09-2025_11_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26938410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26938411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26938412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26938413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26938414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26938415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26938416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26938417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26938418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26938419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26938420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26938421, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26939139, 'dashboard_result_id': 15347235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26939139_17-09-2025_11_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26939180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26939181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26939182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26939183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26939184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26939185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26939186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26939187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26939188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26939190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26939191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26939192, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26940069, 'dashboard_result_id': 15347236, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26940069_17-09-2025_11_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26940075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26940076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26940077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26940078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26940079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26940080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26940081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26940082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26940083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26940084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26940085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26940086, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26941004, 'dashboard_result_id': 15347237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26941004_17-09-2025_11_47_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26941023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26941024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26941025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26941026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26941027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26941028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26941029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26941030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26941031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26941032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26941033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26941034, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26942066, 'dashboard_result_id': 15347238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942066_17-09-2025_12_03_27.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26942070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26942072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26942075, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26942077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26942079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26942081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26942083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26942085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26942087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26942090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26942092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26942094, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26942982, 'dashboard_result_id': 15347239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942982_17-09-2025_14_01_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26943138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26943139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26943140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26943141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26943142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26943143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26943144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26943145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26943146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26943147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26943148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26943149, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26946369, 'dashboard_result_id': 15347240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946369_17-09-2025_13_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26946374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26946375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26946376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26946377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26946378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26946379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26946380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26946381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26946382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26946383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26946384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26946385, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26946796, 'dashboard_result_id': 15347242, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946796_17-09-2025_15_16_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26946865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26946866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26946867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26946868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26946869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26946870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26946871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26946872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26946873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26946874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26946875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26946876, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26947807, 'dashboard_result_id': 15347243, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26947807_17-09-2025_14_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26947834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26947835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26947836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26947837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26947838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26947839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26947840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26947841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26947842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26947843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26947844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26947845, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26948540, 'dashboard_result_id': 15347244, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26948540_17-09-2025_14_33_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26948595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26948596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26948597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26948598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26948599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26948600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26948601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26948602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26948604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26948605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26948606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26948607, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26949395, 'dashboard_result_id': 15347245, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26949395_17-09-2025_14_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26949408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26949409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26949410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26949411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26949412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26949413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26949414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26949415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26949416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26949417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26949418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26949419, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26950169, 'dashboard_result_id': 15347246, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950169_17-09-2025_16_16_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26950276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26950277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26950278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26950279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26950280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26950281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26950282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26950283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26950284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26950285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26950286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26950287, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26950796, 'dashboard_result_id': 15347247, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950796_17-09-2025_15_17_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26950837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26950838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26950839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26950840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26950841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26950842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26950843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26950844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26950845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26950846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26950847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26950848, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26951526, 'dashboard_result_id': 15347248, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26951526_17-09-2025_15_41_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26951597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26951598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26951599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26951600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26951601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26951602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26951603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26951604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26951605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26951606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26951607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26951608, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26952474, 'dashboard_result_id': 15347249, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26952474_17-09-2025_15_49_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26952501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26952502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26952503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26952504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26952505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26952506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26952507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26952508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26952509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26952510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26952511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26952512, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26953207, 'dashboard_result_id': 15347250, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953207_17-09-2025_16_04_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26953249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26953250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26953251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26953252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26953253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26953254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26953255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26953256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26953257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26953258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26953259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26953260, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26953865, 'dashboard_result_id': 15347251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953865_17-09-2025_16_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26953921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26953922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26953923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26953924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26953925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26953926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26953927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26953928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26953929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26953930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26953931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26953932, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26954759, 'dashboard_result_id': 15347252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26954759_17-09-2025_16_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26954791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26954792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26954793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26954794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26954795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26954796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26954797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26954798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26954799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26954800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26954801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26954802, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26955562, 'dashboard_result_id': 15347253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26955562_17-09-2025_16_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26955601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26955602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26955603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26955604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26955605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26955606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26955607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26955608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26955609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26955610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26955611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26955612, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26956283, 'dashboard_result_id': 15347254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26956283_17-09-2025_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26956319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26956320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26956321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26956322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26956323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26956324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26956325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26956326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26956327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26956328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26956329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26956330, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26957052, 'dashboard_result_id': 15347255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957052_17-09-2025_17_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26957115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26957116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26957117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26957118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26957119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26957120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26957121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26957122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26957123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26957124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26957125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26957126, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26957906, 'dashboard_result_id': 15347256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957906_17-09-2025_18_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26957941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26957942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26957943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26957944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26957945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26957946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26957947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26957948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26957949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26957950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26957951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26957952, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26960054, 'dashboard_result_id': 15347257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26960054_17-09-2025_18_19_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26960072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26960073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26960074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26960075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26960076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26960077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26960078, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26960079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26960080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26960081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26960082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26960083, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26961043, 'dashboard_result_id': 15347258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961043_17-09-2025_18_40_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26961062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26961063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26961064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26961065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26961066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26961067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26961068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26961070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26961071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26961072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26961073, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26961313, 'dashboard_result_id': 15347259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961313_17-09-2025_20_01_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26961508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26961509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26961510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26961511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26961512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26961513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26961514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26961515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26961516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26961517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26961518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26961519, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26962084, 'dashboard_result_id': 15347260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962084_17-09-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26962126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26962127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26962128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26962129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26962130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26962131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26962132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26962133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26962134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26962135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26962136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26962137, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26962774, 'dashboard_result_id': 15347261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962774_17-09-2025_19_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26962807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26962808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26962809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26962810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26962811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26962812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26962813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26962814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26962815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26962816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26962817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26962818, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26963932, 'dashboard_result_id': 15347262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26963932_17-09-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26963943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26963944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26963945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26963946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26963947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26963948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26963949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26963950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26963951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26963952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26963953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26963954, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26964377, 'dashboard_result_id': 15347263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26964377_17-09-2025_19_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26964433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26964434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26964435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26964436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26964437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26964438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26964439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26964440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26964441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26964442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26964443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26964444, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26965199, 'dashboard_result_id': 15347264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26965199_17-09-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26965352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26965353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26965354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26965355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26965356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26965357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26965358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26965359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26965360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26965361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26965362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26965363, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26966063, 'dashboard_result_id': 15347265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26966063_17-09-2025_21_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26966116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26966117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26966118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26966119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26966120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26966121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26966122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26966123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26966124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26966125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26966126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26966127, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26967018, 'dashboard_result_id': 15347266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26967018_17-09-2025_20_38_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26967023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26967024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26967025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26967026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26967027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26967028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26967029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26967030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26967031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26967032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26967033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26967034, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26968473, 'dashboard_result_id': 15347267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26968473_17-09-2025_21_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26968478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26968479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26968481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26968482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26968483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26968484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26968485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26968486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26968487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26968488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26968489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26968490, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26969337, 'dashboard_result_id': 15347268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26969337_17-09-2025_21_24_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26969342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26969343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26969344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26969345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26969346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26969347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26969348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26969349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26969350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26969351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26969352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26969353, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26970201, 'dashboard_result_id': 15347269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26970201_17-09-2025_21_43_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26970227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26970229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26970230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26970231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26970233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26970234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26970235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26970237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26970238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26970239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26970240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26970242, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26971262, 'dashboard_result_id': 15347270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971262_17-09-2025_21_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26971274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26971275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26971276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26971277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26971278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26971279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26971280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26971281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26971282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26971283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26971284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26971285, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26971614, 'dashboard_result_id': 15347271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971614_17-09-2025_22_04_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26971618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26971619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26971620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26971621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26971622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26971623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26971624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26971625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26971626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26971627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26971628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26971629, 'pht': 3726}}"}, {'dashboat_entry_day': 2300667, 'dashboard_run_id': 2315377, 'mtr_portfolio_id': 26972338, 'dashboard_result_id': 15347272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26972338_17-09-2025_22_06_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26972349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26972350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26972351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26972352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26972353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26972354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26972355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26972356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26972357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26972358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26972359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26972360, '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 = 26918428 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': 3732548, 'mtr_portfolio_id': 26918428, 'created_at': datetime.datetime(2025, 9, 17, 6, 17, 28), 'result': '0.034418347298541714', 'result_long': None, 'result_double': None}] Qualite : 0.034418347298541714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26918428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918428_17-09-2025_06_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26918428 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918428_17-09-2025_06_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918449, 'pht': 3726}}" where mtr_portfolio_id = 26918428 and dashboard_run_id = 2315377 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`=26918428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347201, 0.034418347298541714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918428_17-09-2025_06_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918449, '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 = 26918876 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': 3732549, 'mtr_portfolio_id': 26918876, 'created_at': datetime.datetime(2025, 9, 17, 6, 18, 2), 'result': '0.043610718126215635', 'result_long': None, 'result_double': None}] Qualite : 0.043610718126215635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26918876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918876_17-09-2025_06_18_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26918876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918876_17-09-2025_06_18_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918887, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918891, 'pht': 3726}}" where mtr_portfolio_id = 26918876 and dashboard_run_id = 2315377 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`=26918876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347202, 0.043610718126215635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918876_17-09-2025_06_18_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918887, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918891, '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 = 26919228 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': 3732550, 'mtr_portfolio_id': 26919228, 'created_at': datetime.datetime(2025, 9, 17, 6, 18, 32), 'result': '0.054799998150664726', 'result_long': None, 'result_double': None}] Qualite : 0.054799998150664726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26919228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919228_17-09-2025_06_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26919228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919228_17-09-2025_06_18_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26919234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26919235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26919236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26919237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26919238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26919239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26919240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26919241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26919242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26919243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26919244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26919245, 'pht': 3726}}" where mtr_portfolio_id = 26919228 and dashboard_run_id = 2315377 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`=26919228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347203, 0.054799998150664726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919228_17-09-2025_06_18_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26919234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26919235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26919236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26919237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26919238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26919239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26919240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26919241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26919242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26919243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26919244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26919245, '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 = 26919628 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': 3732551, 'mtr_portfolio_id': 26919628, 'created_at': datetime.datetime(2025, 9, 17, 6, 19, 30), 'result': '0.06563328552521043', 'result_long': None, 'result_double': None}] Qualite : 0.06563328552521043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26919628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919628_17-09-2025_06_19_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26919628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919628_17-09-2025_06_19_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26919633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26919634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26919635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26919636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26919637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26919638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26919639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26919640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26919641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26919642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26919643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26919644, 'pht': 3726}}" where mtr_portfolio_id = 26919628 and dashboard_run_id = 2315377 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`=26919628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347204, 0.06563328552521043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26919628_17-09-2025_06_19_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26919633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26919634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26919635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26919636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26919637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26919638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26919639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26919640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26919641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26919642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26919643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26919644, '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 = 26920486 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': 3732552, 'mtr_portfolio_id': 26920486, 'created_at': datetime.datetime(2025, 9, 17, 6, 20), 'result': '0.03136853702815561', 'result_long': None, 'result_double': None}] Qualite : 0.03136853702815561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26920486 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920486_17-09-2025_06_20_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26920486 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920486_17-09-2025_06_20_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26920488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26920489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26920490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26920491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26920492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26920493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26920494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26920495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26920496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26920497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26920498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26920499, 'pht': 3726}}" where mtr_portfolio_id = 26920486 and dashboard_run_id = 2315377 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`=26920486 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347205, 0.03136853702815561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920486_17-09-2025_06_20_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26920488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26920489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26920490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26920491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26920492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26920493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26920494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26920495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26920496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26920497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26920498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26920499, '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 = 26920775 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': 3732553, 'mtr_portfolio_id': 26920775, 'created_at': datetime.datetime(2025, 9, 17, 6, 20, 28), 'result': '0.038637870793443135', 'result_long': None, 'result_double': None}] Qualite : 0.038637870793443135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26920775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920775_17-09-2025_06_20_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26920775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920775_17-09-2025_06_20_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26920781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26920782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26920783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26920784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26920785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26920786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26920787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26920788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26920789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26920790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26920791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26920792, 'pht': 3726}}" where mtr_portfolio_id = 26920775 and dashboard_run_id = 2315377 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`=26920775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347207, 0.038637870793443135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26920775_17-09-2025_06_20_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26920781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26920782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26920783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26920784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26920785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26920786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26920787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26920788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26920789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26920790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26920791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26920792, '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 = 26921240 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': 3732554, 'mtr_portfolio_id': 26921240, 'created_at': datetime.datetime(2025, 9, 17, 6, 20, 37), 'result': '0.04476262593749069', 'result_long': None, 'result_double': None}] Qualite : 0.04476262593749069 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26921240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921240_17-09-2025_06_20_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26921240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921240_17-09-2025_06_20_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26921249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26921250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26921251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26921252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26921253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26921254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26921255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26921256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26921257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26921258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26921259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26921260, 'pht': 3726}}" where mtr_portfolio_id = 26921240 and dashboard_run_id = 2315377 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`=26921240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347208, 0.04476262593749069, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921240_17-09-2025_06_20_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26921249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26921250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26921251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26921252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26921253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26921254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26921255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26921256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26921257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26921258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26921259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26921260, '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 = 26921882 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': 3732555, 'mtr_portfolio_id': 26921882, 'created_at': datetime.datetime(2025, 9, 17, 6, 21, 29), 'result': '0.07154484052750976', 'result_long': None, 'result_double': None}] Qualite : 0.07154484052750976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26921882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921882_17-09-2025_06_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26921882 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921882_17-09-2025_06_21_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26921893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26921894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26921895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26921896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26921897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26921898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26921899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26921900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26921901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26921902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26921903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26921904, 'pht': 3726}}" where mtr_portfolio_id = 26921882 and dashboard_run_id = 2315377 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`=26921882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347209, 0.07154484052750976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26921882_17-09-2025_06_21_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26921893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26921894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26921895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26921896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26921897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26921898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26921899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26921900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26921901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26921902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26921903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26921904, '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 = 26922389 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': 3732556, 'mtr_portfolio_id': 26922389, 'created_at': datetime.datetime(2025, 9, 17, 6, 22), 'result': '0.03665288194111033', 'result_long': None, 'result_double': None}] Qualite : 0.03665288194111033 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26922389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922389_17-09-2025_06_22_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26922389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922389_17-09-2025_06_22_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26922398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26922399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26922400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26922401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26922402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26922403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26922404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26922405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26922406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26922407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26922408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26922409, 'pht': 3726}}" where mtr_portfolio_id = 26922389 and dashboard_run_id = 2315377 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`=26922389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347210, 0.03665288194111033, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922389_17-09-2025_06_22_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26922398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26922399, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26922400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26922401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26922402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26922403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26922404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26922405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26922406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26922407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26922408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26922409, '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 = 26922797 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': 3732557, 'mtr_portfolio_id': 26922797, 'created_at': datetime.datetime(2025, 9, 17, 6, 22, 30), 'result': '0.053258111009566775', 'result_long': None, 'result_double': None}] Qualite : 0.053258111009566775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26922797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922797_17-09-2025_06_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26922797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922797_17-09-2025_06_22_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26922823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26922824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26922825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26922826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26922827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26922828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26922829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26922830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26922831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26922832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26922833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26922834, 'pht': 3726}}" where mtr_portfolio_id = 26922797 and dashboard_run_id = 2315377 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`=26922797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347211, 0.053258111009566775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26922797_17-09-2025_06_22_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26922823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26922824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26922825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26922826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26922827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26922828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26922829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26922830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26922831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26922832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26922833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26922834, '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 = 26923194 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': 3732142, 'mtr_portfolio_id': 26923194, 'created_at': datetime.datetime(2025, 9, 17, 6, 1, 1), 'result': '0.03187562283868707', 'result_long': None, 'result_double': None}] Qualite : 0.03187562283868707 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26923194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26923194_17-09-2025_06_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26923194 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26923194_17-09-2025_06_01_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26923221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26923222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26923223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26923224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26923225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26923226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26923227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26923228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26923229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26923230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26923231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26923232, 'pht': 3726}}" where mtr_portfolio_id = 26923194 and dashboard_run_id = 2315377 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`=26923194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347212, 0.03187562283868707, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26923194_17-09-2025_06_01_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26923221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26923222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26923223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26923224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26923225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26923226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26923227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26923228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26923229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26923230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26923231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26923232, '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 = 26924102 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': 3732558, 'mtr_portfolio_id': 26924102, 'created_at': datetime.datetime(2025, 9, 17, 6, 23, 2), 'result': '0.043806340379132926', 'result_long': None, 'result_double': None}] Qualite : 0.043806340379132926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26924102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924102_17-09-2025_06_23_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26924102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924102_17-09-2025_06_23_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924115, 'pht': 3726}}" where mtr_portfolio_id = 26924102 and dashboard_run_id = 2315377 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`=26924102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347213, 0.043806340379132926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924102_17-09-2025_06_23_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924115, '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 = 26924391 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': 3732559, 'mtr_portfolio_id': 26924391, 'created_at': datetime.datetime(2025, 9, 17, 6, 23, 30), 'result': '0.038854450436580125', 'result_long': None, 'result_double': None}] Qualite : 0.038854450436580125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26924391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924391_17-09-2025_06_23_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26924391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924391_17-09-2025_06_23_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924407, 'pht': 3726}}" where mtr_portfolio_id = 26924391 and dashboard_run_id = 2315377 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`=26924391 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347214, 0.038854450436580125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924391_17-09-2025_06_23_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924407, '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 = 26924797 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': 3732605, 'mtr_portfolio_id': 26924797, 'created_at': datetime.datetime(2025, 9, 17, 5, 47, 30), 'result': '0.0555519198114147', 'result_long': None, 'result_double': None}] Qualite : 0.0555519198114147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26924797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924797_17-09-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26924797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924797_17-09-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924811, 'pht': 3726}}" where mtr_portfolio_id = 26924797 and dashboard_run_id = 2315377 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`=26924797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347215, 0.0555519198114147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26924797_17-09-2025_05_47_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26924800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26924801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26924802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26924803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26924804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26924805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26924806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26924807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26924808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26924809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26924810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26924811, '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 = 26925081 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': 3732641, 'mtr_portfolio_id': 26925081, 'created_at': datetime.datetime(2025, 9, 17, 6, 5, 28), 'result': '0.03614144143676788', 'result_long': None, 'result_double': None}] Qualite : 0.03614144143676788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26925081 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925081_17-09-2025_06_05_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26925081 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925081_17-09-2025_06_05_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26925086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26925087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26925088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26925089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26925090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26925091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26925092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26925093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26925094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26925095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26925096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26925097, 'pht': 3726}}" where mtr_portfolio_id = 26925081 and dashboard_run_id = 2315377 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`=26925081 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347216, 0.03614144143676788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925081_17-09-2025_06_05_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26925086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26925087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26925088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26925089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26925090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26925091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26925092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26925093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26925094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26925095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26925096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26925097, '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 = 26925514 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': 3732710, 'mtr_portfolio_id': 26925514, 'created_at': datetime.datetime(2025, 9, 17, 6, 19, 28), 'result': '0.05163043017052247', 'result_long': None, 'result_double': None}] Qualite : 0.05163043017052247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26925514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925514_17-09-2025_06_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26925514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925514_17-09-2025_06_19_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26925525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26925526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26925527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26925528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26925529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26925530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26925531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26925532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26925533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26925534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26925536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26925537, 'pht': 3726}}" where mtr_portfolio_id = 26925514 and dashboard_run_id = 2315377 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`=26925514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347217, 0.05163043017052247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26925514_17-09-2025_06_19_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26925525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26925526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26925527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26925528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26925529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26925530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26925531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26925532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26925533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26925534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26925536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26925537, '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 = 26926119 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': 3732790, 'mtr_portfolio_id': 26926119, 'created_at': datetime.datetime(2025, 9, 17, 6, 33), 'result': '0.05237131561620687', 'result_long': None, 'result_double': None}] Qualite : 0.05237131561620687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26926119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926119_17-09-2025_06_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26926119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926119_17-09-2025_06_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26926125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26926126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26926131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926132, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26926134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926136, 'pht': 3726}}" where mtr_portfolio_id = 26926119 and dashboard_run_id = 2315377 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`=26926119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347218, 0.05237131561620687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926119_17-09-2025_06_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26926125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26926126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26926131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926132, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26926134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926136, '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 = 26926538 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': 3732864, 'mtr_portfolio_id': 26926538, 'created_at': datetime.datetime(2025, 9, 17, 6, 49), 'result': '0.058544981737487484', 'result_long': None, 'result_double': None}] Qualite : 0.058544981737487484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26926538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926538_17-09-2025_06_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26926538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926538_17-09-2025_06_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26926548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26926549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26926550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26926558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926559, 'pht': 3726}}" where mtr_portfolio_id = 26926538 and dashboard_run_id = 2315377 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`=26926538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347219, 0.058544981737487484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926538_17-09-2025_06_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26926548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26926549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26926550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26926558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926559, '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 = 26926964 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': 3732946, 'mtr_portfolio_id': 26926964, 'created_at': datetime.datetime(2025, 9, 17, 7, 5), 'result': '0.04457282082067911', 'result_long': None, 'result_double': None}] Qualite : 0.04457282082067911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26926964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926964_17-09-2025_07_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26926964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926964_17-09-2025_07_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26926990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26926996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26927000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26927001, 'pht': 3726}}" where mtr_portfolio_id = 26926964 and dashboard_run_id = 2315377 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`=26926964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347220, 0.04457282082067911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26926964_17-09-2025_07_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26926990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26926991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26926992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26926993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26926994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26926995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26926996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26926997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26926998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26926999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26927000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26927001, '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 = 26927400 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': 3733031, 'mtr_portfolio_id': 26927400, 'created_at': datetime.datetime(2025, 9, 17, 7, 16, 59), 'result': '0.057123809389375765', 'result_long': None, 'result_double': None}] Qualite : 0.057123809389375765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26927400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26927400_17-09-2025_07_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26927400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26927400_17-09-2025_07_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26927418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26927419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26927421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26927422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26927423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26927424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26927425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26927426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26927427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26927428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26927429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26927430, 'pht': 3726}}" where mtr_portfolio_id = 26927400 and dashboard_run_id = 2315377 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`=26927400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347221, 0.057123809389375765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26927400_17-09-2025_07_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26927418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26927419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26927421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26927422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26927423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26927424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26927425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26927426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26927427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26927428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26927429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26927430, '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 = 26928251 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': 3733125, 'mtr_portfolio_id': 26928251, 'created_at': datetime.datetime(2025, 9, 17, 7, 34, 59), 'result': '0.05454341792867976', 'result_long': None, 'result_double': None}] Qualite : 0.05454341792867976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26928251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928251_17-09-2025_07_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26928251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928251_17-09-2025_07_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26928262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26928263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26928264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26928265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26928266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26928267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26928268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26928269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26928270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26928271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26928272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26928273, 'pht': 3726}}" where mtr_portfolio_id = 26928251 and dashboard_run_id = 2315377 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`=26928251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347222, 0.05454341792867976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928251_17-09-2025_07_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26928262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26928263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26928264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26928265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26928266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26928267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26928268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26928269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26928270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26928271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26928272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26928273, '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 = 26928992 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': 3733209, 'mtr_portfolio_id': 26928992, 'created_at': datetime.datetime(2025, 9, 17, 7, 48, 56), 'result': '0.049792965909687306', 'result_long': None, 'result_double': None}] Qualite : 0.049792965909687306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26928992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928992_17-09-2025_07_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26928992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928992_17-09-2025_07_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26929011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26929012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26929013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26929014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26929015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26929016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26929017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26929018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26929019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26929020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26929021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26929022, 'pht': 3726}}" where mtr_portfolio_id = 26928992 and dashboard_run_id = 2315377 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`=26928992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347223, 0.049792965909687306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26928992_17-09-2025_07_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26929011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26929012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26929013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26929014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26929015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26929016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26929017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26929018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26929019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26929020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26929021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26929022, '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 = 26929662 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': 3733293, 'mtr_portfolio_id': 26929662, 'created_at': datetime.datetime(2025, 9, 17, 8, 4, 59), 'result': '0.05242642667214526', 'result_long': None, 'result_double': None}] Qualite : 0.05242642667214526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26929662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26929662_17-09-2025_08_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26929662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26929662_17-09-2025_08_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26929696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26929697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26929698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26929699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26929700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26929701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26929702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26929703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26929704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26929705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26929706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26929707, 'pht': 3726}}" where mtr_portfolio_id = 26929662 and dashboard_run_id = 2315377 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`=26929662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347224, 0.05242642667214526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26929662_17-09-2025_08_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26929696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26929697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26929698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26929699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26929700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26929701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26929702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26929703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26929704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26929705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26929706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26929707, '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 = 26930241 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': 3733396, 'mtr_portfolio_id': 26930241, 'created_at': datetime.datetime(2025, 9, 17, 8, 18, 57), 'result': '0.04693638715652657', 'result_long': None, 'result_double': None}] Qualite : 0.04693638715652657 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26930241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26930241_17-09-2025_08_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26930241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26930241_17-09-2025_08_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26930252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26930253, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26930254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26930255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26930256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26930257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26930259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26930260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26930261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26930262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26930263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26930264, 'pht': 3726}}" where mtr_portfolio_id = 26930241 and dashboard_run_id = 2315377 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`=26930241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347225, 0.04693638715652657, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26930241_17-09-2025_08_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26930252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26930253, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26930254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26930255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26930256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26930257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26930259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26930260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26930261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26930262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26930263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26930264, '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 = 26931078 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': 3733492, 'mtr_portfolio_id': 26931078, 'created_at': datetime.datetime(2025, 9, 17, 8, 34, 31), 'result': '0.058743540181533035', 'result_long': None, 'result_double': None}] Qualite : 0.058743540181533035 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26931078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931078_17-09-2025_08_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26931078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931078_17-09-2025_08_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26931110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26931111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26931112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26931113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26931114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26931115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26931116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26931117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26931118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26931119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26931120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26931121, 'pht': 3726}}" where mtr_portfolio_id = 26931078 and dashboard_run_id = 2315377 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`=26931078 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347226, 0.058743540181533035, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931078_17-09-2025_08_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26931110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26931111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26931112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26931113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26931114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26931115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26931116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26931117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26931118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26931119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26931120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26931121, '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 = 26931666 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': 3733583, 'mtr_portfolio_id': 26931666, 'created_at': datetime.datetime(2025, 9, 17, 8, 46, 58), 'result': '0.04927580768804584', 'result_long': None, 'result_double': None}] Qualite : 0.04927580768804584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26931666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931666_17-09-2025_08_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26931666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931666_17-09-2025_08_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26931701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26931702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26931703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26931704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26931705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26931706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26931707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26931708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26931709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26931710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26931711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26931712, 'pht': 3726}}" where mtr_portfolio_id = 26931666 and dashboard_run_id = 2315377 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`=26931666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347227, 0.04927580768804584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26931666_17-09-2025_08_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26931701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26931702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26931703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26931704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26931705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26931706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26931707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26931708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26931709, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26931710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26931711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26931712, '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 = 26932425 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': 3733718, 'mtr_portfolio_id': 26932425, 'created_at': datetime.datetime(2025, 9, 17, 9, 32, 58), 'result': '0.053615047523619584', 'result_long': None, 'result_double': None}] Qualite : 0.053615047523619584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26932425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26932425_17-09-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26932425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26932425_17-09-2025_09_32_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26932435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26932436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26932437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26932438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26932439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26932440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26932441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26932442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26932443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26932444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26932445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26932446, 'pht': 3726}}" where mtr_portfolio_id = 26932425 and dashboard_run_id = 2315377 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`=26932425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347228, 0.053615047523619584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26932425_17-09-2025_09_32_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26932435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26932436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26932437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26932438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26932439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26932440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26932441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26932442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26932443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26932444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26932445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26932446, '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 = 26934491 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': 3733931, 'mtr_portfolio_id': 26934491, 'created_at': datetime.datetime(2025, 9, 17, 9, 47), 'result': '0.04594819373243381', 'result_long': None, 'result_double': None}] Qualite : 0.04594819373243381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26934491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26934491_17-09-2025_09_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26934491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26934491_17-09-2025_09_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26934495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26934496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26934497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26934498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26934499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26934500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26934501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26934502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26934503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26934504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26934505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26934506, 'pht': 3726}}" where mtr_portfolio_id = 26934491 and dashboard_run_id = 2315377 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`=26934491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347229, 0.04594819373243381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26934491_17-09-2025_09_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26934495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26934496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26934497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26934498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26934499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26934500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26934501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26934502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26934503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26934504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26934505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26934506, '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 = 26935129 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': 3733970, 'mtr_portfolio_id': 26935129, 'created_at': datetime.datetime(2025, 9, 17, 10, 2, 59), 'result': '0.06790265040995234', 'result_long': None, 'result_double': None}] Qualite : 0.06790265040995234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26935129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935129_17-09-2025_10_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26935129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935129_17-09-2025_10_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26935202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26935203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26935204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26935205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26935206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26935207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26935208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26935209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26935210, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26935211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26935212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26935213, 'pht': 3726}}" where mtr_portfolio_id = 26935129 and dashboard_run_id = 2315377 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`=26935129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347230, 0.06790265040995234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935129_17-09-2025_10_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26935202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26935203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26935204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26935205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26935206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26935207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26935208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26935209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26935210, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26935211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26935212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26935213, '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 = 26935836 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': 3734028, 'mtr_portfolio_id': 26935836, 'created_at': datetime.datetime(2025, 9, 17, 10, 17), 'result': '0.06185133264290253', 'result_long': None, 'result_double': None}] Qualite : 0.06185133264290253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26935836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935836_17-09-2025_10_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26935836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935836_17-09-2025_10_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26935886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26935887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26935888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26935889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26935890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26935891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26935892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26935893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26935894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26935895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26935896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26935897, 'pht': 3726}}" where mtr_portfolio_id = 26935836 and dashboard_run_id = 2315377 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`=26935836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347231, 0.06185133264290253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26935836_17-09-2025_10_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26935886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26935887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26935888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26935889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26935890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26935891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26935892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26935893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26935894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26935895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26935896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26935897, '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 = 26936651 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': 3734085, 'mtr_portfolio_id': 26936651, 'created_at': datetime.datetime(2025, 9, 17, 10, 33, 29), 'result': '0.04553345008684183', 'result_long': None, 'result_double': None}] Qualite : 0.04553345008684183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26936651 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26936651_17-09-2025_10_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26936651 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26936651_17-09-2025_10_33_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26936659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26936660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26936661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26936662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26936663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26936664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26936665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26936666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26936667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26936668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26936669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26936670, 'pht': 3726}}" where mtr_portfolio_id = 26936651 and dashboard_run_id = 2315377 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`=26936651 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347232, 0.04553345008684183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26936651_17-09-2025_10_33_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26936659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26936660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26936661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26936662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26936663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26936664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26936665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26936666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26936667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26936668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26936669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26936670, '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 = 26937443 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': 3734138, 'mtr_portfolio_id': 26937443, 'created_at': datetime.datetime(2025, 9, 17, 10, 46, 59), 'result': '0.05795026396720589', 'result_long': None, 'result_double': None}] Qualite : 0.05795026396720589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26937443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26937443_17-09-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26937443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26937443_17-09-2025_10_47_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26937454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26937455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26937456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26937457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26937458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26937459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26937460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26937461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26937462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26937463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26937464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26937465, 'pht': 3726}}" where mtr_portfolio_id = 26937443 and dashboard_run_id = 2315377 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`=26937443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347233, 0.05795026396720589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26937443_17-09-2025_10_47_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26937454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26937455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26937456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26937457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26937458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26937459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26937460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26937461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26937462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26937463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26937464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26937465, '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 = 26938400 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': 3734232, 'mtr_portfolio_id': 26938400, 'created_at': datetime.datetime(2025, 9, 17, 11, 2, 59), 'result': '0.07274853656947747', 'result_long': None, 'result_double': None}] Qualite : 0.07274853656947747 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26938400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26938400_17-09-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26938400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26938400_17-09-2025_11_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26938410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26938411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26938412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26938413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26938414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26938415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26938416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26938417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26938418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26938419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26938420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26938421, 'pht': 3726}}" where mtr_portfolio_id = 26938400 and dashboard_run_id = 2315377 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`=26938400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347234, 0.07274853656947747, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26938400_17-09-2025_11_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26938410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26938411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26938412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26938413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26938414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26938415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26938416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26938417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26938418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26938419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26938420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26938421, '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 = 26939139 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': 3734316, 'mtr_portfolio_id': 26939139, 'created_at': datetime.datetime(2025, 9, 17, 11, 16, 58), 'result': '0.05426587455884609', 'result_long': None, 'result_double': None}] Qualite : 0.05426587455884609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26939139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26939139_17-09-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26939139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26939139_17-09-2025_11_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26939180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26939181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26939182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26939183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26939184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26939185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26939186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26939187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26939188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26939190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26939191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26939192, 'pht': 3726}}" where mtr_portfolio_id = 26939139 and dashboard_run_id = 2315377 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`=26939139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347235, 0.05426587455884609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26939139_17-09-2025_11_16_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26939180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26939181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26939182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26939183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26939184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26939185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26939186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26939187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26939188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26939190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26939191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26939192, '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 = 26940069 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': 3734459, 'mtr_portfolio_id': 26940069, 'created_at': datetime.datetime(2025, 9, 17, 11, 32, 59), 'result': '0.11228860929590834', 'result_long': None, 'result_double': None}] Qualite : 0.11228860929590834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26940069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26940069_17-09-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26940069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26940069_17-09-2025_11_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26940075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26940076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26940077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26940078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26940079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26940080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26940081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26940082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26940083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26940084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26940085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26940086, 'pht': 3726}}" where mtr_portfolio_id = 26940069 and dashboard_run_id = 2315377 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`=26940069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347236, 0.11228860929590834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26940069_17-09-2025_11_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26940075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26940076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26940077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26940078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26940079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26940080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26940081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26940082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26940083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26940084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26940085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26940086, '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 = 26941004 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': 3734785, 'mtr_portfolio_id': 26941004, 'created_at': datetime.datetime(2025, 9, 17, 11, 47, 2), 'result': '0.046566695271176885', 'result_long': None, 'result_double': None}] Qualite : 0.046566695271176885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26941004 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26941004_17-09-2025_11_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26941004 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26941004_17-09-2025_11_47_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26941023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26941024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26941025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26941026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26941027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26941028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26941029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26941030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26941031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26941032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26941033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26941034, 'pht': 3726}}" where mtr_portfolio_id = 26941004 and dashboard_run_id = 2315377 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`=26941004 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347237, 0.046566695271176885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26941004_17-09-2025_11_47_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26941023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26941024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26941025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26941026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26941027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26941028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26941029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26941030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26941031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26941032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26941033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26941034, '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 = 26942066 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': 3735105, 'mtr_portfolio_id': 26942066, 'created_at': datetime.datetime(2025, 9, 17, 12, 3, 27), 'result': '0.048452895113752274', 'result_long': None, 'result_double': None}] Qualite : 0.048452895113752274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26942066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942066_17-09-2025_12_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26942066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942066_17-09-2025_12_03_27.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26942070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26942072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26942075, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26942077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26942079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26942081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26942083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26942085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26942087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26942090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26942092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26942094, 'pht': 3726}}" where mtr_portfolio_id = 26942066 and dashboard_run_id = 2315377 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`=26942066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347238, 0.048452895113752274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942066_17-09-2025_12_03_27.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26942070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26942072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26942075, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26942077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26942079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26942081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26942083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26942085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26942087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26942090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26942092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26942094, '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 = 26942982 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': 3735290, 'mtr_portfolio_id': 26942982, 'created_at': datetime.datetime(2025, 9, 17, 14, 0, 59), 'result': '0.016269368075322563', 'result_long': None, 'result_double': None}] Qualite : 0.016269368075322563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26942982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942982_17-09-2025_14_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26942982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942982_17-09-2025_14_01_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26943138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26943139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26943140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26943141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26943142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26943143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26943144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26943145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26943146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26943147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26943148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26943149, 'pht': 3726}}" where mtr_portfolio_id = 26942982 and dashboard_run_id = 2315377 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`=26942982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347239, 0.016269368075322563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26942982_17-09-2025_14_01_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26943138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26943139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26943140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26943141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26943142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26943143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26943144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26943145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26943146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26943147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26943148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26943149, '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 = 26946369 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': 3735558, 'mtr_portfolio_id': 26946369, 'created_at': datetime.datetime(2025, 9, 17, 13, 46, 58), 'result': '0.042409329076528536', 'result_long': None, 'result_double': None}] Qualite : 0.042409329076528536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26946369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946369_17-09-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26946369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946369_17-09-2025_13_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26946374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26946375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26946376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26946377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26946378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26946379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26946380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26946381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26946382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26946383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26946384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26946385, 'pht': 3726}}" where mtr_portfolio_id = 26946369 and dashboard_run_id = 2315377 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`=26946369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347240, 0.042409329076528536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946369_17-09-2025_13_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26946374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26946375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26946376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26946377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26946378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26946379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26946380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26946381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26946382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26946383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26946384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26946385, '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 = 26946796 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': 3735590, 'mtr_portfolio_id': 26946796, 'created_at': datetime.datetime(2025, 9, 17, 15, 15, 58), 'result': '0.05184133588699199', 'result_long': None, 'result_double': None}] Qualite : 0.05184133588699199 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26946796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946796_17-09-2025_15_16_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26946796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946796_17-09-2025_15_16_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26946865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26946866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26946867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26946868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26946869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26946870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26946871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26946872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26946873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26946874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26946875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26946876, 'pht': 3726}}" where mtr_portfolio_id = 26946796 and dashboard_run_id = 2315377 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`=26946796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347242, 0.05184133588699199, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26946796_17-09-2025_15_16_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26946865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26946866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26946867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26946868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26946869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26946870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26946871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26946872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26946873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26946874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26946875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26946876, '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 = 26947807 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': 3735700, 'mtr_portfolio_id': 26947807, 'created_at': datetime.datetime(2025, 9, 17, 14, 16, 58), 'result': '0.04580468663029363', 'result_long': None, 'result_double': None}] Qualite : 0.04580468663029363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26947807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26947807_17-09-2025_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26947807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26947807_17-09-2025_14_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26947834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26947835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26947836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26947837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26947838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26947839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26947840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26947841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26947842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26947843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26947844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26947845, 'pht': 3726}}" where mtr_portfolio_id = 26947807 and dashboard_run_id = 2315377 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`=26947807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347243, 0.04580468663029363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26947807_17-09-2025_14_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26947834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26947835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26947836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26947837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26947838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26947839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26947840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26947841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26947842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26947843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26947844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26947845, '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 = 26948540 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': 3735762, 'mtr_portfolio_id': 26948540, 'created_at': datetime.datetime(2025, 9, 17, 14, 33, 31), 'result': '0.03761824517768412', 'result_long': None, 'result_double': None}] Qualite : 0.03761824517768412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26948540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26948540_17-09-2025_14_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26948540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26948540_17-09-2025_14_33_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26948595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26948596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26948597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26948598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26948599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26948600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26948601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26948602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26948604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26948605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26948606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26948607, 'pht': 3726}}" where mtr_portfolio_id = 26948540 and dashboard_run_id = 2315377 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`=26948540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347244, 0.03761824517768412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26948540_17-09-2025_14_33_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26948595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26948596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26948597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26948598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26948599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26948600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26948601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26948602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26948604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26948605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26948606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26948607, '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 = 26949395 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': 3735868, 'mtr_portfolio_id': 26949395, 'created_at': datetime.datetime(2025, 9, 17, 14, 52, 59), 'result': '0.02593511586358223', 'result_long': None, 'result_double': None}] Qualite : 0.02593511586358223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26949395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26949395_17-09-2025_14_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26949395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26949395_17-09-2025_14_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26949408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26949409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26949410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26949411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26949412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26949413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26949414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26949415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26949416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26949417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26949418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26949419, 'pht': 3726}}" where mtr_portfolio_id = 26949395 and dashboard_run_id = 2315377 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`=26949395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347245, 0.02593511586358223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26949395_17-09-2025_14_53_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26949408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26949409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26949410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26949411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26949412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26949413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26949414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26949415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26949416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26949417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26949418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26949419, '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 = 26950169 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': 3735964, 'mtr_portfolio_id': 26950169, 'created_at': datetime.datetime(2025, 9, 17, 16, 15, 59), 'result': '0.04212195843644845', 'result_long': None, 'result_double': None}] Qualite : 0.04212195843644845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26950169 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950169_17-09-2025_16_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26950169 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950169_17-09-2025_16_16_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26950276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26950277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26950278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26950279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26950280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26950281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26950282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26950283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26950284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26950285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26950286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26950287, 'pht': 3726}}" where mtr_portfolio_id = 26950169 and dashboard_run_id = 2315377 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`=26950169 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347246, 0.04212195843644845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950169_17-09-2025_16_16_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26950276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26950277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26950278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26950279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26950280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26950281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26950282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26950283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26950284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26950285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26950286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26950287, '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 = 26950796 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': 3736048, 'mtr_portfolio_id': 26950796, 'created_at': datetime.datetime(2025, 9, 17, 15, 17, 1), 'result': '0.05020585078078251', 'result_long': None, 'result_double': None}] Qualite : 0.05020585078078251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26950796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950796_17-09-2025_15_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26950796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950796_17-09-2025_15_17_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26950837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26950838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26950839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26950840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26950841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26950842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26950843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26950844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26950845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26950846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26950847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26950848, 'pht': 3726}}" where mtr_portfolio_id = 26950796 and dashboard_run_id = 2315377 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`=26950796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347247, 0.05020585078078251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26950796_17-09-2025_15_17_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26950837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26950838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26950839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26950840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26950841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26950842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26950843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26950844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26950845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26950846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26950847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26950848, '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 = 26951526 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': 3736101, 'mtr_portfolio_id': 26951526, 'created_at': datetime.datetime(2025, 9, 17, 15, 41, 31), 'result': '0.05331202744518397', 'result_long': None, 'result_double': None}] Qualite : 0.05331202744518397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26951526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26951526_17-09-2025_15_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26951526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26951526_17-09-2025_15_41_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26951597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26951598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26951599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26951600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26951601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26951602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26951603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26951604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26951605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26951606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26951607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26951608, 'pht': 3726}}" where mtr_portfolio_id = 26951526 and dashboard_run_id = 2315377 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`=26951526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347248, 0.05331202744518397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26951526_17-09-2025_15_41_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26951597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26951598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26951599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26951600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26951601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26951602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26951603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26951604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26951605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26951606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26951607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26951608, '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 = 26952474 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': 3736186, 'mtr_portfolio_id': 26952474, 'created_at': datetime.datetime(2025, 9, 17, 15, 49, 30), 'result': '0.025068656050489083', 'result_long': None, 'result_double': None}] Qualite : 0.025068656050489083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26952474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26952474_17-09-2025_15_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26952474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26952474_17-09-2025_15_49_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26952501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26952502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26952503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26952504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26952505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26952506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26952507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26952508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26952509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26952510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26952511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26952512, 'pht': 3726}}" where mtr_portfolio_id = 26952474 and dashboard_run_id = 2315377 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`=26952474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347249, 0.025068656050489083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26952474_17-09-2025_15_49_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26952501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26952502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26952503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26952504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26952505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26952506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26952507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26952508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26952509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26952510, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26952511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26952512, '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 = 26953207 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': 3736243, 'mtr_portfolio_id': 26953207, 'created_at': datetime.datetime(2025, 9, 17, 16, 4, 28), 'result': '0.06899470096539828', 'result_long': None, 'result_double': None}] Qualite : 0.06899470096539828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26953207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953207_17-09-2025_16_04_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26953207 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953207_17-09-2025_16_04_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26953249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26953250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26953251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26953252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26953253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26953254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26953255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26953256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26953257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26953258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26953259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26953260, 'pht': 3726}}" where mtr_portfolio_id = 26953207 and dashboard_run_id = 2315377 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`=26953207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347250, 0.06899470096539828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953207_17-09-2025_16_04_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26953249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26953250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26953251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26953252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26953253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26953254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26953255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26953256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26953257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26953258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26953259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26953260, '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 = 26953865 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': 3736310, 'mtr_portfolio_id': 26953865, 'created_at': datetime.datetime(2025, 9, 17, 16, 18, 57), 'result': '0.0719550517598239', 'result_long': None, 'result_double': None}] Qualite : 0.0719550517598239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26953865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953865_17-09-2025_16_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26953865 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953865_17-09-2025_16_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26953921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26953922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26953923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26953924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26953925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26953926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26953927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26953928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26953929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26953930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26953931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26953932, 'pht': 3726}}" where mtr_portfolio_id = 26953865 and dashboard_run_id = 2315377 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`=26953865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347251, 0.0719550517598239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26953865_17-09-2025_16_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26953921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26953922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26953923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26953924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26953925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26953926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26953927, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26953928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26953929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26953930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26953931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26953932, '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 = 26954759 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': 3736399, 'mtr_portfolio_id': 26954759, 'created_at': datetime.datetime(2025, 9, 17, 16, 33), 'result': '0.04306339736438531', 'result_long': None, 'result_double': None}] Qualite : 0.04306339736438531 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26954759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26954759_17-09-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26954759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26954759_17-09-2025_16_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26954791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26954792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26954793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26954794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26954795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26954796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26954797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26954798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26954799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26954800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26954801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26954802, 'pht': 3726}}" where mtr_portfolio_id = 26954759 and dashboard_run_id = 2315377 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`=26954759 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347252, 0.04306339736438531, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26954759_17-09-2025_16_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26954791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26954792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26954793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26954794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26954795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26954796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26954797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26954798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26954799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26954800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26954801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26954802, '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 = 26955562 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': 3736463, 'mtr_portfolio_id': 26955562, 'created_at': datetime.datetime(2025, 9, 17, 16, 46, 59), 'result': '0.04447567404584801', 'result_long': None, 'result_double': None}] Qualite : 0.04447567404584801 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26955562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26955562_17-09-2025_16_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26955562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26955562_17-09-2025_16_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26955601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26955602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26955603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26955604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26955605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26955606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26955607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26955608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26955609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26955610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26955611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26955612, 'pht': 3726}}" where mtr_portfolio_id = 26955562 and dashboard_run_id = 2315377 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`=26955562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347253, 0.04447567404584801, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26955562_17-09-2025_16_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26955601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26955602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26955603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26955604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26955605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26955606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26955607, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26955608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26955609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26955610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26955611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26955612, '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 = 26956283 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': 3736535, 'mtr_portfolio_id': 26956283, 'created_at': datetime.datetime(2025, 9, 17, 17, 2, 58), 'result': '0.08848655521223604', 'result_long': None, 'result_double': None}] Qualite : 0.08848655521223604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26956283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26956283_17-09-2025_17_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26956283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26956283_17-09-2025_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26956319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26956320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26956321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26956322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26956323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26956324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26956325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26956326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26956327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26956328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26956329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26956330, 'pht': 3726}}" where mtr_portfolio_id = 26956283 and dashboard_run_id = 2315377 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`=26956283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347254, 0.08848655521223604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26956283_17-09-2025_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26956319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26956320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26956321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26956322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26956323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26956324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26956325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26956326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26956327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26956328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26956329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26956330, '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 = 26957052 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': 3736638, 'mtr_portfolio_id': 26957052, 'created_at': datetime.datetime(2025, 9, 17, 17, 16, 59), 'result': '0.04219256718552137', 'result_long': None, 'result_double': None}] Qualite : 0.04219256718552137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26957052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957052_17-09-2025_17_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26957052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957052_17-09-2025_17_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26957115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26957116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26957117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26957118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26957119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26957120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26957121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26957122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26957123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26957124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26957125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26957126, 'pht': 3726}}" where mtr_portfolio_id = 26957052 and dashboard_run_id = 2315377 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`=26957052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347255, 0.04219256718552137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957052_17-09-2025_17_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26957115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26957116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26957117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26957118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26957119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26957120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26957121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26957122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26957123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26957124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26957125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26957126, '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 = 26957906 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': 3736722, 'mtr_portfolio_id': 26957906, 'created_at': datetime.datetime(2025, 9, 17, 18, 2, 58), 'result': '0.04641449133839343', 'result_long': None, 'result_double': None}] Qualite : 0.04641449133839343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26957906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957906_17-09-2025_18_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26957906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957906_17-09-2025_18_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26957941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26957942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26957943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26957944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26957945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26957946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26957947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26957948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26957949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26957950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26957951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26957952, 'pht': 3726}}" where mtr_portfolio_id = 26957906 and dashboard_run_id = 2315377 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`=26957906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347256, 0.04641449133839343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26957906_17-09-2025_18_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26957941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26957942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26957943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26957944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26957945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26957946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26957947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26957948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26957949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26957950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26957951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26957952, '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 = 26960054 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': 3736922, 'mtr_portfolio_id': 26960054, 'created_at': datetime.datetime(2025, 9, 17, 18, 19, 28), 'result': '0.039188215375876335', 'result_long': None, 'result_double': None}] Qualite : 0.039188215375876335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26960054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26960054_17-09-2025_18_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26960054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26960054_17-09-2025_18_19_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26960072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26960073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26960074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26960075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26960076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26960077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26960078, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26960079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26960080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26960081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26960082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26960083, 'pht': 3726}}" where mtr_portfolio_id = 26960054 and dashboard_run_id = 2315377 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`=26960054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347257, 0.039188215375876335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26960054_17-09-2025_18_19_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26960072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26960073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26960074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26960075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26960076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26960077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26960078, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26960079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26960080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26960081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26960082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26960083, '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 = 26961043 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': 3736998, 'mtr_portfolio_id': 26961043, 'created_at': datetime.datetime(2025, 9, 17, 18, 40, 30), 'result': '0.03644397836641087', 'result_long': None, 'result_double': None}] Qualite : 0.03644397836641087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26961043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961043_17-09-2025_18_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26961043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961043_17-09-2025_18_40_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26961062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26961063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26961064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26961065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26961066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26961067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26961068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26961070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26961071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26961072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26961073, 'pht': 3726}}" where mtr_portfolio_id = 26961043 and dashboard_run_id = 2315377 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`=26961043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347258, 0.03644397836641087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961043_17-09-2025_18_40_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26961062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26961063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26961064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26961065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26961066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26961067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26961068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26961069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26961070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26961071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26961072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26961073, '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 = 26961313 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': 3737022, 'mtr_portfolio_id': 26961313, 'created_at': datetime.datetime(2025, 9, 17, 20, 0, 58), 'result': '0.050919674715812', 'result_long': None, 'result_double': None}] Qualite : 0.050919674715812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26961313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961313_17-09-2025_20_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26961313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961313_17-09-2025_20_01_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26961508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26961509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26961510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26961511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26961512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26961513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26961514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26961515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26961516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26961517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26961518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26961519, 'pht': 3726}}" where mtr_portfolio_id = 26961313 and dashboard_run_id = 2315377 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`=26961313 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347259, 0.050919674715812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26961313_17-09-2025_20_01_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26961508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26961509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26961510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26961511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26961512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26961513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26961514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26961515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26961516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26961517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26961518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26961519, '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 = 26962084 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': 3737082, 'mtr_portfolio_id': 26962084, 'created_at': datetime.datetime(2025, 9, 17, 19, 2, 59), 'result': '0.059404453888956724', 'result_long': None, 'result_double': None}] Qualite : 0.059404453888956724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26962084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962084_17-09-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26962084 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962084_17-09-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26962126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26962127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26962128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26962129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26962130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26962131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26962132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26962133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26962134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26962135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26962136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26962137, 'pht': 3726}}" where mtr_portfolio_id = 26962084 and dashboard_run_id = 2315377 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`=26962084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347260, 0.059404453888956724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962084_17-09-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26962126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26962127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26962128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26962129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26962130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26962131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26962132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26962133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26962134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26962135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26962136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26962137, '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 = 26962774 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': 3737144, 'mtr_portfolio_id': 26962774, 'created_at': datetime.datetime(2025, 9, 17, 19, 17), 'result': '0.029867205247155405', 'result_long': None, 'result_double': None}] Qualite : 0.029867205247155405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26962774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962774_17-09-2025_19_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26962774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962774_17-09-2025_19_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26962807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26962808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26962809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26962810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26962811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26962812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26962813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26962814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26962815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26962816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26962817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26962818, 'pht': 3726}}" where mtr_portfolio_id = 26962774 and dashboard_run_id = 2315377 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`=26962774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347261, 0.029867205247155405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26962774_17-09-2025_19_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26962807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26962808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26962809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26962810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26962811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26962812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26962813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26962814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26962815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26962816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26962817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26962818, '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 = 26963932 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': 3737254, 'mtr_portfolio_id': 26963932, 'created_at': datetime.datetime(2025, 9, 17, 19, 32, 58), 'result': '0.052490900605248636', 'result_long': None, 'result_double': None}] Qualite : 0.052490900605248636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26963932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26963932_17-09-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26963932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26963932_17-09-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26963943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26963944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26963945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26963946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26963947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26963948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26963949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26963950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26963951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26963952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26963953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26963954, 'pht': 3726}}" where mtr_portfolio_id = 26963932 and dashboard_run_id = 2315377 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`=26963932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347262, 0.052490900605248636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26963932_17-09-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26963943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26963944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26963945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26963946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26963947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26963948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26963949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26963950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26963951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26963952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26963953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26963954, '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 = 26964377 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': 3737302, 'mtr_portfolio_id': 26964377, 'created_at': datetime.datetime(2025, 9, 17, 19, 47, 2), 'result': '0.05868042322367956', 'result_long': None, 'result_double': None}] Qualite : 0.05868042322367956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26964377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26964377_17-09-2025_19_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26964377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26964377_17-09-2025_19_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26964433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26964434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26964435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26964436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26964437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26964438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26964439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26964440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26964441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26964442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26964443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26964444, 'pht': 3726}}" where mtr_portfolio_id = 26964377 and dashboard_run_id = 2315377 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`=26964377 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347263, 0.05868042322367956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26964377_17-09-2025_19_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26964433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26964434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26964435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26964436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26964437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26964438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26964439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26964440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26964441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26964442, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26964443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26964444, '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 = 26965199 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': 3737409, 'mtr_portfolio_id': 26965199, 'created_at': datetime.datetime(2025, 9, 17, 20, 3), 'result': '0.041267481027773216', 'result_long': None, 'result_double': None}] Qualite : 0.041267481027773216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26965199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26965199_17-09-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26965199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26965199_17-09-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26965352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26965353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26965354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26965355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26965356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26965357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26965358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26965359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26965360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26965361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26965362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26965363, 'pht': 3726}}" where mtr_portfolio_id = 26965199 and dashboard_run_id = 2315377 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`=26965199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347264, 0.041267481027773216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26965199_17-09-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26965352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26965353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26965354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26965355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26965356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26965357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26965358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26965359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26965360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26965361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26965362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26965363, '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 = 26966063 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': 3737546, 'mtr_portfolio_id': 26966063, 'created_at': datetime.datetime(2025, 9, 17, 21, 46), 'result': '0.05122708935582544', 'result_long': None, 'result_double': None}] Qualite : 0.05122708935582544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26966063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26966063_17-09-2025_21_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26966063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26966063_17-09-2025_21_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26966116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26966117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26966118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26966119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26966120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26966121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26966122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26966123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26966124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26966125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26966126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26966127, 'pht': 3726}}" where mtr_portfolio_id = 26966063 and dashboard_run_id = 2315377 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`=26966063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347265, 0.05122708935582544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26966063_17-09-2025_21_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26966116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26966117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26966118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26966119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26966120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26966121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26966122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26966123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26966124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26966125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26966126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26966127, '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 = 26967018 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': 3737719, 'mtr_portfolio_id': 26967018, 'created_at': datetime.datetime(2025, 9, 17, 20, 38, 59), 'result': '0.07428091913652413', 'result_long': None, 'result_double': None}] Qualite : 0.07428091913652413 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26967018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26967018_17-09-2025_20_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26967018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26967018_17-09-2025_20_38_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26967023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26967024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26967025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26967026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26967027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26967028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26967029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26967030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26967031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26967032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26967033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26967034, 'pht': 3726}}" where mtr_portfolio_id = 26967018 and dashboard_run_id = 2315377 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`=26967018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347266, 0.07428091913652413, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26967018_17-09-2025_20_38_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26967023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26967024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26967025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26967026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26967027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26967028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26967029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26967030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26967031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26967032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26967033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26967034, '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 = 26968473 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': 3737913, 'mtr_portfolio_id': 26968473, 'created_at': datetime.datetime(2025, 9, 17, 21, 2, 59), 'result': '0.03796141867970837', 'result_long': None, 'result_double': None}] Qualite : 0.03796141867970837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26968473 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26968473_17-09-2025_21_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26968473 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26968473_17-09-2025_21_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26968478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26968479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26968481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26968482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26968483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26968484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26968485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26968486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26968487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26968488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26968489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26968490, 'pht': 3726}}" where mtr_portfolio_id = 26968473 and dashboard_run_id = 2315377 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`=26968473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347267, 0.03796141867970837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26968473_17-09-2025_21_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26968478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26968479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26968481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26968482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26968483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26968484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26968485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26968486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26968487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26968488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26968489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26968490, '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 = 26969337 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': 3737982, 'mtr_portfolio_id': 26969337, 'created_at': datetime.datetime(2025, 9, 17, 21, 23, 58), 'result': '0.04065210207978584', 'result_long': None, 'result_double': None}] Qualite : 0.04065210207978584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26969337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26969337_17-09-2025_21_24_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26969337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26969337_17-09-2025_21_24_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26969342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26969343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26969344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26969345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26969346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26969347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26969348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26969349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26969350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26969351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26969352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26969353, 'pht': 3726}}" where mtr_portfolio_id = 26969337 and dashboard_run_id = 2315377 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`=26969337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347268, 0.04065210207978584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26969337_17-09-2025_21_24_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26969342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26969343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26969344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26969345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26969346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26969347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26969348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26969349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26969350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26969351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26969352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26969353, '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 = 26970201 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': 3738038, 'mtr_portfolio_id': 26970201, 'created_at': datetime.datetime(2025, 9, 17, 21, 42, 59), 'result': '0.06707710847582589', 'result_long': None, 'result_double': None}] Qualite : 0.06707710847582589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26970201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26970201_17-09-2025_21_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26970201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26970201_17-09-2025_21_43_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26970227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26970229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26970230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26970231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26970233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26970234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26970235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26970237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26970238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26970239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26970240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26970242, 'pht': 3726}}" where mtr_portfolio_id = 26970201 and dashboard_run_id = 2315375 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`=26970201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347269, 0.06707710847582589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26970201_17-09-2025_21_43_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26970227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26970229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26970230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26970231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26970233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26970234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26970235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26970237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26970238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26970239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26970240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26970242, '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 = 26971262 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': 3738114, 'mtr_portfolio_id': 26971262, 'created_at': datetime.datetime(2025, 9, 17, 21, 48, 59), 'result': '0.04269715485915544', 'result_long': None, 'result_double': None}] Qualite : 0.04269715485915544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26971262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971262_17-09-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26971262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971262_17-09-2025_21_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26971274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26971275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26971276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26971277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26971278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26971279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26971280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26971281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26971282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26971283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26971284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26971285, 'pht': 3726}}" where mtr_portfolio_id = 26971262 and dashboard_run_id = 2315375 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`=26971262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347270, 0.04269715485915544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971262_17-09-2025_21_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26971274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26971275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26971276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26971277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26971278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26971279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26971280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26971281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26971282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26971283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26971284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26971285, '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 = 26971614 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': 3738132, 'mtr_portfolio_id': 26971614, 'created_at': datetime.datetime(2025, 9, 17, 22, 3, 59), 'result': '0.07329705653571997', 'result_long': None, 'result_double': None}] Qualite : 0.07329705653571997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26971614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971614_17-09-2025_22_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26971614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971614_17-09-2025_22_04_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26971618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26971619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26971620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26971621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26971622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26971623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26971624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26971625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26971626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26971627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26971628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26971629, 'pht': 3726}}" where mtr_portfolio_id = 26971614 and dashboard_run_id = 2315375 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`=26971614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347271, 0.07329705653571997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26971614_17-09-2025_22_04_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26971618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26971619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26971620, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26971621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26971622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26971623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26971624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26971625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26971626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26971627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26971628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26971629, '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 = 26972338 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': 3738195, 'mtr_portfolio_id': 26972338, 'created_at': datetime.datetime(2025, 9, 17, 22, 12, 58), 'result': '0.0367646861182146', 'result_long': None, 'result_double': None}] Qualite : 0.0367646861182146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26972338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26972338_17-09-2025_22_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26972338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26972338_17-09-2025_22_13_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26972349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26972350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26972351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26972352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26972353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26972354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26972355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26972356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26972357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26972358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26972359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26972360, 'pht': 3726}}" where mtr_portfolio_id = 26972338 and dashboard_run_id = 2315375 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`=26972338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15347272, 0.0367646861182146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26972338_17-09-2025_22_13_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26972349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26972350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26972351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26972352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26972353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26972354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26972355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26972356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26972357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26972358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26972359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26972360, '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 (26918428,26918876,26919228,26919628,26920486,26920775,26921240,26921882,26922389,26922797,26923194,26924102,26924391,26924797,26925081,26925514,26926119,26926538,26926964,26927400,26928251,26928992,26929662,26930241,26931078,26931666,26932425,26934491,26935129,26935836,26936651,26937443,26938400,26939139,26940069,26941004,26942066,26942982,26946369,26946796,26947807,26948540,26949395,26950169,26950796,26951526,26952474,26953207,26953865,26954759,26955562,26956283,26957052,26957906,26960054,26961043,26961313,26962084,26962774,26963932,26964377,26965199,26966063,26967018,26968473,26969337,26970201,26971262,26971614,26972338) result : ((1384027410,), (1384027478,), (1384027543,), (1384027593,), (1384027636,), (1384027876,), (1384027877,), (1384027878,), (1384027890,), (1384027891,), (1384027892,), (1384027894,), (1384027916,), (1384027919,), (1384027922,), (1384027924,), (1384027942,), (1384027943,), (1384027944,), (1384027946,), (1384027958,), (1384027959,), (1384027960,), (1384028042,), (1384028043,), (1384028061,), (1384028098,), (1384028100,), (1384028123,), (1384028125,), (1384028127,), (1384028129,), (1384028143,), (1384028144,), (1384028528,), (1384028524,), (1384028525,), (1384028526,), (1384028572,), (1384028573,), (1384028574,), (1384028588,), (1384028589,), (1384028591,), (1384028614,), (1384028615,), (1384028616,), (1384028638,), (1384028639,), (1384028642,), (1384028644,), (1384028686,), (1384028687,), (1384028688,), (1384028690,), (1384028703,), (1384028706,), (1384028708,), (1384028710,), (1384028713,), (1384028741,), (1384028743,), (1384028745,), (1384028748,), (1384028759,), (1384028761,), (1384028762,), (1384028765,), (1384028769,), (1384028773,), (1384028785,), (1384028786,), (1384028787,), (1384028789,), (1384028791,), (1384028794,), (1384028804,), (1384028805,), (1384028806,), (1384028826,), (1384028827,), (1384028828,), (1384028830,), (1384028833,), (1384028844,), (1384028845,), (1384028847,), (1384028849,), (1384028872,), (1384028876,), (1384028877,), (1384028895,), (1384028893,), (1384028894,), (1384028917,), (1384028918,), (1384028921,), (1384028925,), (1384028935,), (1384028936,), (1384028937,), (1384028939,), (1384028942,), (1384028964,), (1384028965,), (1384028966,), (1384028968,), (1384028984,), (1384028985,), (1384028986,), (1384028988,), (1384029002,), (1384029003,), (1384029005,), (1384029008,), (1384029021,), (1384029022,), (1384029023,), (1384029025,), (1384029071,), (1384029072,), (1384029073,), (1384029091,), (1384029092,), (1384029093,), (1384029095,), (1384029098,), (1384029115,), (1384029116,), (1384029117,), (1384029119,), (1384029135,), (1384029136,), (1384029137,), (1384029158,), (1384029159,), (1384029160,), (1384029163,), (1384029180,), (1384029181,), (1384029182,), (1384029209,), (1384029210,), (1384029230,), (1384029232,), (1384029235,), (1384029238,), (1384029263,), (1384029255,), (1384029256,), (1384029258,), (1384029260,), (1384029274,), (1384029275,), (1384029276,), (1384029312,), (1384029313,), (1384029314,), (1384029332,), (1384029333,), (1384029347,), (1384029348,), (1384029349,), (1384029351,), (1384029371,), (1384029372,), (1384029373,), (1384029375,), (1384029392,), (1384029393,), (1384029394,), (1384029402,), (1384029410,), (1384029442,), (1384029443,), (1384029444,), (1384029468,), (1384029469,), (1384029472,), (1384029475,), (1384029485,), (1384029486,), (1384029487,), (1384029489,), (1384029492,), (1384029494,), (1384029512,), (1384029518,), (1384029522,), (1384029528,), (1384029560,), (1384029561,), (1384029564,), (1384035034,), (1384035022,), (1384035025,), (1384035027,), (1384035031,), (1384035045,), (1384035051,), (1384035052,), (1384035083,), (1384035087,), (1384035123,), (1384035141,), (1384035143,), (1384035145,), (1384035163,), (1384035165,), (1384035191,), (1384035195,), (1384035196,), (1384035198,), (1384035201,), (1384035210,), (1384035211,), (1384035212,), (1384035225,), (1384035226,), (1384035227,), (1384035229,), (1384035242,), (1384035244,), (1384035247,), (1384035251,), (1384035264,), (1384035265,), (1384035266,), (1384035268,), (1384035280,), (1384035281,), (1384035282,), (1384035308,), (1384035313,), (1384035321,), (1384035351,), (1384035352,), (1384035353,), (1384035355,), (1384035358,), (1384035370,), (1384035371,), (1384035372,), (1384035399,), (1384035402,), (1384035416,), (1384035447,), (1384035445,), (1384035446,), (1384035465,), (1384035466,), (1384035467,), (1384035470,), (1384035474,), (1384035496,), (1384035498,), (1384035500,), (1384035519,), (1384035521,), (1384035523,), (1384035526,), (1384035529,), (1384035548,), (1384035549,), (1384035550,), (1384035552,), (1384035555,), (1384035565,), (1384035566,), (1384035567,), (1384035569,), (1384035593,), (1384035594,), (1384035595,), (1384035597,), (1384035608,), (1384035609,), (1384035610,), (1384035612,), (1384035613,), (1384035630,), (1384035631,), (1384035633,), (1384035637,), (1384035641,), (1384035655,), (1384035656,), (1384035675,), (1384035676,), (1384035677,), (1384035679,), (1384035682,), (1384035690,), (1384035692,), (1384035695,), (1384035698,), (1384035699,), (1384035720,), (1384035725,), (1384035738,), (1384035740,), (1384035744,), (1384035754,), (1384035757,), (1384035774,), (1384035777,), (1384035779,), (1384035781,), (1384035783,), (1384035805,), (1384035798,), (1384035799,), (1384035800,), (1384035801,), (1384035803,), (1384036020,), (1384036040,), (1384036065,), (1384036089,), (1384036370,), (1384036391,), (1384036412,), (1384036437,), (1384036459,), (1384036852,), (1384036880,), (1384036905,), (1384036930,), (1384036960,), (1384037299,), (1384037342,), (1384037402,), (1384037450,), (1384038008,), (1384038511,), (1384038630,), (1384038654,), (1384038678,), (1384038702,), (1384038809,), (1384038811,), (1384038829,), (1384038855,), (1384039331,), (1384039372,), (1384039422,), (1384039452,), (1384039478,), (1384039518,), (1384039788,), (1384039789,), (1384039942,), (1384039961,), (1384039973,), (1384039975,), (1384040054,), (1384040055,), (1384040056,), (1384040058,), (1384040061,), (1384040085,), (1384040086,), (1384040087,), (1384040090,), (1384040190,), (1384040191,), (1384040193,), (1384040211,), (1384040212,), (1384040245,), (1384040239,), (1384040244,), (1384040292,), (1384040293,), (1384040318,), (1384040319,), (1384040320,), (1384040329,), (1384040332,), (1384040334,), (1384040337,), (1384040352,), (1384040354,), (1384040356,), (1384040390,), (1384040391,), (1384040392,), (1384040415,), (1384040416,), (1384040417,), (1384040421,), (1384040441,), (1384040442,), (1384040443,), (1384040468,), (1384040469,), (1384040470,), (1384040472,), (1384040483,), (1384040484,), (1384040487,), (1384040492,), (1384040496,), (1384040510,), (1384040511,), (1384040523,), (1384040524,), (1384040525,), (1384040545,), (1384040546,), (1384040547,), (1384040559,), (1384040560,), (1384040561,), (1384040563,), (1384040595,), (1384040599,), (1384040600,), (1384040619,), (1384040617,), (1384040618,), (1384040641,), (1384040643,), (1384040675,), (1384040676,), (1384040698,), (1384040699,), (1384040701,), (1384040721,), (1384040722,), (1384040723,), (1384040726,), (1384040730,), (1384040755,), (1384040756,), (1384040757,), (1384040820,), (1384040821,), (1384040843,), (1384040844,), (1384040866,), (1384040867,), (1384040868,), (1384040870,), (1384040882,), (1384040884,), (1384040886,), (1384040889,), (1384040893,), (1384040897,), (1384040906,), (1384040908,), (1384040910,), (1384040912,), (1384040915,), (1384040970,), (1384040971,), (1384040972,), (1384040974,), (1384040984,), (1384040985,), (1384040986,), (1384040988,), (1384040991,), (1384041014,), (1384041018,), (1384041021,), (1384041039,), (1384041037,), (1384041038,), (1384041054,), (1384041055,), (1384041056,), (1384041059,), (1384041110,), (1384041111,), (1384041131,), (1384041132,), (1384041134,), (1384041137,), (1384041162,), (1384041163,), (1384041175,), (1384041176,), (1384041177,), (1384041195,), (1384041196,), (1384041197,), (1384041200,), (1384041237,), (1384041239,), (1384041263,), (1384041264,), (1384041265,), (1384041267,), (1384041285,), (1384041286,), (1384041287,), (1384041311,), (1384041313,), (1384041315,), (1384041317,), (1384041320,), (1384041324,), (1384041334,), (1384041335,), (1384041336,), (1384041338,), (1384041349,), (1384041386,), (1384041388,), (1384041390,), (1384042203,), (1384042255,), (1384042307,), (1384042491,), (1384042554,), (1384042608,), (1384042656,), (1384043315,), (1384042998,), (1384043089,), (1384043160,), (1384043231,), (1384043947,), (1384043948,), (1384044428,), (1384051246,), (1384051212,), (1384052021,), (1384052040,), (1384052043,), (1384052046,), (1384052049,), (1384052063,), (1384052086,), (1384052088,), (1384052091,), (1384052095,), (1384052144,), (1384052147,), (1384052151,), (1384052154,), (1384052156,), (1384052171,), (1384052173,), (1384052176,), (1384052178,), (1384052183,), (1384052186,), (1384052201,), (1384052203,), (1384052205,), (1384052208,), (1384052212,), (1384052220,), (1384052222,), (1384052224,), (1384052227,), (1384052254,), (1384052257,), (1384052260,), (1384052263,), (1384052266,), (1384052271,), (1384052306,), (1384052308,), (1384052310,), (1384052313,), (1384052319,), (1384052322,), (1384052332,), (1384052334,), (1384052336,), (1384052353,), (1384052356,), (1384052357,), (1384052360,), (1384052365,), (1384052368,), (1384052396,), (1384052383,), (1384052386,), (1384052388,), (1384052391,), (1384052407,), (1384052410,), (1384052413,), (1384052415,), (1384052418,), (1384052496,), (1384052498,), (1384052500,), (1384052503,), (1384052507,), (1384052523,), (1384052524,), (1384052525,), (1384052527,), (1384052539,), (1384052542,), (1384052544,), (1384052546,), (1384052548,), (1384052556,), (1384052557,), (1384052558,), (1384052561,), (1384052585,), (1384052588,), (1384052599,), (1384052621,), (1384052623,), (1384052624,), (1384052643,), (1384052644,), (1384052645,), (1384052647,), (1384052655,), (1384052657,), (1384052658,), (1384052687,), (1384052688,), (1384052689,), (1384052699,), (1384052764,), (1384052765,), (1384052767,), (1384052797,), (1384052798,), (1384052800,), (1384052803,), (1384052806,), (1384052810,), (1384052825,), (1384052851,), (1384052848,), (1384052910,), (1384052929,), (1384052931,), (1384052932,), (1384052953,), (1384052954,), (1384052955,), (1384052957,), (1384052961,), (1384052982,), (1384052985,), (1384052987,), (1384052994,), (1384053001,), (1384053037,), (1384053052,), (1384053054,), (1384053055,), (1384053057,), (1384053070,), (1384053071,), (1384053089,), (1384053091,), (1384053095,), (1384053099,), (1384053117,), (1384053119,), (1384053122,), (1384053125,), (1384053127,), (1384053129,), (1384053135,), (1384053136,), (1384053137,), (1384053139,), (1384053161,), (1384053162,), (1384053163,), (1384053164,), (1384053178,), (1384053180,), (1384053182,), (1384053184,), (1384053211,), (1384053207,), (1384053208,), (1384053209,), (1384053224,), (1384053225,), (1384053226,), (1384053227,), (1384053245,), (1384053246,), (1384053247,), (1384053249,), (1384053258,), (1384053259,), (1384053260,), (1384053262,), (1384053280,), (1384053281,), (1384053282,), (1384053284,), (1384053286,), (1384053288,), (1384053303,), (1384053305,), (1384053309,), (1384053313,), (1384053331,), (1384053333,), (1384053335,), (1384053337,), (1384053339,), (1384053340,), (1384053342,), (1384053343,), (1384053349,), (1384053350,), (1384053352,), (1384053354,), (1384053356,), (1384053366,), (1384053367,), (1384053368,), (1384053385,), (1384053387,), (1384053388,), (1384053390,), (1384053408,), (1384053414,), (1384053417,), (1384053420,), (1384053422,), (1384053425,), (1384053426,), (1384053427,), (1384053430,), (1384053435,), (1384053616,), (1384053639,), (1384053663,), (1384054070,), (1384054095,), (1384054121,), (1384054129,), (1384054132,), (1384054139,), (1384054215,), (1384054417,), (1384054207,), (1384054212,), (1384054213,), (1384054230,), (1384054231,), (1384054233,), (1384054251,), (1384054276,), (1384054301,), (1384054392,), (1384054509,), (1384054531,), (1384054555,), (1384054579,), (1384054873,), (1384054898,), (1384054919,), (1384054944,), (1384054971,), (1384055109,), (1384055139,), (1384055164,), (1384055660,), (1384055701,), (1384055745,), (1384055775,), (1384055807,), (1384056057,), (1384056080,), (1384056108,), (1384056131,), (1384056139,), (1384056202,), (1384056230,), (1384056255,), (1384056280,), (1384056422,), (1384056436,), (1384056437,), (1384056439,), (1384056465,), (1384056468,), (1384056470,), (1384056471,), (1384056474,), (1384056484,), (1384056485,), (1384056486,), (1384056488,), (1384056490,), (1384056512,), (1384056513,), (1384056515,), (1384056518,), (1384056520,), (1384056523,), (1384056529,), (1384056538,), (1384056541,), (1384056542,), (1384056545,), (1384056548,), (1384056550,), (1384056571,), (1384056574,), (1384056576,), (1384056579,), (1384056582,), (1384056595,), (1384056600,), (1384056602,), (1384056604,), (1384056646,), (1384056635,), (1384056640,), (1384056642,), (1384056644,), (1384056653,), (1384056654,), (1384056655,), (1384056656,), (1384056682,), (1384056684,), (1384056685,), (1384056687,), (1384056690,), (1384056691,), (1384056699,), (1384056700,), (1384056701,), (1384056702,), (1384056719,), (1384056721,), (1384056777,), (1384056838,), (1384056848,), (1384056851,), (1384056870,), (1384056871,), (1384056872,), (1384056874,), (1384056876,), (1384056878,), (1384056897,), (1384056900,), (1384056906,), (1384056952,), (1384056953,), (1384056954,), (1384056956,), (1384056958,), (1384057000,), (1384057002,), (1384057003,), (1384057006,), (1384057015,), (1384057016,), (1384057019,), (1384057026,), (1384057029,), (1384057032,), (1384057039,), (1384057040,), (1384057041,), (1384057043,), (1384057049,), (1384057056,), (1384057058,), (1384057076,), (1384057072,), (1384057073,), (1384057074,), (1384057095,), (1384057096,), (1384057097,), (1384057099,), (1384057109,), (1384057110,), (1384057111,), (1384057112,), (1384057114,), (1384057116,), (1384057130,), (1384057132,), (1384057133,), (1384057150,), (1384057152,), (1384057154,), (1384057158,), (1384057163,), (1384057182,), (1384057184,), (1384057185,), (1384057188,), (1384057193,), (1384057195,), (1384057206,), (1384057207,), (1384057211,), (1384057216,), (1384057271,), (1384057273,), (1384057274,), (1384057276,), (1384057292,), (1384057293,), (1384057294,), (1384057295,), (1384057297,), (1384057299,), (1384057313,), (1384057315,), (1384057316,), (1384057318,), (1384057319,), (1384057321,), (1384057337,), (1384057338,), (1384057339,), (1384057366,), (1384057367,), (1384057369,), (1384057371,), (1384057373,), (1384057375,), (1384057379,), (1384057380,), (1384057390,), (1384057396,), (1384057398,), (1384057401,), (1384057404,), (1384057406,), (1384057428,), (1384057430,), (1384057432,), (1384057434,), (1384057447,), (1384057448,), (1384057450,), (1384057452,), (1384057454,), (1384057455,), (1384057466,), (1384057470,), (1384057482,), (1384057473,), (1384057476,), (1384057478,), (1384057479,), (1384057491,), (1384057492,), (1384057493,), (1384057495,), (1384057554,), (1384057560,), (1384057565,), (1384057567,), (1384057569,), (1384057571,), (1384057586,), (1384057587,), (1384057588,), (1384057590,), (1384057591,), (1384057593,), (1384057616,), (1384057618,), (1384057619,), (1384057621,), (1384057624,), (1384057636,), (1384057637,), (1384057638,), (1384057640,), (1384057665,), (1384057673,), (1384057676,), (1384057679,), (1384057684,), (1384057695,), (1384057728,), (1384057730,), (1384057731,), (1384057740,), (1384057741,), (1384057743,), (1384057746,), (1384057749,), (1384057785,), (1384057787,), (1384057801,), (1384057802,), (1384057803,), (1384057805,), (1384057809,), (1384057830,), (1384057833,), (1384057834,), (1384057836,), (1384057839,), (1384057853,), (1384057856,), (1384057859,), (1384057863,), (1384057870,), (1384057887,), (1384057920,), (1384057924,), (1384057928,), (1384058715,), (1384058762,), (1384058812,), (1384058857,), (1384058978,), (1384059004,), (1384059029,), (1384059427,), (1384060178,), (1384059229,), (1384059255,), (1384059282,), (1384059314,), (1384059369,), (1384059700,), (1384059740,), (1384059787,), (1384059846,), (1384059905,), (1384059948,), (1384060133,), (1384060325,), (1384060360,), (1384060394,), (1384060420,), (1384060443,), (1384060711,), (1384060734,), (1384060762,), (1384060798,), (1384060822,), (1384060853,), (1384060859,), (1384060885,), (1384060909,), (1384060935,), (1384061140,), (1384061141,), (1384061162,), (1384061199,), (1384061200,), (1384061201,), (1384061203,), (1384061207,), (1384061209,), (1384061229,), (1384061235,), (1384061237,), (1384061240,), (1384061314,), (1384061322,), (1384061347,), (1384061374,), (1384061399,), (1384061408,), (1384061467,), (1384061484,), (1384061487,), (1384061489,), (1384061491,), (1384061497,), (1384061681,), (1384061711,), (1384061712,), (1384061714,), (1384061718,), (1384061818,), (1384061820,), (1384061821,), (1384061823,), (1384061938,), (1384061966,), (1384062156,), (1384062158,), (1384062161,), (1384062168,), (1384062171,), (1384062240,), (1384062246,), (1384062248,), (1384062251,), (1384062255,), (1384062259,), (1384062282,), (1384062275,), (1384062278,), (1384062280,), (1384062423,), (1384062453,), (1384062476,), (1384062519,), (1384062556,), (1384062581,), (1384062715,), (1384062717,), (1384062718,), (1384062734,), (1384062735,), (1384062737,), (1384062760,), (1384062788,), (1384062812,), (1384062881,), (1384062883,), (1384062885,), (1384062887,), (1384062890,), (1384062894,), (1384062906,), (1384062907,), (1384062912,), (1384062937,), (1384063039,), (1384063048,), (1384063061,), (1384063065,), (1384063068,), (1384063071,), (1384063080,), (1384063082,), (1384063140,), (1384063163,), (1384063176,), (1384063178,), (1384063181,), (1384063210,), (1384063213,), (1384063214,), (1384063363,), (1384063371,), (1384063380,), (1384063386,), (1384063396,), (1384063405,), (1384063408,), (1384063410,), (1384063413,), (1384063417,), (1384063420,), (1384063436,), (1384063437,), (1384063438,), (1384063524,), (1384063549,), (1384063571,), (1384063596,), (1384063647,), (1384063781,), (1384063783,), (1384063785,), (1384063787,), (1384063790,), (1384063834,), (1384063866,), (1384063877,), (1384063887,), (1384063889,), (1384064008,), (1384064060,), (1384064003,), (1384064004,), (1384064039,), (1384064041,), (1384064043,), (1384064046,), (1384064049,), (1384064052,), (1384064058,), (1384064059,), (1384064062,), (1384064063,), (1384064064,), (1384064072,), (1384064075,), (1384064099,), (1384064101,), (1384064102,), (1384064104,), (1384064128,), (1384064130,), (1384064132,), (1384064137,), (1384064271,), (1384064288,), (1384064289,), (1384064292,), (1384064296,), (1384064351,), (1384064353,), (1384064355,), (1384064359,), (1384064363,), (1384064426,), (1384064447,), (1384064451,), (1384064467,), (1384064468,), (1384064470,), (1384064497,), (1384064499,), (1384064500,), (1384064542,), (1384064543,), (1384064544,), (1384064547,), (1384064552,), (1384064582,), (1384064584,), (1384064586,), (1384064590,), (1384064594,), (1384064598,), (1384064645,), (1384064653,), (1384064675,), (1384064683,), (1384064719,), (1384064720,), (1384064723,), (1384064753,), (1384064754,), (1384064755,), (1384064757,), (1384064762,), (1384064818,), (1384064820,), (1384064824,), (1384064828,), (1384064832,), (1384065114,), (1384065068,), (1384065075,), (1384065076,), (1384065078,), (1384065083,), (1384065176,), (1384065177,), (1384065293,), (1384065295,), (1384065296,), (1384065298,), (1384065302,), (1384065394,), (1384065406,), (1384065408,), (1384065429,), (1384065437,), (1384065724,), (1384065750,), (1384065773,), (1384065780,), (1384065789,), (1384065858,), (1384065865,), (1384065868,), (1384065872,), (1384065877,), (1384066028,), (1384066046,), (1384066067,), (1384066071,), (1384066078,), (1384066082,), (1384066094,), (1384066095,), (1384066096,), (1384066115,), (1384066116,), (1384066118,), (1384066121,), (1384066156,), (1384066158,), (1384066160,), (1384066162,), (1384066167,), (1384066187,), (1384066205,), (1384066207,), (1384066211,), (1384066215,), (1384066233,), (1384066237,), (1384066239,), (1384066292,), (1384066309,), (1384066311,), (1384066314,), (1384066603,), (1384066626,), (1384066649,), (1384066675,), (1384067061,), (1384067065,), (1384067068,), (1384067072,), (1384067085,), (1384067096,), (1384067124,), (1384067340,), (1384067871,), (1384067286,), (1384067314,), (1384067708,), (1384067734,), (1384067766,), (1384067793,), (1384067823,), (1384068296,), (1384068346,), (1384068397,), (1384068952,), (1384068977,), (1384069000,), (1384069032,), (1384069058,), (1384069538,), (1384069558,), (1384069561,), (1384069583,), (1384069790,), (1384069822,), (1384069867,), (1384070114,), (1384070137,), (1384070151,), (1384070158,), (1384070233,), (1384070235,), (1384070250,), (1384070252,), (1384070256,), (1384070325,), (1384070334,), (1384070336,), (1384070350,), (1384070354,), (1384070381,), (1384070383,), (1384070400,), (1384070574,), (1384070576,), (1384070577,), (1384070580,), (1384070584,), (1384070588,), (1384070657,), (1384070658,), (1384070660,), (1384070666,), (1384070671,), (1384070675,), (1384070715,), (1384070740,), (1384070745,), (1384070747,), (1384070748,), (1384070810,), (1384070823,), (1384070830,), (1384070846,), (1384070873,), (1384070878,), (1384070879,), (1384070893,), (1384070897,), (1384070922,), (1384070926,), (1384070929,), (1384070933,), (1384070968,), (1384070952,), (1384070954,), (1384070956,), (1384070960,), (1384070964,), (1384070985,), (1384070988,), (1384070991,), (1384071024,), (1384071026,), (1384071027,), (1384071063,), (1384071065,), (1384071067,), (1384071070,), (1384071074,), (1384071079,), (1384071172,), (1384071176,), (1384071178,), (1384071190,), (1384071202,), (1384071269,), (1384071282,), (1384071290,), (1384071561,), (1384071585,), (1384071611,), (1384071640,), (1384071646,), (1384071652,), (1384071664,), (1384071673,), (1384071674,), (1384071675,), (1384071681,), (1384071729,), (1384071746,), (1384071747,), (1384071749,), (1384071767,), (1384071768,), (1384071790,), (1384071936,), (1384071938,), (1384071939,), (1384071975,), (1384072089,), (1384072091,), (1384072092,), (1384072094,), (1384072099,), (1384072119,), (1384072121,), (1384072122,), (1384072123,), (1384072154,), (1384072166,), (1384072170,), (1384072172,), (1384072205,), (1384072247,), (1384072196,), (1384072197,), (1384072198,), (1384072200,), (1384072202,), (1384072222,), (1384072223,), (1384072225,), (1384072229,), (1384072233,), (1384072236,), (1384072243,), (1384072245,), (1384072257,), (1384072268,), (1384072270,), (1384072274,), (1384072341,), (1384072343,), (1384072344,), (1384072361,), (1384072369,), (1384072406,), (1384072407,), (1384072411,), (1384072470,), (1384072472,), (1384072473,), (1384072761,), (1384072762,), (1384072763,), (1384072924,), (1384072926,), (1384072927,), (1384073009,), (1384073010,), (1384073012,), (1384073017,), (1384073022,), (1384073052,), (1384073054,), (1384073055,), (1384073057,), (1384073148,), (1384073162,), (1384073165,), (1384073171,), (1384073176,), (1384073182,), (1384073194,), (1384073196,), (1384073198,), (1384073200,), (1384073239,), (1384073240,), (1384073242,), (1384073246,), (1384073269,), (1384073280,), (1384073324,), (1384073325,), (1384073326,), (1384073390,), (1384073394,), (1384073417,), (1384073420,), (1384073421,), (1384073464,), (1384073461,), (1384073463,), (1384073671,), (1384073697,), (1384073740,), (1384073766,), (1384073936,), (1384073938,), (1384073941,), (1384073945,), (1384073949,), (1384073951,), (1384073965,), (1384073966,), (1384073976,), (1384073979,), (1384073980,), (1384073982,), (1384073990,), (1384074111,), (1384074139,), (1384074173,), (1384074417,), (1384074419,), (1384074420,), (1384074423,), (1384074427,), (1384074449,), (1384074451,), (1384074454,), (1384074459,), (1384074463,), (1384074465,), (1384074489,), (1384074490,), (1384074515,), (1384074539,), (1384074564,), (1384074868,), (1384074876,), (1384074903,), (1384074906,), (1384074908,), (1384074927,), (1384074929,), (1384075570,), (1384088784,), (1384089617,), (1384089706,), (1384090500,), (1384090501,), (1384091084,), (1384091349,), (1384091353,), (1384091366,), (1384091380,), (1384091587,), (1384091625,), (1384091626,), (1384091836,), (1384091861,), (1384092041,), (1384092042,), (1384092043,), (1384092046,), (1384092147,), (1384092163,), (1384092169,), (1384092198,), (1384092250,), (1384092251,), (1384092252,), (1384092328,), (1384092602,), (1384092607,), (1384092627,), (1384092636,), (1384092728,), (1384092726,), (1384092727,), (1384092761,), (1384092769,), (1384093108,), (1384093186,), (1384093408,), (1384093595,), (1384093598,), (1384093967,), (1384094220,), (1384094607,), (1384094661,), (1384094911,), (1384095560,), (1384095599,), (1384095603,), (1384096058,), (1384096138,), (1384096237,), (1384096326,), (1384096368,), (1384097503,), (1384097531,), (1384097567,), (1384097754,), (1384097791,), (1384097832,), (1384097863,), (1384097905,), (1384098205,), (1384098069,), (1384098098,), (1384098127,), (1384098154,), (1384098182,), (1384098458,), (1384098485,), (1384098509,), (1384098536,), (1384098805,), (1384098851,), (1384098892,), (1384098921,), (1384099812,), (1384099842,), (1384099866,), (1384100443,), (1384100467,), (1384100493,), (1384100518,), (1384100544,), (1384100974,), (1384100998,), (1384101039,), (1384101715,), (1384101719,), (1384102240,), (1384102730,), (1384102811,), (1384102812,), (1384102854,), (1384102881,), (1384102907,), (1384102935,), (1384103002,), (1384103258,), (1384103264,), (1384103355,), (1384103356,), (1384103357,), (1384103390,), (1384103438,), (1384103704,), (1384103703,), (1384103893,), (1384103895,), (1384103896,), (1384103897,), (1384104508,), (1384104809,), (1384104811,), (1384104812,), (1384104880,), (1384104899,), (1384104906,), (1384105124,), (1384105127,), (1384105130,), (1384105132,), (1384105138,), (1384105164,), (1384105207,), (1384105208,), (1384105239,), (1384105280,), (1384105306,), (1384105332,), (1384105487,), (1384105491,), (1384105493,), (1384105517,), (1384105527,), (1384105530,), (1384105635,), (1384105666,), (1384105804,), (1384105828,), (1384105862,), (1384106335,), (1384106377,), (1384106406,), (1384106479,), (1384106547,), (1384106876,), (1384106902,), (1384107267,), (1384107293,), (1384107316,), (1384107341,), (1384107713,), (1384107738,), (1384107765,), (1384107789,), (1384107815,), (1384108408,), (1384108262,), (1384108328,), (1384108406,), (1384108851,), (1384108881,), (1384109599,), (1384109643,), (1384109695,), (1384110022,), (1384110027,), (1384110868,), (1384110960,), (1384111039,), (1384111782,), (1384111895,), (1384111940,), (1384111956,), (1384111960,), (1384112408,), (1384112475,), (1384112532,), (1384112571,), (1384112606,), (1384113051,), (1384113111,), (1384113158,), (1384113187,), (1384113466,), (1384113487,), (1384113493,), (1384113495,), (1384113509,), (1384113749,), (1384113750,), (1384113751,), (1384113753,), (1384113756,), (1384113759,), (1384113957,), (1384113958,), (1384113959,), (1384114090,), (1384114093,), (1384114095,), (1384114098,), (1384114237,), (1384114282,), (1384114583,), (1384114594,), (1384114627,), (1384114722,), (1384114721,), (1384115165,), (1384115218,), (1384115244,), (1384115589,), (1384115614,), (1384116107,), (1384116151,), (1384116196,), (1384116482,), (1384116483,), (1384116484,), (1384116486,), (1384116661,), (1384116685,), (1384116710,), (1384116734,), (1384117176,), (1384117248,), (1384118185,), (1384118271,), (1384118359,), (1384118396,), (1384118423,), (1384118447,), (1384118945,), (1384119072,), (1384119143,), (1384119198,), (1384119249,), (1384119683,), (1384119688,), (1384119690,), (1384120113,), (1384120138,), (1384120161,), (1384120185,), (1384120210,), (1384120642,), (1384120691,), (1384120715,), (1384120739,), (1384121034,), (1384121035,), (1384121036,), (1384121038,), (1384121042,), (1384121504,), (1384121535,), (1384121566,), (1384121594,), (1384121623,), (1384121841,), (1384121831,), (1384121836,), (1384121839,), (1384124079,), (1384124143,), (1384126280,), (1384126368,), (1384126439,), (1384126503,), (1384126903,), (1384126917,), (1384126940,), (1384126974,), (1384129601,), (1384129911,), (1384129914,), (1384129916,), (1384129940,), (1384129967,), (1384130076,), (1384130079,), (1384130223,), (1384130229,), (1384130230,), (1384130232,), (1384130315,), (1384130317,), (1384130337,), (1384130448,), (1384130450,), (1384130467,), (1384130492,), (1384130977,), (1384131022,), (1384131157,), (1384131656,), (1384131781,), (1384131849,), (1384132563,), (1384132587,), (1384132634,), (1384133158,), (1384133183,), (1384133207,), (1384133231,), (1384133551,), (1384133578,), (1384133608,), (1384133634,), (1384133650,), (1384133725,), (1384133731,), (1384133733,), (1384133761,), (1384133762,), (1384133763,), (1384133766,), (1384133770,), (1384133792,), (1384133794,), (1384133798,), (1384133803,), (1384133806,), (1384133814,), (1384133825,), (1384133827,), (1384133830,), (1384133881,), (1384133873,), (1384133875,), (1384133877,), (1384134044,), (1384134082,), (1384134114,), (1384134463,), (1384134486,), (1384134510,), (1384135128,), (1384135130,), (1384135131,), (1384135133,), (1384135497,), (1384135514,), (1384135517,), (1384135520,), (1384135665,), (1384135696,), (1384135782,), (1384135868,), (1384135911,), (1384135912,), (1384135914,), (1384136218,), (1384136268,), (1384136315,), (1384136376,), (1384136430,), (1384136869,), (1384136894,), (1384136917,), (1384136940,), (1384136983,), (1384137026,), (1384137276,), (1384137357,), (1384137432,), (1384137712,), (1384137750,), (1384137776,), (1384138221,), (1384138274,), (1384138558,), (1384138604,), (1384138653,), (1384139080,), (1384139129,), (1384139180,), (1384139856,), (1384139909,), (1384139958,), (1384140009,), (1384140064,), (1384140534,), (1384140879,), (1384141215,), (1384141243,), (1384141264,), (1384141290,), (1384141655,), (1384141724,), (1384141794,), (1384142804,), (1384142883,), (1384142946,), (1384143008,), (1384143083,), (1384143858,), (1384143925,), (1384144000,), (1384144081,), (1384144129,), (1384144391,), (1384144392,), (1384144393,), (1384144410,), (1384145115,), (1384145136,), (1384145137,), (1384145163,), (1384145461,), (1384145463,), (1384145464,), (1384145466,), (1384145470,), (1384145473,), (1384145615,), (1384145643,), (1384145666,), (1384145690,), (1384145984,), (1384146008,), (1384146030,), (1384146055,), (1384146226,), (1384146227,), (1384146228,), (1384146230,), (1384146781,), (1384146874,), (1384146949,), (1384147039,), (1384148159,), (1384148244,), (1384148345,), (1384148436,), (1384150297,), (1384150335,), (1384150363,), (1384150392,), (1384150682,), (1384150589,), (1384150638,), (1384151344,), (1384151838,), (1384151864,), (1384151889,), (1384151916,), (1384154809,), (1384195788,), (1384195420,), (1384196112,), (1384196162,), (1384197076,), (1384197215,), (1384197872,), (1384198617,), (1384198705,), (1384198757,), (1384198814,), (1384198886,), (1384199161,), (1384199193,), (1384199219,), (1384199819,), (1384199846,), (1384199874,), (1384199902,), (1384200970,), (1384200973,), (1384200994,), (1384200998,), (1384201715,), (1384201841,), (1384201917,), (1384201946,), (1384202247,), (1384202249,), (1384202437,), (1384202440,), (1384202442,), (1384202471,), (1384202467,), (1384202468,), (1384202469,), (1384202969,), (1384203122,), (1384203124,), (1384203347,), (1384203382,), (1384203416,), (1384203450,), (1384203497,), (1384204359,), (1384204468,), (1384204582,), (1384204660,), (1384204741,), (1384205287,), (1384205337,), (1384205372,), (1384205396,), (1384205424,), (1384205585,), (1384205592,), (1384205633,), (1384205685,), (1384205744,), (1384206071,), (1384206080,), (1384206091,), (1384206110,), (1384206139,), (1384206140,), (1384206141,), (1384206143,), (1384206147,), (1384206151,), (1384206309,), (1384206335,), (1384206362,), (1384206388,), (1384206414,), (1384206441,), (1384206819,), (1384206916,), (1384207014,), (1384207914,), (1384207963,), (1384208012,), (1384208058,), (1384208108,), (1384208479,), (1384208571,), (1384208668,), (1384208768,), (1384208871,), (1384208934,), (1384209421,), (1384209429,), (1384209435,), (1384209456,), (1384209467,), (1384209471,), (1384210330,), (1384210377,), (1384210429,), (1384210504,), (1384210570,), (1384210626,), (1384210806,), (1384210834,), (1384210859,), (1384210902,), (1384210960,), (1384211002,), (1384211964,), (1384212271,), (1384212310,), (1384211239,), (1384211344,), (1384211544,), (1384211717,), (1384211833,), (1384212407,), (1384212434,), (1384212462,), (1384213023,), (1384213054,), (1384213082,), (1384213121,), (1384213154,), (1384213411,), (1384214223,), (1384214334,), (1384214812,), (1384214853,), (1384214882,), (1384214897,), (1384214906,), (1384215660,), (1384215661,), (1384215662,), (1384215665,), (1384215668,), (1384215671,), (1384215683,), (1384215684,), (1384215690,), (1384215943,), (1384215975,), (1384216003,), (1384216064,), (1384216092,), (1384216148,), (1384216230,), (1384216289,), (1384216337,), (1384216358,), (1384216361,), (1384216471,), (1384216472,), (1384216474,), (1384216478,), (1384216483,), (1384216829,), (1384216831,), (1384216832,), (1384216834,), (1384217191,), (1384217297,), (1384217387,), (1384217457,), (1384217526,), (1384217633,), (1384217842,), (1384217845,), (1384217847,), (1384217850,), (1384218258,), (1384218185,), (1384218224,), (1384218231,), (1384218272,), (1384218275,), (1384218276,), (1384218278,), (1384218282,), (1384218538,), (1384218609,), (1384218643,), (1384218668,), (1384219106,), (1384219134,), (1384219159,), (1384219212,), (1384220129,), (1384220153,), (1384220156,), (1384220182,), (1384220203,), (1384220310,), (1384220333,), (1384220722,), (1384220739,), (1384220755,), (1384220757,), (1384221181,), (1384221283,), (1384221371,), (1384222331,), (1384222356,), (1384222383,), (1384222394,), (1384222736,), (1384222762,), (1384222917,), (1384222944,), (1384222970,), (1384223591,), (1384224235,), (1384224230,), (1384224536,), (1384224548,), (1384224584,), (1384224616,), (1384224618,), (1384224619,), (1384224648,), (1384224649,), (1384224651,), (1384224653,), (1384224656,), (1384224988,), (1384225013,), (1384225039,), (1384225078,), (1384225459,), (1384225460,), (1384225461,), (1384225463,), (1384225466,), (1384225469,), (1384225491,), (1384225507,), (1384225538,), (1384225565,), (1384225593,), (1384225830,), (1384225832,), (1384225834,), (1384225843,), (1384225871,), (1384225899,), (1384225984,), (1384225986,), (1384225987,), (1384225989,), (1384226206,), (1384226207,), (1384226208,), (1384226210,), (1384226214,), (1384226218,), (1384226248,), (1384226275,), (1384226299,), (1384227598,), (1384227625,), (1384227627,), (1384228453,), (1384228469,), (1384228474,), (1384228600,), (1384228623,), (1384228650,), (1384228673,), (1384228968,), (1384228996,), (1384229023,), (1384229581,), (1384229628,), (1384229683,), (1384230144,), (1384230169,), (1384230193,), (1384230220,), (1384230413,), (1384230485,), (1384230557,), (1384230606,), (1384230655,), (1384230979,), (1384231016,), (1384231050,), (1384231380,), (1384231420,), (1384231828,), (1384232360,), (1384232410,), (1384232445,), (1384232649,), (1384232650,), (1384232651,), (1384233593,), (1384233703,), (1384234605,), (1384234712,), (1384234824,), (1384234938,), (1384236769,), (1384236280,), (1384236370,), (1384236461,), (1384236596,), (1384238012,), (1384238107,), (1384238182,), (1384238294,), (1384238508,), (1384239128,), (1384239172,), (1384239211,), (1384239244,), (1384239307,), (1384239365,), (1384240018,), (1384240088,), (1384240124,), (1384240154,), (1384240259,), (1384240284,), (1384240309,), (1384240594,), (1384240597,), (1384240599,), (1384240625,), (1384240676,), (1384240707,), (1384241003,), (1384241032,), (1384241058,), (1384246443,), (1384246470,), (1384246493,), (1384246516,), (1384246860,), (1384246818,), (1384246842,), (1384246887,), (1384246915,), (1384247342,), (1384247387,), (1384247427,), (1384247983,), (1384248081,), (1384248177,), (1384249405,), (1384249493,), (1384249556,), (1384250059,), (1384250176,), (1384250306,), (1384250439,), (1384252681,), (1384255377,), (1384255522,), (1384255593,), (1384256264,), (1384256313,), (1384256369,), (1384256418,), (1384256472,), (1384256843,), (1384256872,), (1384256903,), (1384256927,), (1384256969,), (1384257332,), (1384257303,), (1384257330,), (1384257675,), (1384257701,), (1384257724,), (1384257748,), (1384257780,), (1384257822,), (1384258057,), (1384258083,), (1384258112,), (1384258141,), (1384258168,), (1384258235,), (1384259141,), (1384259213,), (1384259293,), (1384259369,), (1384259621,), (1384259649,), (1384259692,), (1384259784,), (1384259874,), (1384259924,), (1384260231,), (1384260262,), (1384260292,), (1384260322,), (1384260590,), (1384260617,), (1384260643,), (1384260670,), (1384260922,), (1384262137,), (1384262714,), (1384262826,), (1384262860,), (1384262888,), (1384262913,), (1384262942,), (1384262975,), (1384262978,), (1384262993,), (1384262995,), (1384263004,), (1384263037,), (1384263171,), (1384263201,), (1384263228,), (1384263339,), (1384263366,), (1384263380,), (1384263395,), (1384263422,), (1384263451,), (1384263561,), (1384263607,), (1384263661,), (1384263717,), (1384265216,), (1384264709,), (1384264797,), (1384264893,), (1384264989,), (1384265098,), (1384265937,), (1384265950,), (1384266039,), (1384266129,), (1384266528,), (1384266602,), (1384266609,), (1384266611,), (1384266636,), (1384266665,), (1384267171,), (1384267193,), (1384267222,), (1384267247,), (1384267274,), (1384267308,), (1384267402,), (1384267428,), (1384267437,), (1384267438,), (1384267446,), (1384267526,), (1384267551,), (1384267579,), (1384267626,), (1384267650,), (1384267898,), (1384267957,), (1384267990,), (1384268016,), (1384268036,), (1384268039,), (1384268141,), (1384268143,), (1384268144,), (1384268145,), (1384268156,), (1384268179,), (1384268180,), (1384268182,), (1384268183,), (1384268197,), (1384268198,), (1384268218,), (1384268366,), (1384268368,), (1384268369,), (1384268598,), (1384268622,), (1384268648,), (1384268673,), (1384268711,), (1384268741,), (1384269038,), (1384269063,), (1384269086,), (1384269111,), (1384269137,), (1384269349,), (1384269378,), (1384269401,), (1384270184,), (1384270227,), (1384270280,), (1384270325,), (1384270386,), (1384270463,), (1384270464,), (1384270471,), (1384270472,), (1384270476,), (1384270478,), (1384270482,), (1384270511,), (1384270676,), (1384270598,), (1384270625,), (1384270650,), (1384270885,), (1384270963,), (1384271055,), (1384271131,), (1384271201,), (1384271280,), (1384271977,), (1384272073,), (1384272177,), (1384272304,), (1384272408,), (1384274013,), (1384274166,), (1384274328,), (1384274514,), (1384274673,), (1384275823,), (1384275875,), (1384275922,), (1384275981,), (1384276053,), (1384276880,), (1384276997,), (1384277030,), (1384277083,), (1384277156,), (1384277219,), (1384278414,), (1384278530,), (1384278659,), (1384278837,), (1384278885,), (1384279234,), (1384279307,), (1384279328,), (1384279491,), (1384279494,), (1384279495,), (1384279497,), (1384279499,), (1384279501,), (1384279529,), (1384279532,), (1384279534,), (1384279537,), (1384279541,), (1384279585,), (1384279590,), (1384279592,), (1384279593,), (1384279613,), (1384279614,), (1384279615,), (1384279617,), (1384279620,), (1384279622,), (1384279646,), (1384279674,), (1384279701,), (1384279727,), (1384279754,), (1384279778,), (1384279864,), (1384279908,), (1384279935,), (1384279963,), (1384279995,), (1384280100,), (1384280127,), (1384280519,), (1384280564,), (1384280609,), (1384280661,), (1384281508,), (1384281258,), (1384281306,), (1384281351,), (1384281400,), (1384281455,), (1384281781,), (1384281806,), (1384281829,), (1384281851,), (1384282205,), (1384282251,), (1384282294,), (1384282345,), (1384283875,), (1384283988,), (1384284095,), (1384284266,), (1384285578,), (1384285624,), (1384285679,), (1384285727,), (1384285776,), (1384286455,), (1384287897,), (1384287940,), (1384287987,), (1384288426,), (1384288451,), (1384288477,), (1384288503,), (1384288528,), (1384288746,), (1384288748,), (1384288751,), (1384288754,), (1384288756,), (1384288759,), (1384288771,), (1384288856,), (1384288885,), (1384288913,), (1384288940,), (1384288967,), (1384289245,), (1384289246,), (1384289247,), (1384289273,), (1384289293,), (1384289304,), (1384289393,), (1384289421,), (1384289448,), (1384289528,), (1384289556,), (1384289581,), (1384289608,), (1384289637,), (1384289671,), (1384290123,), (1384290169,), (1384290229,), (1384290279,), (1384290329,), (1384290889,), (1384290940,), (1384290995,), (1384291045,), (1384291094,), (1384291148,), (1384291529,), (1384291447,), (1384291473,), (1384291492,), (1384291497,), (1384291517,), (1384291764,), (1384291812,), (1384291831,), (1384291892,), (1384292809,), (1384292903,), (1384292997,), (1384293091,), (1384293191,), (1384293290,), (1384293846,), (1384293871,), (1384293896,), (1384293921,), (1384293947,), (1384294541,), (1384294557,), (1384294559,), (1384294598,), (1384294620,), (1384294622,), (1384294990,), (1384295057,), (1384295090,), (1384295129,), (1384295162,), (1384295204,), (1384295585,), (1384295610,), (1384295638,), (1384295684,), (1384297103,), (1384297105,), (1384297107,), (1384297132,), (1384297162,), (1384297177,), (1384297547,), (1384297572,), (1384297604,), (1384297656,), (1384297697,), (1384298010,), (1384298064,), (1384298113,), (1384298774,), (1384298806,), (1384298842,), (1384298869,), (1384299204,), (1384299206,), (1384299209,), (1384299257,), (1384299300,), (1384299326,), (1384299503,), (1384299506,), (1384299508,), (1384299510,), (1384302242,), (1384302123,), (1384302177,), (1384302211,), (1384302567,), (1384302593,), (1384302620,), (1384302644,), (1384302670,), (1384302699,), (1384302827,), (1384302851,), (1384302876,), (1384303003,), (1384303009,), (1384303020,), (1384303108,), (1384304075,), (1384304161,), (1384304277,), (1384304382,), (1384304450,), (1384304483,), (1384304747,), (1384304798,), (1384304846,), (1384304899,), (1384305698,), (1384305819,), (1384305878,), (1384305908,), (1384305917,), (1384305982,), (1384306018,), (1384306044,), (1384306086,), (1384306135,), (1384306196,), (1384306375,), (1384306426,), (1384306610,), (1384307097,), (1384307126,), (1384307154,), (1384307202,), (1384307251,), (1384307278,), (1384307563,), (1384307616,), (1384307662,), (1384308100,), (1384308101,), (1384308102,), (1384308104,), (1384308107,), (1384308307,), (1384308309,), (1384308331,), (1384308345,), (1384308349,), (1384309296,), (1384309397,), (1384309506,), (1384309612,), (1384309685,), (1384309762,), (1384310055,), (1384310149,), (1384310230,), (1384310321,), (1384310406,), (1384310495,), (1384310942,), (1384311038,), (1384311063,), (1384311092,), (1384310746,), (1384310775,), (1384310818,), (1384310852,), (1384310893,), (1384311192,), (1384311228,), (1384311337,), (1384311393,), (1384311445,), (1384312317,), (1384312441,), (1384312569,), (1384312647,), (1384313590,), (1384313677,), (1384313735,), (1384313782,), (1384315081,), (1384315164,), (1384315229,), (1384315778,), (1384315807,), (1384315840,), (1384315876,), (1384315931,), (1384315982,), (1384316586,), (1384316660,), (1384316737,), (1384316815,), (1384317481,), (1384317537,), (1384317562,), (1384317594,), (1384317644,), (1384318226,), (1384318249,), (1384318261,), (1384318264,), (1384318269,), (1384318291,), (1384319027,), (1384319142,), (1384319230,), (1384319743,), (1384319784,), (1384319810,), (1384319839,), (1384319867,), (1384320151,), (1384320179,), (1384320207,), (1384320404,), (1384320408,), (1384320420,), (1384320437,), (1384320457,), (1384320464,), (1384320577,), (1384320602,), (1384320628,), (1384320985,), (1384321010,), (1384321035,), (1384321062,), (1384321090,), (1384321117,), (1384321374,), (1384321366,), (1384321368,), (1384321369,), (1384321839,), (1384321887,), (1384321943,), (1384322076,), (1384322571,), (1384322586,), (1384322587,), (1384322589,), (1384322875,), (1384322886,), (1384322928,), (1384322931,), (1384322942,), (1384322977,), (1384323275,), (1384323301,), (1384323327,), (1384323658,), (1384323681,), (1384323712,), (1384323851,), (1384323853,), (1384323854,), (1384324385,), (1384324424,), (1384324490,), (1384324533,), (1384324569,), (1384324670,), (1384324925,), (1384324956,), (1384324982,), (1384325009,), (1384325040,), (1384325332,), (1384325382,), (1384325894,), (1384325943,), (1384325983,), (1384326010,), (1384326043,), (1384326089,), (1384344819,), (1384344747,), (1384344793,), (1384345327,), (1384345375,), (1384345422,), (1384345467,), (1384346038,), (1384346083,), (1384346760,), (1384346802,), (1384346828,), (1384346855,), (1384347002,), (1384347030,), (1384347056,), (1384347074,), (1384347653,), (1384347700,), (1384347752,), (1384347801,), (1384347857,), (1384348142,), (1384348157,), (1384348182,), (1384348199,), (1384348226,), (1384348671,), (1384348703,), (1384348764,), (1384349628,), (1384349653,), (1384349660,), (1384349712,), (1384349791,), (1384349808,), (1384349941,), (1384349969,), (1384349996,), (1384350011,), (1384350167,), (1384350176,), (1384350180,), (1384350183,), (1384350186,), (1384350230,), (1384350234,), (1384350236,), (1384350238,), (1384350273,), (1384350275,), (1384350277,), (1384350279,), (1384350287,), (1384350499,), (1384351559,), (1384351555,), (1384353171,), (1384353894,), (1384353897,), (1384353900,), (1384354020,), (1384354109,), (1384354129,), (1384354137,), (1384354415,), (1384354456,), (1384355405,), (1384355519,), (1384355637,), (1384356932,), (1384356985,), (1384357029,), (1384357056,), (1384357102,), (1384357523,), (1384357412,), (1384357439,), (1384357464,), (1384357504,), (1384358048,), (1384358094,), (1384358150,), (1384358901,), (1384359015,), (1384359118,), (1384359227,), (1384359328,), (1384360329,), (1384360355,), (1384360384,), (1384360388,), (1384360390,), (1384360393,), (1384360620,), (1384360645,), (1384360670,), (1384360749,), (1384361007,), (1384361029,), (1384361052,), (1384361078,), (1384361104,), (1384361136,), (1384361383,), (1384361410,), (1384361438,), (1384361466,), (1384361769,), (1384361799,), (1384361824,), (1384361853,), (1384362041,), (1384362070,), (1384362098,), (1384362508,), (1384362562,), (1384362613,), (1384362671,), (1384362718,), (1384363236,), (1384363288,), (1384363376,), (1384363428,), (1384363475,), (1384363527,), (1384363863,), (1384363948,), (1384364017,), (1384364092,), (1384364164,), (1384364702,), (1384364733,), (1384364796,), (1384364858,), (1384364912,), (1384364963,), (1384365549,), (1384365658,), (1384365733,), (1384365808,), (1384366436,), (1384366487,), (1384366535,), (1384366594,), (1384366691,), (1384367466,), (1384367375,), (1384368477,), (1384368499,), (1384368522,), (1384368550,), (1384369144,), (1384369169,), (1384369197,), (1384369223,), (1384369234,), (1384369237,), (1384369838,), (1384369921,), (1384370002,), (1384370083,), (1384370182,), (1384370318,), (1384370426,), (1384370530,), (1384370560,), (1384370981,), (1384371015,), (1384371044,), (1384371073,), (1384371104,), (1384371389,), (1384371428,), (1384371452,), (1384371498,), (1384371577,), (1384371966,), (1384371994,), (1384372022,), (1384372048,), (1384372079,), (1384372128,), (1384372285,), (1384372322,), (1384372345,), (1384372374,), (1384372529,), (1384372578,), (1384372627,), (1384373006,), (1384373034,), (1384373065,), (1384373103,), (1384373131,), (1384373159,), (1384373376,), (1384373410,), (1384373435,), (1384373446,), (1384373450,), (1384373607,), (1384373680,), (1384373717,), (1384374177,), (1384374200,), (1384374229,), (1384374254,), (1384374282,), (1384374310,), (1384375031,), (1384375086,), (1384375118,), (1384375144,), (1384375171,), (1384375195,), (1384375318,), (1384375375,), (1384375424,), (1384375478,), (1384375540,), (1384376091,), (1384375837,), (1384375886,), (1384375949,), (1384376015,), (1384376539,), (1384376598,), (1384376668,), (1384376738,), (1384377483,), (1384377558,), (1384377603,), (1384377659,), (1384377722,), (1384378545,), (1384378627,), (1384378698,), (1384378781,), (1384378877,), (1384378976,), (1384379979,), (1384380115,), (1384380221,), (1384380336,), (1384381881,), (1384382011,), (1384382116,), (1384382850,), (1384382874,), (1384382921,), (1384383004,), (1384383120,), (1384383241,), (1384383583,), (1384383585,), (1384383587,), (1384383602,), (1384383701,), (1384383797,), (1384384364,), (1384384386,), (1384384415,), (1384384424,), (1384384784,), (1384384816,), (1384384844,), (1384384869,), (1384384939,), (1384384997,), (1384385127,), (1384385130,), (1384385131,), (1384385140,), (1384385164,), (1384385313,), (1384385314,), (1384385336,), (1384385385,), (1384385546,), (1384385573,), (1384385596,), (1384385896,), (1384385916,), (1384385937,), (1384385960,), (1384386642,), (1384386758,), (1384386869,), (1384386995,), (1384387111,), (1384387204,), (1384387605,), (1384387574,), (1384388151,), (1384388201,), (1384388251,), (1384388338,), (1384388746,), (1384388771,), (1384388796,), (1384388810,), (1384388825,), (1384388876,), (1384388906,), (1384388939,), (1384388970,), (1384389039,), (1384389101,), (1384389524,), (1384389555,), (1384389564,), (1384389567,), (1384389651,), (1384389703,), (1384389779,), (1384389839,), (1384389900,), (1384389957,), (1384390240,), (1384390242,), (1384390243,), (1384390245,), (1384390247,), (1384390250,), (1384390379,), (1384390405,), (1384390430,), (1384390460,), (1384390488,), (1384390515,), (1384390674,), (1384390698,), (1384390724,), (1384391050,), (1384391073,), (1384391101,), (1384391125,), (1384391152,), (1384391177,), (1384391434,), (1384391458,), (1384391489,), (1384391515,), (1384391540,), (1384391845,), (1384391873,), (1384391914,), (1384391963,), (1384392020,), (1384392072,), (1384392238,), (1384392270,), (1384392306,), (1384392348,), (1384392437,), (1384392465,), (1384392491,), (1384392519,), (1384392545,), (1384392571,), (1384392745,), (1384392770,), (1384392799,), (1384392825,), (1384393219,), (1384393300,), (1384393381,), (1384393467,), (1384393556,), (1384394822,), (1384394500,), (1384394570,), (1384394646,), (1384394720,), (1384394795,), (1384394881,), (1384394906,), (1384394929,), (1384395587,), (1384395637,), (1384395662,), (1384395711,), (1384395748,), (1384396038,), (1384396061,), (1384396067,), (1384396069,), (1384396073,), (1384396608,), (1384396696,), (1384397883,), (1384397908,), (1384397952,), (1384398050,), (1384398635,), (1384398664,), (1384398690,), (1384399034,), (1384399035,), (1384399037,), (1384399040,), (1384399044,), (1384399048,), (1384399246,), (1384399326,), (1384399402,), (1384399478,), (1384399840,), (1384399841,), (1384399842,), (1384399844,), (1384400038,), (1384400039,), (1384400040,), (1384400049,), (1384400097,), (1384400267,), (1384400294,), (1384400320,), (1384400350,), (1384400382,), (1384400410,), (1384400666,), (1384400693,), (1384400718,), (1384400744,), (1384401022,), (1384401040,), (1384401044,), (1384401054,), (1384401168,), (1384401194,), (1384401219,), (1384401245,), (1384401412,), (1384401364,), (1384401372,), (1384401382,), (1384401402,), (1384401454,), (1384401464,), (1384401494,), (1384401575,), (1384401634,), (1384401718,), (1384401837,), (1384401863,), (1384401887,), (1384401913,), (1384402457,), (1384402509,), (1384403080,), (1384403153,), (1384403240,), (1384403337,), (1384403427,), (1384403524,), (1384404564,), (1384404667,), (1384404759,), (1384404904,), (1384405031,), (1384405740,), (1384405752,), (1384405850,), (1384406364,), (1384406402,), (1384406413,), (1384406420,), (1384406422,), (1384406425,), (1384406579,), (1384406616,), (1384406642,), (1384406668,), (1384406695,), (1384406725,), (1384406815,), (1384406840,), (1384406865,), (1384406902,), (1384406937,), (1384406966,), (1384407060,), (1384407087,), (1384407118,), (1384407179,), (1384407211,), (1384407239,), (1384407330,), (1384407364,), (1384407389,), (1384407415,), (1384407931,), (1384407976,), (1384408000,), (1384408028,), (1384408055,), (1384408316,), (1384408476,), (1384408530,), (1384408580,), (1384409423,), (1384409491,), (1384409546,), (1384409600,), (1384410203,), (1384410067,), (1384410099,), (1384410127,), (1384410164,), (1384410598,), (1384410672,), (1384410735,), (1384410799,), (1384411488,), (1384411536,), (1384411589,), (1384411667,), (1384411738,), (1384411814,), (1384412445,), (1384412488,), (1384412531,), (1384412612,), (1384413577,), (1384413709,), (1384413814,), (1384413928,), (1384414041,), (1384414151,), (1384415283,), (1384415397,), (1384415505,), (1384415596,), (1384416206,), (1384416247,), (1384416298,), (1384416331,), (1384416372,), (1384416421,), (1384417249,), (1384417292,), (1384417316,), (1384417353,), (1384417412,), (1384417660,), (1384417703,), (1384417763,), (1384417849,), (1384417946,), (1384418923,), (1384418973,), (1384419018,), (1384419063,), (1384419946,), (1384420000,), (1384420052,), (1384420108,), (1384420152,), (1384420213,), (1384420996,), (1384421089,), (1384421159,), (1384421211,), (1384421624,), (1384421650,), (1384421676,), (1384421703,), (1384422190,), (1384422253,), (1384422313,), (1384422348,), (1384422350,), (1384422639,), (1384422680,), (1384422800,), (1384422936,), (1384423676,), (1384423595,), (1384423623,), (1384423649,), (1384424467,), (1384424572,), (1384424683,), (1384425598,), (1384425670,), (1384425719,), (1384425808,), (1384425873,), (1384425949,), (1384427004,), (1384427137,), (1384427183,), (1384427211,), (1384427258,), (1384428038,), (1384428079,), (1384428640,), (1384428680,), (1384428717,), (1384428755,), (1384428795,), (1384428866,), (1384428891,), (1384428917,), (1384428951,), (1384428986,), (1384429018,), (1384429369,), (1384429448,), (1384429475,), (1384429499,), (1384429660,), (1384429662,), (1384429664,), (1384429667,), (1384429675,), (1384429741,), (1384429769,), (1384429793,), (1384429820,), (1384429856,), (1384429956,), (1384429957,), (1384429959,), (1384429963,), (1384429968,), (1384429971,), (1384429985,), (1384430006,), (1384430091,), (1384430142,), (1384430242,), (1384430244,), (1384430848,), (1384430874,), (1384430898,), (1384430942,), (1384431001,), (1384431055,), (1384431216,), (1384431222,), (1384431224,), (1384436131,), (1384434392,), (1384436119,), (1384436122,), (1384436124,), (1384436127,), (1384436375,), (1384436412,), (1384436436,), (1384436654,), (1384437762,), (1384446312,), (1384446942,), (1384446995,), (1384447811,), (1384447912,), (1384448005,), (1384448099,), (1384448209,), (1384450944,), (1384451065,), (1384452242,), (1384452311,), (1384452931,), (1384453000,), (1384453066,), (1384453142,), (1384453213,), (1384453818,), (1384453863,), (1384454917,), (1384454976,), (1384455035,), (1384455077,), (1384455395,), (1384455423,), (1384455584,), (1384455585,), (1384455586,), (1384455606,), (1384455645,), (1384455674,), (1384455825,), (1384455874,), (1384455893,), (1384455998,), (1384456025,), (1384456054,), (1384456089,), (1384456119,), (1384456147,), (1384456344,), (1384456371,), (1384456397,), (1384456445,), (1384456497,), (1384456548,), (1384457093,), (1384457144,), (1384457197,), (1384457246,), (1384457307,), (1384457367,), (1384458041,), (1384458580,), (1384458584,), (1384458612,), (1384458858,), (1384459622,), (1384459729,), (1384459834,), (1384459945,), (1384460057,), (1384460175,), (1384460603,), (1384457916,), (1384457968,), (1384458017,), (1384458035,), (1384458039,), (1384458121,), (1384458168,), (1384458207,), (1384458252,), (1384458297,), (1384458345,), (1384458532,), (1384458547,), (1384458570,), (1384458688,), (1384458737,), (1384458765,), (1384458806,), (1384458831,), (1384458947,), (1384458971,), (1384458998,), (1384459027,), (1384459098,), (1384459251,), (1384460460,), (1384460485,), (1384460516,), (1384460550,), (1384460578,), (1384460949,), (1384460994,), (1384461059,), (1384461103,), (1384461133,), (1384461306,), (1384461308,), (1384461310,), (1384461312,), (1384461315,), (1384461519,), (1384461546,), (1384461571,), (1384461599,), (1384461739,), (1384461740,), (1384461741,), (1384461743,), (1384461746,), (1384461749,), (1384461814,), (1384461843,), (1384461868,), (1384461896,), (1384461928,), (1384462203,), (1384462227,), (1384462251,), (1384462279,), (1384462586,), (1384463706,), (1384469490,), (1384467602,), (1384469488,), (1384469489,), (1384469706,), (1384469730,), (1384469756,), (1384469782,), (1384469810,), (1384469836,), (1384469974,), (1384469976,), (1384470001,), (1384470027,), (1384470157,), (1384470161,), (1384470164,), (1384470167,), (1384470171,), (1384470199,), (1384470190,), (1384470192,), (1384470194,), (1384470216,), (1384470218,), (1384470219,), (1384470221,), (1384470363,), (1384470475,), (1384470505,), (1384470538,), (1384470574,), (1384470602,), (1384470824,), (1384470846,), (1384470871,), (1384470896,), (1384470922,), (1384471315,), (1384471364,), (1384471419,), (1384471469,), (1384472197,), (1384472291,), (1384472379,), (1384472470,), (1384472566,), (1384472668,), (1384473356,), (1384473413,), (1384473448,), (1384473513,), (1384473563,), (1384473625,), (1384473640,), (1384473669,), (1384473695,), (1384473724,), (1384473906,), (1384473938,), (1384473961,), (1384473989,), (1384474046,), (1384474385,), (1384474417,), (1384474443,), (1384474488,), (1384474801,), (1384474830,), (1384474855,), (1384474881,), (1384474909,), (1384474935,), (1384475163,), (1384475164,), (1384475165,), (1384475168,), (1384475304,), (1384475331,), (1384475359,), (1384475666,), (1384475698,), (1384475728,), (1384475757,), (1384475837,), (1384475863,), (1384475892,), (1384475919,), (1384475946,), (1384476449,), (1384476187,), (1384476236,), (1384476291,), (1384476339,), (1384476394,), (1384476779,), (1384476855,), (1384476928,), (1384477001,), (1384478093,), (1384478204,), (1384478316,), (1384478441,), (1384478567,), (1384479311,), (1384479333,), (1384479354,), (1384479377,), (1384479415,), (1384479497,), (1384480505,), (1384480658,), (1384480802,), (1384482550,), (1384482627,), (1384482728,), (1384482792,), (1384482827,), (1384482869,), (1384483319,), (1384483385,), (1384483444,), (1384483496,), (1384483556,), (1384483588,), (1384483714,), (1384483715,), (1384483720,), (1384483725,), (1384483729,), (1384483741,), (1384483742,), (1384483749,), (1384483776,), (1384483804,), (1384484258,), (1384484310,), (1384484357,), (1384484410,), (1384484500,), (1384485257,), (1384485304,), (1384485367,), (1384485418,), (1384485471,), (1384485524,), (1384486027,), (1384486074,), (1384486120,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17092025': {'nb_upload': 59, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26972338]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] map_info['map_portfolio_photo'] : {26972338: [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550, 1384480802, 1384480658, 1384480505, 1384479497, 1384479415, 1384479377, 1384479354, 1384479333, 1384479311, 1384478567, 1384478441, 1384478316, 1384478204, 1384478093, 1384477001, 1384476928, 1384476855, 1384476779, 1384476394, 1384476339, 1384476291, 1384476236, 1384476187]} final : True mtd_id 4302 list_pids : [1384486120, 1384486074, 1384486027, 1384485524, 1384485471, 1384485418, 1384485367, 1384485304, 1384485257, 1384484500, 1384484410, 1384484357, 1384484310, 1384484258, 1384483804, 1384483776, 1384483749, 1384483742, 1384483741, 1384483729, 1384483725, 1384483720, 1384483715, 1384483714, 1384483588, 1384483556, 1384483496, 1384483444, 1384483385, 1384483319, 1384482869, 1384482827, 1384482792, 1384482728, 1384482627, 1384482550] Looping around the photos to save general results len do output : 1 /26972338Didn'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, '3738195') ('4302', '26972338', '1384486120', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195') ('4302', None, None, None, None, None, None, None, '3738195') ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26972338', 'None', None, None, None, None, '3738195'), ('4302', '26972338', '1384486120', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384486074', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384486027', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485524', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485471', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485418', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485367', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485304', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384485257', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484500', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484410', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484357', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484310', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384484258', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483804', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483776', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483749', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483742', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483741', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483729', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483725', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483720', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483715', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483714', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483588', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483556', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483496', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483444', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483385', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384483319', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482869', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482827', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482792', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482728', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482627', None, None, None, None, None, '3738195'), ('4302', '26972338', '1384482550', None, None, None, None, None, '3738195')] time used for this insertion : 0.01901531219482422 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.290483713150024 time spend to save output : 0.019388198852539062 total time spend for step 5 : 4.3098719120025635 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 (3738195) 3.11user 2.95system 0:13.82elapsed 43%CPU (0avgtext+0avgdata 166420maxresident)k 38792inputs+21856outputs (185major+73176minor)pagefaults 0swaps