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 : 3447368 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 (4188916) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4188916) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195625 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4188916'] with mtr_portfolio_ids : ['29195625'] and first list_photo_ids : [] new path : /proc/3447368/ Name: python3 Umask: 0002 State: R (running) Tgid: 3447368 Ngid: 0 Pid: 3447368 PPid: 3447367 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3447368 NSpid: 3447368 NSpgid: 3446791 NSsid: 3446791 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104500 kB VmRSS: 104500 kB RssAnon: 66292 kB RssFile: 38208 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 42 nonvoluntary_ctxt_switches: 80 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3447368', 'Ngid': '0', 'Pid': '3447368', 'PPid': '3447367', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3447368', 'NSpid': '3447368', 'NSpgid': '3446791', 'NSsid': '3446791', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104500 kB', 'VmRSS': '104500 kB', 'RssAnon': '66292 kB', 'RssFile': '38208 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '42', 'nonvoluntary_ctxt_switches': '80'} ('datou_batch_current', '3447368', '1113364', '0', '1113364', '872092', '104500', b'', 'marlene', '4188916') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29195625) 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 (4188916 ) ) 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 (29195625) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1397909186, 'portfolio_id': 29195625}, {'photo_id': 1397908780, 'portfolio_id': 29195625}, {'photo_id': 1397908745, 'portfolio_id': 29195625}, {'photo_id': 1397908715, 'portfolio_id': 29195625}, {'photo_id': 1397908692, 'portfolio_id': 29195625}, {'photo_id': 1397908660, 'portfolio_id': 29195625}, {'photo_id': 1397908444, 'portfolio_id': 29195625}, {'photo_id': 1397908442, 'portfolio_id': 29195625}, {'photo_id': 1397908440, 'portfolio_id': 29195625}, {'photo_id': 1397908438, 'portfolio_id': 29195625}, {'photo_id': 1397908212, 'portfolio_id': 29195625}, {'photo_id': 1397908178, 'portfolio_id': 29195625}, {'photo_id': 1397908144, 'portfolio_id': 29195625}, {'photo_id': 1397908112, 'portfolio_id': 29195625}, {'photo_id': 1397908077, 'portfolio_id': 29195625}, {'photo_id': 1397908045, 'portfolio_id': 29195625}, {'photo_id': 1397907934, 'portfolio_id': 29195625}, {'photo_id': 1397907932, 'portfolio_id': 29195625}, {'photo_id': 1397907930, 'portfolio_id': 29195625}, {'photo_id': 1397907918, 'portfolio_id': 29195625}, {'photo_id': 1397907798, 'portfolio_id': 29195625}, {'photo_id': 1397907760, 'portfolio_id': 29195625}, {'photo_id': 1397907726, 'portfolio_id': 29195625}, {'photo_id': 1397907720, 'portfolio_id': 29195625}, {'photo_id': 1397907718, 'portfolio_id': 29195625}, {'photo_id': 1397907717, 'portfolio_id': 29195625}, {'photo_id': 1397907167, 'portfolio_id': 29195625}, {'photo_id': 1397907166, 'portfolio_id': 29195625}, {'photo_id': 1397907164, 'portfolio_id': 29195625}, {'photo_id': 1397907024, 'portfolio_id': 29195625}, {'photo_id': 1397906994, 'portfolio_id': 29195625}, {'photo_id': 1397906981, 'portfolio_id': 29195625}, {'photo_id': 1397906819, 'portfolio_id': 29195625}, {'photo_id': 1397906785, 'portfolio_id': 29195625}, {'photo_id': 1397906741, 'portfolio_id': 29195625}, {'photo_id': 1397905005, 'portfolio_id': 29195625}, {'photo_id': 1397903597, 'portfolio_id': 29195625}] map_portfolio_id_photo_id: {29195625: [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597]} ##### 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.018848896026611328 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Dec 5 06:10:29 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 (29195625) 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 : 29195625 get user id for portfolio 29195625 get sub ptf for main ptf 29195625, type 3726 and hashtags ['papier', 'Carton_gris', 'Teint_Dans_La_Masse', 'autre_refus', 'kraft', 'cartonnette', 'metal', 'environnement', 'mal_croppe', 'flou', 'plastique', 'Carton_brun'] 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`=29195625 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','metal','environnement','mal_croppe','flou','plastique','Carton_brun')) 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`=29195625 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','metal','environnement','mal_croppe','flou','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 29195625, 'sub_port_id': 29195626, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851545, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'kraft': {'main_port_id': 29195625, 'sub_port_id': 29195627, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851546, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 29195625, 'sub_port_id': 29195628, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851547, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'flou': {'main_port_id': 29195625, 'sub_port_id': 29195629, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851548, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'environnement': {'main_port_id': 29195625, 'sub_port_id': 29195630, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851549, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'metal': {'main_port_id': 29195625, 'sub_port_id': 29195631, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851550, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'Carton_gris': {'main_port_id': 29195625, 'sub_port_id': 29195632, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851551, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'mal_croppe': {'main_port_id': 29195625, 'sub_port_id': 29195633, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851552, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'autre_refus': {'main_port_id': 29195625, 'sub_port_id': 29195634, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851553, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'cartonnette': {'main_port_id': 29195625, 'sub_port_id': 29195635, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851554, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'papier': {'main_port_id': 29195625, 'sub_port_id': 29195636, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851555, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}, 'plastique': {'main_port_id': 29195625, 'sub_port_id': 29195637, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851556, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195626 , 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=29195625 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 (29195626) result : ((1397908274,), (1397908276,), (1397908278,), (1397909169,), (1397909170,), (1397909171,), (1397909172,), (1397909173,), (1397909174,), (1397909175,), (1397909176,), (1397909177,), (1397909178,), (1397909179,), (1397909632,), (1397909633,), (1397909634,), (1397909635,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195627 , 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=29195625 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 (29195627) result : ((1397908867,), (1397909180,), (1397909181,), (1397909639,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195628 , 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=29195625 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 (29195628) result : ((1397907807,), (1397907808,), (1397908239,), (1397908241,), (1397908433,), (1397908434,), (1397908435,), (1397908846,), (1397909625,), (1397909626,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195629 , 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=29195625 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 (29195629) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195630 , 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=29195625 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 (29195630) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195631 , 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=29195625 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 (29195631) result : ((1397909640,), (1397909641,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195632 , 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=29195625 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 (29195632) result : ((1397907173,), (1397907175,), (1397907816,), (1397909163,), (1397909164,), (1397909166,), (1397909629,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195633 , 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=29195625 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 (29195633) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195634 , 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=29195625 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 (29195634) result : ((1397908252,), (1397908254,), (1397909161,), (1397909162,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195635 , 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=29195625 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 (29195635) result : ((1397907323,), (1397908265,), (1397908859,), (1397909167,), (1397909630,), (1397909631,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195636 , 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=29195625 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 (29195636) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29195637 , 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=29195625 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 (29195637) result : ((1397907331,), (1397908286,), (1397909638,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29195625) result : ((1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29195625 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','metal','environnement','mal_croppe','flou','plastique','Carton_brun')) 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`=29195625 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Teint_Dans_La_Masse','autre_refus','kraft','cartonnette','metal','environnement','mal_croppe','flou','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 29195625, 'sub_port_id': 29195638, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851557, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'kraft': {'main_port_id': 29195625, 'sub_port_id': 29195639, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851558, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 29195625, 'sub_port_id': 29195640, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851559, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'flou': {'main_port_id': 29195625, 'sub_port_id': 29195641, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851560, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'environnement': {'main_port_id': 29195625, 'sub_port_id': 29195642, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851561, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'metal': {'main_port_id': 29195625, 'sub_port_id': 29195643, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851562, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'Carton_gris': {'main_port_id': 29195625, 'sub_port_id': 29195644, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851563, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'mal_croppe': {'main_port_id': 29195625, 'sub_port_id': 29195645, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851564, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'autre_refus': {'main_port_id': 29195625, 'sub_port_id': 29195646, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851565, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'cartonnette': {'main_port_id': 29195625, 'sub_port_id': 29195647, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851566, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'papier': {'main_port_id': 29195625, 'sub_port_id': 29195648, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851567, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}, 'plastique': {'main_port_id': 29195625, 'sub_port_id': 29195649, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19851568, 'last_updated_at': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 4, 21, 17, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 4, 21, 6, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195638,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195626 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195639,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195627 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195640,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195628 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195641,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195629 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195642,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195630 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195643,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195631 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195644,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195632 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195645,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195633 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195646,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195634 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195647,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195635 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195648,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195636 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29195649,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29195637 lien utilise dans velours : https://marlene.fotonower.com/velours/29195638,29195639,29195640,29195641,29195642,29195643,29195644,29195645,29195646,29195647,29195648,29195649?tags=Carton_brun,kraft,Teint_Dans_La_Masse,flou,environnement,metal,Carton_gris,mal_croppe,autre_refus,cartonnette,papier,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29195625]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] map_info['map_portfolio_photo'] : {29195625: [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597]} final : False mtd_id 4302 list_pids : [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] Looping around the photos to save general results len do output : 1 /29195625. 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, '4188916') ('4302', '29195625', '1397909186', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29195625', "{'Carton_brun': 29195626, 'kraft': 29195627, 'Teint_Dans_La_Masse': 29195628, 'flou': 29195629, 'environnement': 29195630, 'metal': 29195631, 'Carton_gris': 29195632, 'mal_croppe': 29195633, 'autre_refus': 29195634, 'cartonnette': 29195635, 'papier': 29195636, 'plastique': 29195637}", None, None, None, None, '4188916'), ('4302', '29195625', '1397909186', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916')] time used for this insertion : 0.021577119827270508 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8415427207946777 time spend to save output : 0.022046327590942383 total time spend for step 1 : 1.8635890483856201 step2:final Fri Dec 5 06:10:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29195625) 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 29195625 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1397903597,1397906819,1397905005,1397906785,1397906741,1397907024,1397906994,1397906981,1397907167,1397907166,1397907164,1397907798,1397907760,1397907726,1397907720,1397907718,1397907717,1397907934,1397907932,1397907930,1397907918,1397908212,1397908178,1397908144,1397908112,1397908077,1397908045,1397908444,1397908442,1397908440,1397908438,1397908780,1397908745,1397908715,1397908692,1397908660,1397909186); 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([29195625]) Inside saveOutput : final : False verbose : True original output for save of step final : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} new output for save of step final : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] map_info['map_portfolio_photo'] : {29195625: [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597]} final : False mtd_id 4302 list_pids : [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] Looping around the photos to save general results len do output : 37 /1397909186.Didn't retrieve data . /1397908780.Didn't retrieve data . /1397908745.Didn't retrieve data . /1397908715.Didn't retrieve data . /1397908692.Didn't retrieve data . /1397908660.Didn't retrieve data . /1397908444.Didn't retrieve data . /1397908442.Didn't retrieve data . /1397908440.Didn't retrieve data . /1397908438.Didn't retrieve data . /1397908212.Didn't retrieve data . /1397908178.Didn't retrieve data . /1397908144.Didn't retrieve data . /1397908112.Didn't retrieve data . /1397908077.Didn't retrieve data . /1397908045.Didn't retrieve data . /1397907934.Didn't retrieve data . /1397907932.Didn't retrieve data . /1397907930.Didn't retrieve data . /1397907918.Didn't retrieve data . /1397907798.Didn't retrieve data . /1397907760.Didn't retrieve data . /1397907726.Didn't retrieve data . /1397907720.Didn't retrieve data . /1397907718.Didn't retrieve data . /1397907717.Didn't retrieve data . /1397907167.Didn't retrieve data . /1397907166.Didn't retrieve data . /1397907164.Didn't retrieve data . /1397907024.Didn't retrieve data . /1397906994.Didn't retrieve data . /1397906981.Didn't retrieve data . /1397906819.Didn't retrieve data . /1397906785.Didn't retrieve data . /1397906741.Didn't retrieve data . /1397905005.Didn't retrieve data . /1397903597.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, '4188916') ('4302', '29195625', '1397909186', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29195625', '1397909186', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908780', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908745', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908715', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908692', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908660', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908444', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908442', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908440', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908438', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908212', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908178', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908144', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908112', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908077', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397908045', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907934', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907932', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907930', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907918', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907798', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907760', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907726', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907720', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907718', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907717', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907167', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907166', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907164', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397907024', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397906994', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397906981', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397906819', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397906785', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397906741', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397905005', '0.04453273843713287', None, None, None, None, '4188916'), ('4302', '29195625', '1397903597', '0.04453273843713287', None, None, None, None, '4188916')] time used for this insertion : 0.0224001407623291 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08106613159179688 time spend to save output : 0.02385997772216797 total time spend for step 2 : 0.10492610931396484 step3:velours_tree Fri Dec 5 06:10:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29195625: [{'Carton_brun': 29195626, 'kraft': 29195627, 'Teint_Dans_La_Masse': 29195628, 'flou': 29195629, 'environnement': 29195630, 'metal': 29195631, 'Carton_gris': 29195632, 'mal_croppe': 29195633, 'autre_refus': 29195634, 'cartonnette': 29195635, 'papier': 29195636, 'plastique': 29195637}]} input_args_next_step : {29195625: ()} output_args : {29195625: [{'Carton_brun': 29195626, 'kraft': 29195627, 'Teint_Dans_La_Masse': 29195628, 'flou': 29195629, 'environnement': 29195630, 'metal': 29195631, 'Carton_gris': 29195632, 'mal_croppe': 29195633, 'autre_refus': 29195634, 'cartonnette': 29195635, 'papier': 29195636, 'plastique': 29195637}]} args : 29195625 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 29195626, 'kraft': 29195627, 'Teint_Dans_La_Masse': 29195628, 'flou': 29195629, 'environnement': 29195630, 'metal': 29195631, 'Carton_gris': 29195632, 'mal_croppe': 29195633, 'autre_refus': 29195634, 'cartonnette': 29195635, 'papier': 29195636, 'plastique': 29195637},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29195625) 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([29195625]) 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.2465803623199463 time spend to save output : 5.1021575927734375e-05 total time spend for step 3 : 0.24663138389587402 step4:send_mail_cod Fri Dec 5 06:10:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} input_args_next_step : {1397909186: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397909186 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908780 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908745 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908715 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908692 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908660 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908444 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908442 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908440 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908438 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908212 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908178 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908144 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908112 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908077 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397908045 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907934 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907932 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907930 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907918 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907798 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907760 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907726 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907720 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907718 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907717 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907167 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907166 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907164 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397907024 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397906994 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397906981 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397906819 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397906785 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397906741 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397905005 depend.output_id : 0 input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ()} output_args : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',)} args : 1397903597 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 : {29195625: [{'Carton_brun': 29195626, 'kraft': 29195627, 'Teint_Dans_La_Masse': 29195628, 'flou': 29195629, 'environnement': 29195630, 'metal': 29195631, 'Carton_gris': 29195632, 'mal_croppe': 29195633, 'autre_refus': 29195634, 'cartonnette': 29195635, 'papier': 29195636, 'plastique': 29195637}]} input_args_next_step : {1397909186: ('0.04453273843713287',), 1397908780: ('0.04453273843713287',), 1397908745: ('0.04453273843713287',), 1397908715: ('0.04453273843713287',), 1397908692: ('0.04453273843713287',), 1397908660: ('0.04453273843713287',), 1397908444: ('0.04453273843713287',), 1397908442: ('0.04453273843713287',), 1397908440: ('0.04453273843713287',), 1397908438: ('0.04453273843713287',), 1397908212: ('0.04453273843713287',), 1397908178: ('0.04453273843713287',), 1397908144: ('0.04453273843713287',), 1397908112: ('0.04453273843713287',), 1397908077: ('0.04453273843713287',), 1397908045: ('0.04453273843713287',), 1397907934: ('0.04453273843713287',), 1397907932: ('0.04453273843713287',), 1397907930: ('0.04453273843713287',), 1397907918: ('0.04453273843713287',), 1397907798: ('0.04453273843713287',), 1397907760: ('0.04453273843713287',), 1397907726: ('0.04453273843713287',), 1397907720: ('0.04453273843713287',), 1397907718: ('0.04453273843713287',), 1397907717: ('0.04453273843713287',), 1397907167: ('0.04453273843713287',), 1397907166: ('0.04453273843713287',), 1397907164: ('0.04453273843713287',), 1397907024: ('0.04453273843713287',), 1397906994: ('0.04453273843713287',), 1397906981: ('0.04453273843713287',), 1397906819: ('0.04453273843713287',), 1397906785: ('0.04453273843713287',), 1397906741: ('0.04453273843713287',), 1397905005: ('0.04453273843713287',), 1397903597: ('0.04453273843713287',), 29195625: ()} output_args : {29195625: [{'Carton_brun': 29195626, 'kraft': 29195627, 'Teint_Dans_La_Masse': 29195628, 'flou': 29195629, 'environnement': 29195630, 'metal': 29195631, 'Carton_gris': 29195632, 'mal_croppe': 29195633, 'autre_refus': 29195634, 'cartonnette': 29195635, 'papier': 29195636, 'plastique': 29195637}]} args : 29195625 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :38, first value : ('0.04453273843713287',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29195625) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1397909186,1397908780,1397908745,1397908715,1397908692,1397908660,1397908444,1397908442,1397908440,1397908438,1397908212,1397908178,1397908144,1397908112,1397908077,1397908045,1397907934,1397907932,1397907930,1397907918,1397907798,1397907760,1397907726,1397907720,1397907718,1397907717,1397907167,1397907166,1397907164,1397907024,1397906994,1397906981,1397906819,1397906785,1397906741,1397905005,1397903597) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1397903597 begin to download photo : 1397907164 begin to download photo : 1397907798 begin to download photo : 1397908144 begin to download photo : 1397908692 download finish for photo 1397907798 begin to download photo : 1397907918 download finish for photo 1397903597 begin to download photo : 1397905005 download finish for photo 1397908692 begin to download photo : 1397908715 download finish for photo 1397907164 begin to download photo : 1397907166 download finish for photo 1397908144 begin to download photo : 1397908178 download finish for photo 1397905005 begin to download photo : 1397906741 download finish for photo 1397907918 begin to download photo : 1397907930 download finish for photo 1397908715 begin to download photo : 1397908745 download finish for photo 1397907166 begin to download photo : 1397907167 download finish for photo 1397908178 begin to download photo : 1397908212 download finish for photo 1397907930 begin to download photo : 1397907932 download finish for photo 1397906741 begin to download photo : 1397906785 download finish for photo 1397908212 begin to download photo : 1397908438 download finish for photo 1397907167 begin to download photo : 1397907717 download finish for photo 1397908745 begin to download photo : 1397908780 download finish for photo 1397907932 begin to download photo : 1397907934 download finish for photo 1397906785 begin to download photo : 1397906819 download finish for photo 1397907717 begin to download photo : 1397907718 download finish for photo 1397908780 begin to download photo : 1397909186 download finish for photo 1397908438 begin to download photo : 1397908440 download finish for photo 1397906819 begin to download photo : 1397906981 download finish for photo 1397907934 begin to download photo : 1397908045 download finish for photo 1397907718 begin to download photo : 1397907720 download finish for photo 1397908440 begin to download photo : 1397908442 download finish for photo 1397909186 download finish for photo 1397906981 begin to download photo : 1397906994 download finish for photo 1397908045 begin to download photo : 1397908077 download finish for photo 1397907720 begin to download photo : 1397907726 download finish for photo 1397908442 begin to download photo : 1397908444 download finish for photo 1397906994 begin to download photo : 1397907024 download finish for photo 1397908444 begin to download photo : 1397908660 download finish for photo 1397907726 begin to download photo : 1397907760 download finish for photo 1397908077 begin to download photo : 1397908112 download finish for photo 1397907024 download finish for photo 1397908660 download finish for photo 1397907760 download finish for photo 1397908112 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 : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P29195625_05-12-2025_06_10_33.pdf 29195627 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195627 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397908867: '1764879307_2856177_1397908438_f52df313444499cec392eccb680d89dd_rle_crop_4059005276_0.png', 1397909180: '1764879326_2856540_1397908112_fe2508ec7d38c874eb8bd31c59e03e75_rle_crop_4059005528_0.png', 1397909181: '1764879326_2856540_1397908112_fe2508ec7d38c874eb8bd31c59e03e75_rle_crop_4059005530_0.png', 1397909639: '1764879446_2862882_1397908715_52d2d03181ecd131eb4578e9a78ff6da_rle_crop_4059013044_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/51f93f7240ebbcef07126cb285e9ae7c_50705149.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/19e186d2b5b170f0018ba0853d49dde4_85762294.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/72dff76790965529d46e0e4b4e099e4f_11566613.png change filename to text .imagette291956271764911433/ imagette291956271764911433/1764879307_2856177_1397908438_f52df313444499cec392eccb680d89dd_rle_crop_4059005276_0.png.png imagette291956271764911433/1764879326_2856540_1397908112_fe2508ec7d38c874eb8bd31c59e03e75_rle_crop_4059005528_0.png.png imagette291956271764911433/1764879446_2862882_1397908715_52d2d03181ecd131eb4578e9a78ff6da_rle_crop_4059013044_0.png.png imagette291956271764911433/1764879326_2856540_1397908112_fe2508ec7d38c874eb8bd31c59e03e75_rle_crop_4059005530_0.png.png imagette291956291764911433/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/dd1afe0e2b084740fe00fce73f9e1c1c_87612616.png imagette291956271764911433 29195629 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195629 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette291956291764911433 29195631 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195631 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397909640: '1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012926_0.png', 1397909641: '1764879446_2862882_1397908660_6b91833a77715f0e33005a2187941025_rle_crop_4059013282_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/b8fd2cf27109ca850927315edba50d8a_88992782.png change filename to text .imagette291956311764911433/ imagette291956311764911433/1764879446_2862882_1397908660_6b91833a77715f0e33005a2187941025_rle_crop_4059013282_0.png.png imagette291956311764911433/1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012926_0.png.png imagette291956331764911433/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/a0770e0dad7da0f25ff240c551785869_67394683.png imagette291956311764911433 29195633 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195633 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette291956331764911433 29195634 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195634 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397908252: '1764879184_2850570_1397907930_106de8ca7d587454ee083eec660d3464_rle_crop_4059001962_0.png', 1397908254: '1764879184_2850570_1397907930_106de8ca7d587454ee083eec660d3464_rle_crop_4059001966_0.png', 1397909161: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005492_0.png', 1397909162: '1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005513_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/f6d4da67bde84e92f2bfff334546f166_4954335.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/87cf4ed53453c60b1a2c6c9f81e9ffe6_66423525.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/40dac1eb5471edbc88fb52c6fae79d27_27197231.png change filename to text .imagette291956341764911433/ imagette291956341764911433/1764879184_2850570_1397907930_106de8ca7d587454ee083eec660d3464_rle_crop_4059001962_0.png.png imagette291956341764911433/1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005513_0.png.png imagette291956341764911433/1764879184_2850570_1397907930_106de8ca7d587454ee083eec660d3464_rle_crop_4059001966_0.png.png imagette291956341764911433/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005492_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/df3baaca039a3ec7fa8fa5aa6f0166ed_17203216.png imagette291956341764911433 29195635 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195635 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397907323: '1764878966_2838520_1397906981_33af19fbdae70268793d078a2ce081dd_rle_crop_4058997298_0.png', 1397908265: '1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001977_0.png', 1397908859: '1764879307_2856177_1397908438_f52df313444499cec392eccb680d89dd_rle_crop_4059005274_0.png', 1397909167: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005493_0.png', 1397909630: '1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012922_0.png', 1397909631: '1764879446_2862882_1397908745_7b6b4378bcf4bb08b6eb56b77669bf68_rle_crop_4059012944_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/07cbcd8ca78a2ed6598355f8d2e055c7_78257739.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/45777bca737c40ee7e2c1e4200279f62_93312091.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/eca0dd501163fb4cab8e8b6879e8c1f8_45085482.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/6fc9946b1372cd2abe377561cc41ea70_21450102.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/0b1eb86941f5d4cd4402b87a26861a43_69280681.png change filename to text .imagette291956351764911434/ imagette291956351764911434/1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012922_0.png.png imagette291956351764911434/1764878966_2838520_1397906981_33af19fbdae70268793d078a2ce081dd_rle_crop_4058997298_0.png.png imagette291956351764911434/1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001977_0.png.png imagette291956351764911434/1764879446_2862882_1397908745_7b6b4378bcf4bb08b6eb56b77669bf68_rle_crop_4059012944_0.png.png imagette291956351764911434/1764879307_2856177_1397908438_f52df313444499cec392eccb680d89dd_rle_crop_4059005274_0.png.png imagette291956351764911434/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005493_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/7958b0fc0ea870761fc30fdc4589f77b_18293512.png imagette291956351764911434 29195637 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195637 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397907331: '1764878966_2838520_1397906981_33af19fbdae70268793d078a2ce081dd_rle_crop_4058997300_0.png', 1397908286: '1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001988_0.png', 1397909638: '1764879446_2862882_1397908660_6b91833a77715f0e33005a2187941025_rle_crop_4059013287_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/0be6148294416e6667a96701015ac60b_88501555.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/bea3b8c1200e511a5e8f21f7eee86747_11239163.png change filename to text .imagette291956371764911435/ imagette291956371764911435/1764878966_2838520_1397906981_33af19fbdae70268793d078a2ce081dd_rle_crop_4058997300_0.png.png imagette291956371764911435/1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001988_0.png.png imagette291956371764911435/1764879446_2862882_1397908660_6b91833a77715f0e33005a2187941025_rle_crop_4059013287_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/b75df34165ed01229c78d0cc2418ee75_79379910.png imagette291956371764911435 29195626 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195626 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397909175: '1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005518_0.png', 1397909635: '1764879446_2862882_1397908692_2c615379f4cbf3c8879ed9280e544f9b_rle_crop_4059013258_0.png', 1397909634: '1764879446_2862882_1397908692_2c615379f4cbf3c8879ed9280e544f9b_rle_crop_4059013265_0.png', 1397909633: '1764879446_2862882_1397908692_2c615379f4cbf3c8879ed9280e544f9b_rle_crop_4059013259_0.png', 1397909632: '1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012929_0.png', 1397909179: '1764879326_2856540_1397908045_cd174d0fdadb9c3f474db66d4f91eef0_rle_crop_4059005560_0.png', 1397909178: '1764879326_2856540_1397908045_cd174d0fdadb9c3f474db66d4f91eef0_rle_crop_4059005556_0.png', 1397909177: '1764879326_2856540_1397908077_2755dd661015a11244110671201a7c94_rle_crop_4059005541_0.png', 1397909176: '1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005520_0.png', 1397908274: '1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001982_0.png', 1397909174: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005499_0.png', 1397909173: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005494_0.png', 1397909172: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005491_0.png', 1397909171: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005496_0.png', 1397909170: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005502_0.png', 1397909169: '1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005490_0.png', 1397908278: '1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001981_0.png', 1397908276: '1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001986_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/6bfe29d8e01adf97a04e02a5f0fc121c_17300254.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/b14bafdfc133d431c477cfb9098a7973_52066981.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/d7b1ea9eb481609da4fd4dcda55c4664_46527041.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/ec783ef322ff8592bf3de0f3776d0a3a_15629571.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/b45ad8d6ad0cdecd3303a32be97d4035_36830723.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/e0bdc69c5366b6bd21e432b0bcaafdff_94641066.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/2882ada10f254a4d3fbde3335855261e_38258557.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/32b4e61294cddfdb7a598c6be9f71b79_46421314.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/762dbb1ea4e42e38ea835f04d7c6154f_28524883.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/38ddbfcca84b1257a638c6dd9f5391cf_97073729.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/111455ce68213f9327e3779934e7a068_21506511.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/7cc3479c1962f32174ea6ab5df4974d8_65411157.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/62e38960c43208cba5625514b931de75_59542341.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/8007ced501922cb5e2dfeb4f67a3178d_25654728.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/d398af9841a7cc51706742b6c7a266e0_32115353.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/336f457443127fbde8452dd808c1dadf_57312235.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/d47f88d8d7271b96fcbb1c4c2149126d_62868341.png change filename to text .imagette291956261764911435/ imagette291956261764911435/1764879326_2856540_1397908045_cd174d0fdadb9c3f474db66d4f91eef0_rle_crop_4059005556_0.png.png imagette291956261764911435/1764879326_2856540_1397908045_cd174d0fdadb9c3f474db66d4f91eef0_rle_crop_4059005560_0.png.png imagette291956261764911435/1764879446_2862882_1397908692_2c615379f4cbf3c8879ed9280e544f9b_rle_crop_4059013259_0.png.png imagette291956261764911435/1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001986_0.png.png imagette291956261764911435/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005502_0.png.png imagette291956261764911435/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005491_0.png.png imagette291956261764911435/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005499_0.png.png imagette291956261764911435/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005490_0.png.png imagette291956261764911435/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005494_0.png.png imagette291956261764911435/1764879326_2856540_1397908077_2755dd661015a11244110671201a7c94_rle_crop_4059005541_0.png.png imagette291956261764911435/1764879446_2862882_1397908692_2c615379f4cbf3c8879ed9280e544f9b_rle_crop_4059013265_0.png.png imagette291956261764911435/1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001982_0.png.png imagette291956261764911435/1764879446_2862882_1397908692_2c615379f4cbf3c8879ed9280e544f9b_rle_crop_4059013258_0.png.png imagette291956261764911435/1764879326_2856540_1397908178_472c4887627014d259d0cf3d69b76c30_rle_crop_4059005496_0.png.png imagette291956261764911435/1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012929_0.png.png imagette291956261764911435/1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001981_0.png.png imagette291956261764911435/1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005518_0.png.png imagette291956261764911435/1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005520_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/2b55900eb5bfb5443d39bc41379645d2_30038628.png imagette291956261764911435 29195628 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195628 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397907807: '1764879066_2844073_1397907166_b8e49a535418e12a53e646ef4d51586d_rle_crop_4059001829_0.png', 1397907808: '1764879066_2844073_1397907166_b8e49a535418e12a53e646ef4d51586d_rle_crop_4059001831_0.png', 1397908239: '1764879184_2850570_1397907930_106de8ca7d587454ee083eec660d3464_rle_crop_4059001971_0.png', 1397908241: '1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001985_0.png', 1397908433: '1764879205_2851292_1397907720_0d48b49f841de47ea62298b602d17f0a_rle_crop_4059004488_0.png', 1397908434: '1764879205_2851292_1397907718_932005d9a1951fd0ce5aba4681b261d9_rle_crop_4059004495_0.png', 1397908435: '1764879205_2851292_1397907717_1e38f17ffa2bfbc94c0007a0cc223c28_rle_crop_4059004607_0.png', 1397908846: '1764879307_2856177_1397908438_f52df313444499cec392eccb680d89dd_rle_crop_4059005279_0.png', 1397909625: '1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012931_0.png', 1397909626: '1764879446_2862882_1397908745_7b6b4378bcf4bb08b6eb56b77669bf68_rle_crop_4059012946_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/f6e424d60113f631886fbc522dce2ee6_94919131.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/33bc2dc5e8a5bdf291158f831a4434c5_79250468.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/4cce72bcfc93504247355a1c21efa204_6620453.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/982e58ee3747c940dccf239c9b08b348_43300778.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/f3b645bf5cfab628e54f397eda4c6ca0_99317742.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/2667d188bff01106250490e9150f8b78_40726556.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/6dcbe8c1864ea946836865c4f700fb09_7307184.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/000299f3b37fb127c6e4c77a702120b3_99455646.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/a41891b486292f95deac935ec3ab57f1_56015240.png change filename to text .imagette291956281764911437/ imagette291956281764911437/1764879184_2850570_1397907918_03e68ffdee07147fdaedf0cf78c98dde_rle_crop_4059001985_0.png.png imagette291956281764911437/1764879446_2862882_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99_rle_crop_4059012931_0.png.png imagette291956281764911437/1764879066_2844073_1397907166_b8e49a535418e12a53e646ef4d51586d_rle_crop_4059001829_0.png.png imagette291956281764911437/1764879184_2850570_1397907930_106de8ca7d587454ee083eec660d3464_rle_crop_4059001971_0.png.png imagette291956281764911437/1764879066_2844073_1397907166_b8e49a535418e12a53e646ef4d51586d_rle_crop_4059001831_0.png.png imagette291956281764911437/1764879307_2856177_1397908438_f52df313444499cec392eccb680d89dd_rle_crop_4059005279_0.png.png imagette291956281764911437/1764879205_2851292_1397907718_932005d9a1951fd0ce5aba4681b261d9_rle_crop_4059004495_0.png.png imagette291956281764911437/1764879446_2862882_1397908745_7b6b4378bcf4bb08b6eb56b77669bf68_rle_crop_4059012946_0.png.png imagette291956281764911437/1764879205_2851292_1397907717_1e38f17ffa2bfbc94c0007a0cc223c28_rle_crop_4059004607_0.png.png imagette291956281764911437/1764879205_2851292_1397907720_0d48b49f841de47ea62298b602d17f0a_rle_crop_4059004488_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/5e15270c37feda9cb7d717f738e772e7_14964854.png imagette291956281764911437 29195632 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195632 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1397907173: '1764878947_2838113_1397907024_49256f76073f1c3718b501c4cd849e17_rle_crop_4058997210_0.png', 1397907175: '1764878947_2838113_1397906741_6f998b13affe931ec635571b3d6c408c_rle_crop_4058997220_0.png', 1397907816: '1764879086_2844699_1397907167_f9611c6999239cf0245fb255f5f9ade9_rle_crop_4059001870_0.png', 1397909163: '1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005509_0.png', 1397909164: '1764879326_2856540_1397908077_2755dd661015a11244110671201a7c94_rle_crop_4059005543_0.png', 1397909166: '1764879326_2856540_1397908045_cd174d0fdadb9c3f474db66d4f91eef0_rle_crop_4059005563_0.png', 1397909629: '1764879446_2862882_1397908660_6b91833a77715f0e33005a2187941025_rle_crop_4059013277_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/3e41cdd97343c89e89f4b27df429a6ff_64636499.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/5ea3763d6f190df5ae340e02135a95b8_66403544.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/e47f7816cfc9a93394977c59c42c40bd_22726293.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/c77293c5e7acd6432caf16436c7f34f8_46657992.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/5343fdf58056cb63f4170f92fb4d0c9a_93760110.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/b7dc425626f0214513702e456267305d_18024973.png change filename to text .imagette291956321764911438/ imagette291956321764911438/1764879446_2862882_1397908660_6b91833a77715f0e33005a2187941025_rle_crop_4059013277_0.png.png imagette291956321764911438/1764879326_2856540_1397908045_cd174d0fdadb9c3f474db66d4f91eef0_rle_crop_4059005563_0.png.png imagette291956321764911438/1764879086_2844699_1397907167_f9611c6999239cf0245fb255f5f9ade9_rle_crop_4059001870_0.png.png imagette291956321764911438/1764879326_2856540_1397908077_2755dd661015a11244110671201a7c94_rle_crop_4059005543_0.png.png imagette291956321764911438/1764878947_2838113_1397906741_6f998b13affe931ec635571b3d6c408c_rle_crop_4058997220_0.png.png imagette291956321764911438/1764878947_2838113_1397907024_49256f76073f1c3718b501c4cd849e17_rle_crop_4058997210_0.png.png imagette291956321764911438/1764879326_2856540_1397908144_a0d3ae562618b54eb1dfd514fada9439_rle_crop_4059005509_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/f354835bb3b3328bf2f36d39b883b68b_79285491.png imagette291956321764911438 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29195625 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29195638,29195639,29195640,29195641,29195642,29195643,29195644,29195645,29195646,29195647,29195648,29195649?tags=Carton_brun,kraft,Teint_Dans_La_Masse,flou,environnement,metal,Carton_gris,mal_croppe,autre_refus,cartonnette,papier,plastique your option no_mail is active, we will not send the real mail to your client args[1397909186] : ('0.04453273843713287',) no score found for photo 1397909186 We are sending mail with results at report@fotonower.com args[1397908780] : ('0.04453273843713287',) no score found for photo 1397908780 We are sending mail with results at report@fotonower.com args[1397908745] : ('0.04453273843713287',) no score found for photo 1397908745 We are sending mail with results at report@fotonower.com args[1397908715] : ('0.04453273843713287',) no score found for photo 1397908715 We are sending mail with results at report@fotonower.com args[1397908692] : ('0.04453273843713287',) no score found for photo 1397908692 We are sending mail with results at report@fotonower.com args[1397908660] : ('0.04453273843713287',) no score found for photo 1397908660 We are sending mail with results at report@fotonower.com args[1397908444] : ('0.04453273843713287',) no score found for photo 1397908444 We are sending mail with results at report@fotonower.com args[1397908442] : ('0.04453273843713287',) no score found for photo 1397908442 We are sending mail with results at report@fotonower.com args[1397908440] : ('0.04453273843713287',) no score found for photo 1397908440 We are sending mail with results at report@fotonower.com args[1397908438] : ('0.04453273843713287',) no score found for photo 1397908438 We are sending mail with results at report@fotonower.com args[1397908212] : ('0.04453273843713287',) no score found for photo 1397908212 We are sending mail with results at report@fotonower.com args[1397908178] : ('0.04453273843713287',) no score found for photo 1397908178 We are sending mail with results at report@fotonower.com args[1397908144] : ('0.04453273843713287',) no score found for photo 1397908144 We are sending mail with results at report@fotonower.com args[1397908112] : ('0.04453273843713287',) no score found for photo 1397908112 We are sending mail with results at report@fotonower.com args[1397908077] : ('0.04453273843713287',) no score found for photo 1397908077 We are sending mail with results at report@fotonower.com args[1397908045] : ('0.04453273843713287',) no score found for photo 1397908045 We are sending mail with results at report@fotonower.com args[1397907934] : ('0.04453273843713287',) no score found for photo 1397907934 We are sending mail with results at report@fotonower.com args[1397907932] : ('0.04453273843713287',) no score found for photo 1397907932 We are sending mail with results at report@fotonower.com args[1397907930] : ('0.04453273843713287',) no score found for photo 1397907930 We are sending mail with results at report@fotonower.com args[1397907918] : ('0.04453273843713287',) no score found for photo 1397907918 We are sending mail with results at report@fotonower.com args[1397907798] : ('0.04453273843713287',) no score found for photo 1397907798 We are sending mail with results at report@fotonower.com args[1397907760] : ('0.04453273843713287',) no score found for photo 1397907760 We are sending mail with results at report@fotonower.com args[1397907726] : ('0.04453273843713287',) no score found for photo 1397907726 We are sending mail with results at report@fotonower.com args[1397907720] : ('0.04453273843713287',) no score found for photo 1397907720 We are sending mail with results at report@fotonower.com args[1397907718] : ('0.04453273843713287',) no score found for photo 1397907718 We are sending mail with results at report@fotonower.com args[1397907717] : ('0.04453273843713287',) no score found for photo 1397907717 We are sending mail with results at report@fotonower.com args[1397907167] : ('0.04453273843713287',) no score found for photo 1397907167 We are sending mail with results at report@fotonower.com args[1397907166] : ('0.04453273843713287',) no score found for photo 1397907166 We are sending mail with results at report@fotonower.com args[1397907164] : ('0.04453273843713287',) no score found for photo 1397907164 We are sending mail with results at report@fotonower.com args[1397907024] : ('0.04453273843713287',) no score found for photo 1397907024 We are sending mail with results at report@fotonower.com args[1397906994] : ('0.04453273843713287',) no score found for photo 1397906994 We are sending mail with results at report@fotonower.com args[1397906981] : ('0.04453273843713287',) no score found for photo 1397906981 We are sending mail with results at report@fotonower.com args[1397906819] : ('0.04453273843713287',) no score found for photo 1397906819 We are sending mail with results at report@fotonower.com args[1397906785] : ('0.04453273843713287',) no score found for photo 1397906785 We are sending mail with results at report@fotonower.com args[1397906741] : ('0.04453273843713287',) no score found for photo 1397906741 We are sending mail with results at report@fotonower.com args[1397905005] : ('0.04453273843713287',) no score found for photo 1397905005 We are sending mail with results at report@fotonower.com args[1397903597] : ('0.04453273843713287',) no score found for photo 1397903597 We are sending mail with results at report@fotonower.com refus_total : 0.04453273843713287 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195625 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_P29195625_05-12-2025_06_10_33.pdf results_Auto_P29195625_05-12-2025_06_10_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29195625_05-12-2025_06_10_33.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29195625','results_Auto_P29195625_05-12-2025_06_10_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29195625_05-12-2025_06_10_33.pdf','pdf','','0.44','0.04453273843713287') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29195625]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] map_info['map_portfolio_photo'] : {29195625: [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597]} final : False mtd_id 4302 list_pids : [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] 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, '4188916') ('4302', '29195625', '1397909186', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916') 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', '29195625', '1397909186', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916')] time used for this insertion : 0.020641803741455078 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.317300796508789 time spend to save output : 0.020949840545654297 total time spend for step 4 : 9.338250637054443 step5:split_time_score Fri Dec 5 06:10:41 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 : ['29195625'] 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 : [('29195625',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29195625) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1397908692: {'path': 'temp/1764911431_3447368_1397908692_2c615379f4cbf3c8879ed9280e544f9b.jpg', 'extension': 'jpg'}, 1397908715: {'path': 'temp/1764911431_3447368_1397908715_52d2d03181ecd131eb4578e9a78ff6da.jpg', 'extension': 'jpg'}, 1397908745: {'path': 'temp/1764911431_3447368_1397908745_7b6b4378bcf4bb08b6eb56b77669bf68.jpg', 'extension': 'jpg'}, 1397908780: {'path': 'temp/1764911431_3447368_1397908780_910ca2dfcc787418cfa91247b8a64b98.jpg', 'extension': 'jpg'}, 1397909186: {'path': 'temp/1764911431_3447368_1397909186_2ea3ff15f01c343a8e5e49c4b6479a99.jpg', 'extension': 'jpg'}, 1397903597: {'path': 'temp/1764911431_3447368_1397903597_5199f364640faa105d7b1dd5f2a8df1c.jpg', 'extension': 'jpg'}, 1397905005: {'path': 'temp/1764911431_3447368_1397905005_656ec68db2e3866a0db10be45d58dca7.jpg', 'extension': 'jpg'}, 1397906741: {'path': 'temp/1764911431_3447368_1397906741_6f998b13affe931ec635571b3d6c408c.jpg', 'extension': 'jpg'}, 1397906785: {'path': 'temp/1764911431_3447368_1397906785_e4afc183070eb6a363d3a903a44f007f.jpg', 'extension': 'jpg'}, 1397906819: {'path': 'temp/1764911431_3447368_1397906819_f0bf107a0f9ed66cb579a0e9f8648ce5.jpg', 'extension': 'jpg'}, 1397906981: {'path': 'temp/1764911431_3447368_1397906981_33af19fbdae70268793d078a2ce081dd.jpg', 'extension': 'jpg'}, 1397906994: {'path': 'temp/1764911431_3447368_1397906994_2b3a63a719de43b2c935cb65a0df6e28.jpg', 'extension': 'jpg'}, 1397907024: {'path': 'temp/1764911431_3447368_1397907024_49256f76073f1c3718b501c4cd849e17.jpg', 'extension': 'jpg'}, 1397908144: {'path': 'temp/1764911431_3447368_1397908144_a0d3ae562618b54eb1dfd514fada9439.jpg', 'extension': 'jpg'}, 1397908178: {'path': 'temp/1764911431_3447368_1397908178_472c4887627014d259d0cf3d69b76c30.jpg', 'extension': 'jpg'}, 1397908212: {'path': 'temp/1764911431_3447368_1397908212_4131cd31ef80ff32a7c36a6a14879be8.jpg', 'extension': 'jpg'}, 1397908438: {'path': 'temp/1764911431_3447368_1397908438_f52df313444499cec392eccb680d89dd.jpg', 'extension': 'jpg'}, 1397908440: {'path': 'temp/1764911431_3447368_1397908440_b9f54e5e43eb027ae09b95105a48e7ee.jpg', 'extension': 'jpg'}, 1397908442: {'path': 'temp/1764911431_3447368_1397908442_a4bf05786e5f2c6f0b3480946ab987bc.jpg', 'extension': 'jpg'}, 1397908444: {'path': 'temp/1764911431_3447368_1397908444_4891f556bd4216fb9f5ad844c503a904.jpg', 'extension': 'jpg'}, 1397908660: {'path': 'temp/1764911431_3447368_1397908660_6b91833a77715f0e33005a2187941025.jpg', 'extension': 'jpg'}, 1397907164: {'path': 'temp/1764911431_3447368_1397907164_b6a5ffb3db204c7d7335ef9b33ad10b2.jpg', 'extension': 'jpg'}, 1397907166: {'path': 'temp/1764911431_3447368_1397907166_b8e49a535418e12a53e646ef4d51586d.jpg', 'extension': 'jpg'}, 1397907167: {'path': 'temp/1764911431_3447368_1397907167_f9611c6999239cf0245fb255f5f9ade9.jpg', 'extension': 'jpg'}, 1397907717: {'path': 'temp/1764911431_3447368_1397907717_1e38f17ffa2bfbc94c0007a0cc223c28.jpg', 'extension': 'jpg'}, 1397907718: {'path': 'temp/1764911431_3447368_1397907718_932005d9a1951fd0ce5aba4681b261d9.jpg', 'extension': 'jpg'}, 1397907720: {'path': 'temp/1764911431_3447368_1397907720_0d48b49f841de47ea62298b602d17f0a.jpg', 'extension': 'jpg'}, 1397907726: {'path': 'temp/1764911431_3447368_1397907726_ed744ba07a4698b16fd11af63996e9d1.jpg', 'extension': 'jpg'}, 1397907760: {'path': 'temp/1764911431_3447368_1397907760_3254c0b520223303991207abe7e21f6f.jpg', 'extension': 'jpg'}, 1397907798: {'path': 'temp/1764911431_3447368_1397907798_4807d1cd73365a9cb1a024f4ad45a18c.jpg', 'extension': 'jpg'}, 1397907918: {'path': 'temp/1764911431_3447368_1397907918_03e68ffdee07147fdaedf0cf78c98dde.jpg', 'extension': 'jpg'}, 1397907930: {'path': 'temp/1764911431_3447368_1397907930_106de8ca7d587454ee083eec660d3464.jpg', 'extension': 'jpg'}, 1397907932: {'path': 'temp/1764911431_3447368_1397907932_88e04c9eca6bb342699e5cda23d89423.jpg', 'extension': 'jpg'}, 1397907934: {'path': 'temp/1764911431_3447368_1397907934_53a4c77a717d02d2b0a7e357da2c2d36.jpg', 'extension': 'jpg'}, 1397908045: {'path': 'temp/1764911431_3447368_1397908045_cd174d0fdadb9c3f474db66d4f91eef0.jpg', 'extension': 'jpg'}, 1397908077: {'path': 'temp/1764911431_3447368_1397908077_2755dd661015a11244110671201a7c94.jpg', 'extension': 'jpg'}, 1397908112: {'path': 'temp/1764911431_3447368_1397908112_fe2508ec7d38c874eb8bd31c59e03e75.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 = 29195625; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29195625 group by h (('21', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29195625 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 (29195625) 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 (29195625) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04122025 29195625 Nombre de photos uploadées : 37 / 23040 (0%) 04122025 29195625 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 04122025 29195625 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1397903597, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/5199f364640faa105d7b1dd5f2a8df1c.jpg', 'username': None, 'uploaded_at': 1764878588, 'text': 'image_04122025_21_01_53_10139.jpg'}, {'photo_id': 1397906819, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/f0bf107a0f9ed66cb579a0e9f8648ce5.jpg', 'username': None, 'uploaded_at': 1764878827, 'text': 'image_04122025_21_02_03_10164.jpg'}, {'photo_id': 1397905005, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/656ec68db2e3866a0db10be45d58dca7.jpg', 'username': None, 'uploaded_at': 1764878707, 'text': 'image_04122025_21_04_33_10144.jpg'}, {'photo_id': 1397906785, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/4/e4afc183070eb6a363d3a903a44f007f.jpg', 'username': None, 'uploaded_at': 1764878827, 'text': 'image_04122025_21_06_14_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019381046295166016 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29195625, '2025-12-04' ) 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-12-04' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2690577,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2646186351776123 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= 2690577 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29164250, 'dashboard_result_id': 18100868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164250_05-12-2025_05_34_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29164258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29164259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29164260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29164261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29164262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29164263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29164264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29164265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29164266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29164267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29164268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29164269, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29164732, 'dashboard_result_id': 18100869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164732_05-12-2025_05_36_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29164748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29164749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29164750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29164751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29164752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29164753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29164754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29164755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29164756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29164757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29164758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29164759, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29165106, 'dashboard_result_id': 18100870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165106_05-12-2025_05_36_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29165134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29165135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29165136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29165137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29165138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29165139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29165140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29165141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29165142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29165143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29165144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29165145, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29165583, 'dashboard_result_id': 18100871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165583_05-12-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29165590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29165591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29165592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29165593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29165594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29165595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29165596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29165597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29165598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29165599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29165600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29165601, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29166634, 'dashboard_result_id': 18100872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166634_05-12-2025_05_37_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29166636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29166637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29166638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29166639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29166640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29166641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29166642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29166643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29166644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29166645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29166646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29166647, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29166944, 'dashboard_result_id': 18100873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166944_05-12-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29166950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29166951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29166952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29166953, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29166954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29166955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29166956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29166957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29166958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29166959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29166960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29166961, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29167317, 'dashboard_result_id': 18100874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167317_05-12-2025_05_38_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29167346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29167347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29167348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29167349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29167350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29167351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29167352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29167353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29167354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29167355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29167356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29167357, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29167848, 'dashboard_result_id': 18100875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167848_05-12-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29167849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29167850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29167851, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29167852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29167853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29167854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29167855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29167856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29167857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29167858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29167859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29167860, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29168406, 'dashboard_result_id': 18100876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168406_05-12-2025_05_40_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29168439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29168440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29168441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29168442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29168443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29168444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29168445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29168446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29168447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29168448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29168449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29168450, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29168945, 'dashboard_result_id': 18100877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168945_05-12-2025_05_41_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29168970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29168971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29168972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29168973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29168974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29168975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29168976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29168977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29168978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29168979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29168980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29168981, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29169363, 'dashboard_result_id': 18100878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169363_05-12-2025_05_41_14.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29169375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29169376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29169377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29169378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29169379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29169380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29169381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29169382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29169383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29169384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29169385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29169386, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29169812, 'dashboard_result_id': 18100879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169812_05-12-2025_05_41_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29169845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29169846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29169847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29169848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29169849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29169850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29169851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29169852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29169853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29169854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29169855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29169856, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29170360, 'dashboard_result_id': 18100880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170360_05-12-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29170386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29170387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29170388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29170389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29170390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29170391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29170392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29170393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29170394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29170395, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29170396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29170397, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29170831, 'dashboard_result_id': 18100881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170831_05-12-2025_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29170839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29170840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29170841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29170842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29170843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29170844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29170845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29170846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29170847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29170848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29170849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29170850, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29171165, 'dashboard_result_id': 18100882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29171165_05-12-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29171193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29171194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29171195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29171196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29171197, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29171198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29171199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29171200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29171201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29171202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29171203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29171204, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29172002, 'dashboard_result_id': 18100883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172002_05-12-2025_05_44_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172019, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29172388, 'dashboard_result_id': 18100884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172388_05-12-2025_05_44_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172403, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29172801, 'dashboard_result_id': 18100885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172801_05-12-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172817, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29173230, 'dashboard_result_id': 18100886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173230_05-12-2025_05_46_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29173236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29173237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29173238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29173239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29173240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29173241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29173242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29173243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29173244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29173245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29173246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29173247, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29173539, 'dashboard_result_id': 18100887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173539_05-12-2025_05_46_15.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29173543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29173544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29173545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29173546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29173547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29173548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29173549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29173550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29173551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29173552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29173553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29173554, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29174089, 'dashboard_result_id': 18100888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174089_05-12-2025_05_46_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29174102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29174103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29174104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29174105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29174106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29174107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29174108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29174109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29174110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29174111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29174112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29174113, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29174520, 'dashboard_result_id': 18100889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174520_05-12-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29174552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29174553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29174554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29174555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29174556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29174557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29174558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29174559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29174560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29174561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29174562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29174563, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29175025, 'dashboard_result_id': 18100890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175025_05-12-2025_05_48_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29175050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29175051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29175052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29175053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29175054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29175055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29175056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29175057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29175058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29175059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29175060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29175061, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29175420, 'dashboard_result_id': 18100891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175420_05-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29175433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29175434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29175435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29175436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29175437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29175438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29175439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29175440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29175441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29175442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29175443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29175444, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29176081, 'dashboard_result_id': 18100892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176081_05-12-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29176094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176105, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29176341, 'dashboard_result_id': 18100893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176341_05-12-2025_05_50_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29176342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29176349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176353, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29176418, 'dashboard_result_id': 18100894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176418_05-12-2025_05_51_10.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29176421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176432, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29176753, 'dashboard_result_id': 18100895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176753_05-12-2025_05_51_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29176760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176766, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29177339, 'dashboard_result_id': 18100896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177339_05-12-2025_05_52_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29177364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29177365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29177366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29177367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29177368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29177369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29177370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29177371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29177372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29177373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29177374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29177375, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29177792, 'dashboard_result_id': 18100897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177792_05-12-2025_05_52_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29177805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29177806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29177807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29177808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29177809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29177810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29177811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29177812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29177813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29177814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29177815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29177816, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29178343, 'dashboard_result_id': 18100898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29178343_05-12-2025_05_53_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29178349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29178350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29178351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29178352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29178353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29178354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29178355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29178356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29178357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29178358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29178359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29178360, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29179002, 'dashboard_result_id': 18100899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179002_05-12-2025_05_54_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179017, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29179437, 'dashboard_result_id': 18100900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179437_05-12-2025_05_54_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179455, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29179810, 'dashboard_result_id': 18100901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179810_05-12-2025_05_55_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179833, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29180409, 'dashboard_result_id': 18100902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29180409_05-12-2025_05_56_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29180418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29180419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29180420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29180421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29180422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29180423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29180424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29180425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29180426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29180427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29180428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29180429, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29181139, 'dashboard_result_id': 18100903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29181139_05-12-2025_05_56_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29181147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29181148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29181149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29181150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29181151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29181152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29181154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29181155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29181157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29181158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29181159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29181161, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29183382, 'dashboard_result_id': 18100904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183382_05-12-2025_05_56_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29183385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29183386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29183387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29183388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29183389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29183390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29183391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29183392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29183393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29183394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29183395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29183396, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29183842, 'dashboard_result_id': 18100905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183842_05-12-2025_05_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29183849, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29183850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29183851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29183852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29183853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29183854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29183855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29183856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29183857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29183858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29183859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29183860, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29184178, 'dashboard_result_id': 18100906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184178_05-12-2025_05_58_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29184192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29184193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29184194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29184195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29184196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29184197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29184198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29184199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29184200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29184201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29184202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29184203, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29184666, 'dashboard_result_id': 18100907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184666_05-12-2025_05_58_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29184688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29184689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29184690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29184691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29184692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29184693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29184694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29184695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29184696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29184697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29184698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29184699, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29185282, 'dashboard_result_id': 18100908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185282_05-12-2025_05_59_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29185287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29185288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29185289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29185290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29185291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29185292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29185293, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29185294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29185295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29185296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29185297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29185298, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29185658, 'dashboard_result_id': 18100909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185658_05-12-2025_05_59_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29185662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29185663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29185664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29185665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29185666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29185667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29185668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29185669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29185670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29185671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29185672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29185673, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29186013, 'dashboard_result_id': 18100910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186013_05-12-2025_06_00_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186042, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29186446, 'dashboard_result_id': 18100911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186446_05-12-2025_06_00_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186460, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29186716, 'dashboard_result_id': 18100912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186716_05-12-2025_06_01_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186741, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29187185, 'dashboard_result_id': 18100913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187185_05-12-2025_06_01_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29187190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187202, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29187552, 'dashboard_result_id': 18100914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187552_05-12-2025_06_02_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29187573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187577, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29187947, 'dashboard_result_id': 18100915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187947_05-12-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29187960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187966, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29188391, 'dashboard_result_id': 18100916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188391_05-12-2025_06_03_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29188409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29188410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29188411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29188412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29188413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29188414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29188415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29188416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29188417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29188418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29188419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29188420, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29188913, 'dashboard_result_id': 18100917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188913_05-12-2025_06_04_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29188957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29188958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29188959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29188960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29188961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29188962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29188963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29188964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29188965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29188966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29188967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29188968, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29189919, 'dashboard_result_id': 18100918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29189919_05-12-2025_06_05_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29189946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29189947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29189948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29189949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29189950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29189951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29189952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29189953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29189954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29189955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29189956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29189957, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29190242, 'dashboard_result_id': 18100919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190242_05-12-2025_06_05_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29190247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29190248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29190249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29190250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29190251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29190252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29190253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29190254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29190255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29190256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29190257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29190258, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29190686, 'dashboard_result_id': 18100920, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190686_05-12-2025_06_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29190703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29190704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29190705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29190706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29190707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29190708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29190709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29190710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29190711, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29190712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29190713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29190714, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29191265, 'dashboard_result_id': 18100921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191265_05-12-2025_06_06_11.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29191269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29191270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29191271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29191272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29191273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29191274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29191275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29191276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29191277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29191278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29191279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29191280, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29191610, 'dashboard_result_id': 18100922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191610_05-12-2025_06_06_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29191651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29191652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29191653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29191654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29191655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29191656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29191657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29191659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29191660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29191661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29191663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29191664, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29192334, 'dashboard_result_id': 18100923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192334_05-12-2025_06_07_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29192357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29192358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29192359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29192360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29192361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29192362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29192363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29192364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29192365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29192366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29192367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29192368, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29192845, 'dashboard_result_id': 18100924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192845_05-12-2025_06_08_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29192854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29192855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29192856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29192857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29192858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29192859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29192860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29192861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29192862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29192863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29192864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29192865, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29193440, 'dashboard_result_id': 18100925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193440_05-12-2025_06_08_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29193446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29193447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29193448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29193449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29193450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29193451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29193452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29193453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29193454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29193455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29193456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29193457, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29193727, 'dashboard_result_id': 18100926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193727_05-12-2025_06_09_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29193761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29193762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29193763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29193764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29193765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29193766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29193767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29193768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29193769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29193770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29193771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29193772, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29194351, 'dashboard_result_id': 18100927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29194351_05-12-2025_06_10_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29194359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29194360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29194361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29194362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29194363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29194365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29194366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29194367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29194368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29194369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29194370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29194371, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29195625, 'dashboard_result_id': 18100928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29195625_04-12-2025_21_17_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29195626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29195627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29195628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29195629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29195630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29195631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29195632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29195633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29195634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29195635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29195636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29195637, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29196118, 'dashboard_result_id': 18100929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196118_04-12-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29196121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29196122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29196123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29196124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29196125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29196126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29196127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29196128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29196129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29196130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29196131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29196132, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29196788, 'dashboard_result_id': 18100930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196788_04-12-2025_21_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29196829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29196830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29196831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29196832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29196833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29196834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29196835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29196836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29196837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29196838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29196839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29196840, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29197385, 'dashboard_result_id': 18100931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29197385_04-12-2025_23_30_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29197392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29197393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29197394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29197395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29197396, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29197397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29197398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29197399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29197400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29197401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29197402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29197403, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29198069, 'dashboard_result_id': 18100932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198069_04-12-2025_22_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29198078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29198079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29198080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29198081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29198082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29198083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29198084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29198085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29198086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29198087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29198088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29198089, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29198840, 'dashboard_result_id': 18100933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198840_04-12-2025_22_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29198866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29198867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29198868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29198869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29198870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29198871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29198872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29198873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29198874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29198875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29198876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29198877, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29199468, 'dashboard_result_id': 18100934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29199468_04-12-2025_22_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29199519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29199520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29199522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29199523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29199524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29199525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29199526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29199527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29199528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29199529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29199530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29199531, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29200145, 'dashboard_result_id': 18100935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200145_04-12-2025_23_03_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29200152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29200153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29200154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29200155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29200156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29200157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29200158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29200159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29200161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29200162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29200163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29200164, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29200597, 'dashboard_result_id': 18100936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200597_04-12-2025_23_20_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29200606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29200607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29200608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29200609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29200610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29200611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29200612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29200613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29200614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29200615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29200616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29200617, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29201379, 'dashboard_result_id': 18100937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29201379_05-12-2025_00_46_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29201395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29201396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29201397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29201398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29201399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29201400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29201401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29201402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29201403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29201404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29201405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29201406, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29202025, 'dashboard_result_id': 18100938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202025_04-12-2025_23_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29202050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29202051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29202052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29202053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29202054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29202055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29202056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29202057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29202058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29202059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29202060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29202061, 'pht': 3726}}"}, {'dashboat_entry_day': 2690577, 'dashboard_run_id': 2705152, 'mtr_portfolio_id': 29202716, 'dashboard_result_id': 18100939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202716_05-12-2025_00_07_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29202726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29202727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29202728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29202729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29202730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29202731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29202732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29202733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29202734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29202735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29202736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29202737, '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 = 29164250 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': 4188856, 'mtr_portfolio_id': 29164250, 'created_at': datetime.datetime(2025, 12, 5, 5, 34, 27), 'result': '0.039691814632383166', 'result_long': None, 'result_double': None}] Qualite : 0.039691814632383166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29164250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164250_05-12-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29164250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164250_05-12-2025_05_34_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29164258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29164259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29164260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29164261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29164262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29164263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29164264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29164265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29164266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29164267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29164268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29164269, 'pht': 3726}}" where mtr_portfolio_id = 29164250 and dashboard_run_id = 2705152 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`=29164250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100868, 0.039691814632383166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164250_05-12-2025_05_34_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29164258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29164259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29164260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29164261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29164262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29164263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29164264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29164265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29164266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29164267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29164268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29164269, '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 = 29164732 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': 4188857, 'mtr_portfolio_id': 29164732, 'created_at': datetime.datetime(2025, 12, 5, 5, 36), 'result': '0.04191147181602513', 'result_long': None, 'result_double': None}] Qualite : 0.04191147181602513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29164732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164732_05-12-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29164732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164732_05-12-2025_05_36_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29164748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29164749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29164750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29164751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29164752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29164753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29164754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29164755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29164756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29164757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29164758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29164759, 'pht': 3726}}" where mtr_portfolio_id = 29164732 and dashboard_run_id = 2705152 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`=29164732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100869, 0.04191147181602513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29164732_05-12-2025_05_36_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29164748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29164749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29164750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29164751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29164752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29164753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29164754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29164755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29164756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29164757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29164758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29164759, '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 = 29165106 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': 4188858, 'mtr_portfolio_id': 29165106, 'created_at': datetime.datetime(2025, 12, 5, 5, 36, 9), 'result': '0.03563083105827624', 'result_long': None, 'result_double': None}] Qualite : 0.03563083105827624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29165106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165106_05-12-2025_05_36_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29165106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165106_05-12-2025_05_36_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29165134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29165135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29165136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29165137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29165138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29165139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29165140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29165141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29165142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29165143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29165144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29165145, 'pht': 3726}}" where mtr_portfolio_id = 29165106 and dashboard_run_id = 2705152 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`=29165106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100870, 0.03563083105827624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165106_05-12-2025_05_36_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29165134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29165135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29165136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29165137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29165138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29165139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29165140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29165141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29165142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29165143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29165144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29165145, '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 = 29165583 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': 4188859, 'mtr_portfolio_id': 29165583, 'created_at': datetime.datetime(2025, 12, 5, 5, 36, 27), 'result': '0.04070277561029388', 'result_long': None, 'result_double': None}] Qualite : 0.04070277561029388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29165583 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165583_05-12-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29165583 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165583_05-12-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29165590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29165591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29165592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29165593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29165594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29165595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29165596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29165597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29165598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29165599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29165600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29165601, 'pht': 3726}}" where mtr_portfolio_id = 29165583 and dashboard_run_id = 2705152 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`=29165583 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100871, 0.04070277561029388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29165583_05-12-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29165590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29165591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29165592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29165593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29165594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29165595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29165596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29165597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29165598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29165599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29165600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29165601, '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 = 29166634 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': 4188860, 'mtr_portfolio_id': 29166634, 'created_at': datetime.datetime(2025, 12, 5, 5, 37, 28), 'result': '0.021804988093340173', 'result_long': None, 'result_double': None}] Qualite : 0.021804988093340173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29166634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166634_05-12-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29166634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166634_05-12-2025_05_37_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29166636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29166637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29166638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29166639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29166640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29166641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29166642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29166643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29166644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29166645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29166646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29166647, 'pht': 3726}}" where mtr_portfolio_id = 29166634 and dashboard_run_id = 2705152 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`=29166634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100872, 0.021804988093340173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166634_05-12-2025_05_37_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29166636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29166637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29166638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29166639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29166640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29166641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29166642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29166643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29166644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29166645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29166646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29166647, '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 = 29166944 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': 4188861, 'mtr_portfolio_id': 29166944, 'created_at': datetime.datetime(2025, 12, 5, 5, 37, 59), 'result': '0.04765577064209144', 'result_long': None, 'result_double': None}] Qualite : 0.04765577064209144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29166944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166944_05-12-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29166944 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166944_05-12-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29166950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29166951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29166952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29166953, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29166954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29166955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29166956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29166957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29166958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29166959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29166960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29166961, 'pht': 3726}}" where mtr_portfolio_id = 29166944 and dashboard_run_id = 2705152 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`=29166944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100873, 0.04765577064209144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29166944_05-12-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29166950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29166951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29166952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29166953, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29166954, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29166955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29166956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29166957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29166958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29166959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29166960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29166961, '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 = 29167317 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': 4188862, 'mtr_portfolio_id': 29167317, 'created_at': datetime.datetime(2025, 12, 5, 5, 38, 27), 'result': '0.0533162779279352', 'result_long': None, 'result_double': None}] Qualite : 0.0533162779279352 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29167317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167317_05-12-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29167317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167317_05-12-2025_05_38_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29167346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29167347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29167348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29167349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29167350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29167351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29167352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29167353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29167354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29167355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29167356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29167357, 'pht': 3726}}" where mtr_portfolio_id = 29167317 and dashboard_run_id = 2705152 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`=29167317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100874, 0.0533162779279352, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167317_05-12-2025_05_38_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29167346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29167347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29167348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29167349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29167350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29167351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29167352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29167353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29167354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29167355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29167356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29167357, '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 = 29167848 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': 4188863, 'mtr_portfolio_id': 29167848, 'created_at': datetime.datetime(2025, 12, 5, 5, 39, 27), 'result': '0.05454299083044137', 'result_long': None, 'result_double': None}] Qualite : 0.05454299083044137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29167848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167848_05-12-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29167848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167848_05-12-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29167849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29167850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29167851, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29167852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29167853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29167854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29167855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29167856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29167857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29167858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29167859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29167860, 'pht': 3726}}" where mtr_portfolio_id = 29167848 and dashboard_run_id = 2705152 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`=29167848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100875, 0.05454299083044137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29167848_05-12-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29167849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29167850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29167851, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29167852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29167853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29167854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29167855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29167856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29167857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29167858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29167859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29167860, '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 = 29168406 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': 4188864, 'mtr_portfolio_id': 29168406, 'created_at': datetime.datetime(2025, 12, 5, 5, 39, 57), 'result': '0.04351345317316067', 'result_long': None, 'result_double': None}] Qualite : 0.04351345317316067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29168406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168406_05-12-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29168406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168406_05-12-2025_05_40_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29168439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29168440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29168441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29168442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29168443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29168444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29168445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29168446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29168447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29168448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29168449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29168450, 'pht': 3726}}" where mtr_portfolio_id = 29168406 and dashboard_run_id = 2705152 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`=29168406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100876, 0.04351345317316067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168406_05-12-2025_05_40_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29168439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29168440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29168441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29168442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29168443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29168444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29168445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29168446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29168447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29168448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29168449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29168450, '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 = 29168945 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': 4188865, 'mtr_portfolio_id': 29168945, 'created_at': datetime.datetime(2025, 12, 5, 5, 41), 'result': '0.058779092602812714', 'result_long': None, 'result_double': None}] Qualite : 0.058779092602812714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29168945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168945_05-12-2025_05_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29168945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168945_05-12-2025_05_41_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29168970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29168971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29168972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29168973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29168974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29168975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29168976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29168977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29168978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29168979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29168980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29168981, 'pht': 3726}}" where mtr_portfolio_id = 29168945 and dashboard_run_id = 2705152 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`=29168945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100877, 0.058779092602812714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29168945_05-12-2025_05_41_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29168970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29168971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29168972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29168973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29168974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29168975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29168976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29168977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29168978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29168979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29168980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29168981, '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 = 29169363 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': 4188866, 'mtr_portfolio_id': 29169363, 'created_at': datetime.datetime(2025, 12, 5, 5, 41, 9), 'result': '0.05984584230622193', 'result_long': None, 'result_double': None}] Qualite : 0.05984584230622193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29169363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169363_05-12-2025_05_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29169363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169363_05-12-2025_05_41_14.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29169375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29169376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29169377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29169378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29169379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29169380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29169381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29169382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29169383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29169384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29169385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29169386, 'pht': 3726}}" where mtr_portfolio_id = 29169363 and dashboard_run_id = 2705152 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`=29169363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100878, 0.05984584230622193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169363_05-12-2025_05_41_14.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29169375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29169376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29169377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29169378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29169379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29169380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29169381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29169382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29169383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29169384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29169385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29169386, '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 = 29169812 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': 4188867, 'mtr_portfolio_id': 29169812, 'created_at': datetime.datetime(2025, 12, 5, 5, 41, 28), 'result': '0.03764803485049883', 'result_long': None, 'result_double': None}] Qualite : 0.03764803485049883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29169812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169812_05-12-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29169812 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169812_05-12-2025_05_41_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29169845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29169846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29169847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29169848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29169849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29169850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29169851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29169852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29169853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29169854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29169855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29169856, 'pht': 3726}}" where mtr_portfolio_id = 29169812 and dashboard_run_id = 2705152 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`=29169812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100879, 0.03764803485049883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29169812_05-12-2025_05_41_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29169845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29169846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29169847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29169848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29169849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29169850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29169851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29169852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29169853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29169854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29169855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29169856, '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 = 29170360 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': 4188868, 'mtr_portfolio_id': 29170360, 'created_at': datetime.datetime(2025, 12, 5, 5, 41, 59), 'result': '0.044726143932483295', 'result_long': None, 'result_double': None}] Qualite : 0.044726143932483295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29170360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170360_05-12-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29170360 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170360_05-12-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29170386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29170387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29170388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29170389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29170390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29170391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29170392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29170393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29170394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29170395, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29170396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29170397, 'pht': 3726}}" where mtr_portfolio_id = 29170360 and dashboard_run_id = 2705152 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`=29170360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100880, 0.044726143932483295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170360_05-12-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29170386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29170387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29170388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29170389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29170390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29170391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29170392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29170393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29170394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29170395, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29170396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29170397, '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 = 29170831 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': 4188869, 'mtr_portfolio_id': 29170831, 'created_at': datetime.datetime(2025, 12, 5, 5, 42, 30), 'result': '0.043621951418468405', 'result_long': None, 'result_double': None}] Qualite : 0.043621951418468405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29170831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170831_05-12-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29170831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170831_05-12-2025_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29170839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29170840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29170841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29170842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29170843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29170844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29170845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29170846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29170847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29170848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29170849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29170850, 'pht': 3726}}" where mtr_portfolio_id = 29170831 and dashboard_run_id = 2705152 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`=29170831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100881, 0.043621951418468405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29170831_05-12-2025_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29170839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29170840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29170841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29170842, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29170843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29170844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29170845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29170846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29170847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29170848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29170849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29170850, '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 = 29171165 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': 4188870, 'mtr_portfolio_id': 29171165, 'created_at': datetime.datetime(2025, 12, 5, 5, 43, 29), 'result': '0.05725304174549657', 'result_long': None, 'result_double': None}] Qualite : 0.05725304174549657 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29171165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29171165_05-12-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29171165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29171165_05-12-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29171193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29171194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29171195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29171196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29171197, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29171198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29171199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29171200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29171201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29171202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29171203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29171204, 'pht': 3726}}" where mtr_portfolio_id = 29171165 and dashboard_run_id = 2705152 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`=29171165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100882, 0.05725304174549657, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29171165_05-12-2025_05_43_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29171193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29171194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29171195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29171196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29171197, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29171198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29171199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29171200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29171201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29171202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29171203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29171204, '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 = 29172002 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': 4188871, 'mtr_portfolio_id': 29172002, 'created_at': datetime.datetime(2025, 12, 5, 5, 44), 'result': '0.04546848021720859', 'result_long': None, 'result_double': None}] Qualite : 0.04546848021720859 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29172002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172002_05-12-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29172002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172002_05-12-2025_05_44_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172019, 'pht': 3726}}" where mtr_portfolio_id = 29172002 and dashboard_run_id = 2705152 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`=29172002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100883, 0.04546848021720859, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172002_05-12-2025_05_44_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172019, '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 = 29172388 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': 4188872, 'mtr_portfolio_id': 29172388, 'created_at': datetime.datetime(2025, 12, 5, 5, 44, 29), 'result': '0.04045687581541578', 'result_long': None, 'result_double': None}] Qualite : 0.04045687581541578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29172388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172388_05-12-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29172388 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172388_05-12-2025_05_44_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172403, 'pht': 3726}}" where mtr_portfolio_id = 29172388 and dashboard_run_id = 2705152 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`=29172388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100884, 0.04045687581541578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172388_05-12-2025_05_44_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172403, '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 = 29172801 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': 4188873, 'mtr_portfolio_id': 29172801, 'created_at': datetime.datetime(2025, 12, 5, 5, 45, 28), 'result': '0.04044283662616747', 'result_long': None, 'result_double': None}] Qualite : 0.04044283662616747 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29172801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172801_05-12-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29172801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172801_05-12-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172817, 'pht': 3726}}" where mtr_portfolio_id = 29172801 and dashboard_run_id = 2705152 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`=29172801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100885, 0.04044283662616747, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29172801_05-12-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29172806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29172807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29172808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29172809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29172810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29172811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29172812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29172813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29172814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29172815, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29172816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29172817, '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 = 29173230 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': 4188874, 'mtr_portfolio_id': 29173230, 'created_at': datetime.datetime(2025, 12, 5, 5, 45, 59), 'result': '0.05672589804641484', 'result_long': None, 'result_double': None}] Qualite : 0.05672589804641484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29173230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173230_05-12-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29173230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173230_05-12-2025_05_46_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29173236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29173237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29173238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29173239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29173240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29173241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29173242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29173243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29173244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29173245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29173246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29173247, 'pht': 3726}}" where mtr_portfolio_id = 29173230 and dashboard_run_id = 2705152 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`=29173230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100886, 0.05672589804641484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173230_05-12-2025_05_46_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29173236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29173237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29173238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29173239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29173240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29173241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29173242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29173243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29173244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29173245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29173246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29173247, '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 = 29173539 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': 4188875, 'mtr_portfolio_id': 29173539, 'created_at': datetime.datetime(2025, 12, 5, 5, 46, 11), 'result': '0.033083069946769725', 'result_long': None, 'result_double': None}] Qualite : 0.033083069946769725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29173539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173539_05-12-2025_05_46_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29173539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173539_05-12-2025_05_46_15.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29173543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29173544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29173545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29173546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29173547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29173548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29173549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29173550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29173551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29173552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29173553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29173554, 'pht': 3726}}" where mtr_portfolio_id = 29173539 and dashboard_run_id = 2705152 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`=29173539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100887, 0.033083069946769725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29173539_05-12-2025_05_46_15.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29173543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29173544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29173545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29173546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29173547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29173548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29173549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29173550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29173551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29173552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29173553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29173554, '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 = 29174089 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': 4188876, 'mtr_portfolio_id': 29174089, 'created_at': datetime.datetime(2025, 12, 5, 5, 46, 30), 'result': '0.03386319700340615', 'result_long': None, 'result_double': None}] Qualite : 0.03386319700340615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29174089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174089_05-12-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29174089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174089_05-12-2025_05_46_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29174102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29174103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29174104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29174105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29174106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29174107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29174108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29174109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29174110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29174111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29174112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29174113, 'pht': 3726}}" where mtr_portfolio_id = 29174089 and dashboard_run_id = 2705152 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`=29174089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100888, 0.03386319700340615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174089_05-12-2025_05_46_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29174102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29174103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29174104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29174105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29174106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29174107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29174108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29174109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29174110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29174111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29174112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29174113, '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 = 29174520 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': 4188877, 'mtr_portfolio_id': 29174520, 'created_at': datetime.datetime(2025, 12, 5, 5, 47, 30), 'result': '0.04180416220226931', 'result_long': None, 'result_double': None}] Qualite : 0.04180416220226931 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29174520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174520_05-12-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29174520 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174520_05-12-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29174552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29174553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29174554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29174555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29174556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29174557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29174558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29174559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29174560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29174561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29174562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29174563, 'pht': 3726}}" where mtr_portfolio_id = 29174520 and dashboard_run_id = 2705152 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`=29174520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100889, 0.04180416220226931, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29174520_05-12-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29174552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29174553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29174554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29174555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29174556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29174557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29174558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29174559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29174560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29174561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29174562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29174563, '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 = 29175025 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': 4188878, 'mtr_portfolio_id': 29175025, 'created_at': datetime.datetime(2025, 12, 5, 5, 48), 'result': '0.05271552875454296', 'result_long': None, 'result_double': None}] Qualite : 0.05271552875454296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29175025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175025_05-12-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29175025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175025_05-12-2025_05_48_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29175050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29175051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29175052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29175053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29175054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29175055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29175056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29175057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29175058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29175059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29175060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29175061, 'pht': 3726}}" where mtr_portfolio_id = 29175025 and dashboard_run_id = 2705152 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`=29175025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100890, 0.05271552875454296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175025_05-12-2025_05_48_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29175050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29175051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29175052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29175053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29175054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29175055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29175056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29175057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29175058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29175059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29175060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29175061, '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 = 29175420 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': 4188879, 'mtr_portfolio_id': 29175420, 'created_at': datetime.datetime(2025, 12, 5, 5, 48, 29), 'result': '0.05214591165989547', 'result_long': None, 'result_double': None}] Qualite : 0.05214591165989547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29175420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175420_05-12-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29175420 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175420_05-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29175433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29175434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29175435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29175436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29175437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29175438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29175439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29175440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29175441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29175442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29175443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29175444, 'pht': 3726}}" where mtr_portfolio_id = 29175420 and dashboard_run_id = 2705152 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`=29175420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100891, 0.05214591165989547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29175420_05-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29175433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29175434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29175435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29175436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29175437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29175438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29175439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29175440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29175441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29175442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29175443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29175444, '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 = 29176081 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': 4188880, 'mtr_portfolio_id': 29176081, 'created_at': datetime.datetime(2025, 12, 5, 5, 50), 'result': '0.04537591886046993', 'result_long': None, 'result_double': None}] Qualite : 0.04537591886046993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29176081 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176081_05-12-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29176081 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176081_05-12-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29176094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176105, 'pht': 3726}}" where mtr_portfolio_id = 29176081 and dashboard_run_id = 2705152 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`=29176081 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100892, 0.04537591886046993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176081_05-12-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29176094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176105, '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 = 29176341 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': 4188881, 'mtr_portfolio_id': 29176341, 'created_at': datetime.datetime(2025, 12, 5, 5, 50, 30), 'result': '0.016339218376193666', 'result_long': None, 'result_double': None}] Qualite : 0.016339218376193666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29176341 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176341_05-12-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29176341 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176341_05-12-2025_05_50_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29176342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29176349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176353, 'pht': 3726}}" where mtr_portfolio_id = 29176341 and dashboard_run_id = 2705152 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`=29176341 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100893, 0.016339218376193666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176341_05-12-2025_05_50_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29176342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29176349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176353, '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 = 29176418 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': 4188882, 'mtr_portfolio_id': 29176418, 'created_at': datetime.datetime(2025, 12, 5, 5, 51, 7), 'result': '0.07982821617861312', 'result_long': None, 'result_double': None}] Qualite : 0.07982821617861312 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29176418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176418_05-12-2025_05_51_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29176418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176418_05-12-2025_05_51_10.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29176421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176432, 'pht': 3726}}" where mtr_portfolio_id = 29176418 and dashboard_run_id = 2705152 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`=29176418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100894, 0.07982821617861312, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176418_05-12-2025_05_51_10.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29176421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176432, '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 = 29176753 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': 4188883, 'mtr_portfolio_id': 29176753, 'created_at': datetime.datetime(2025, 12, 5, 5, 51, 29), 'result': '0.04443123009786743', 'result_long': None, 'result_double': None}] Qualite : 0.04443123009786743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29176753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176753_05-12-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29176753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176753_05-12-2025_05_51_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29176760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176766, 'pht': 3726}}" where mtr_portfolio_id = 29176753 and dashboard_run_id = 2705152 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`=29176753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100895, 0.04443123009786743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29176753_05-12-2025_05_51_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29176755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29176756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29176757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29176758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29176759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29176760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29176761, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29176762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29176763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29176764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29176765, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29176766, '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 = 29177339 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': 4188884, 'mtr_portfolio_id': 29177339, 'created_at': datetime.datetime(2025, 12, 5, 5, 52), 'result': '0.04998135727457914', 'result_long': None, 'result_double': None}] Qualite : 0.04998135727457914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29177339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177339_05-12-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29177339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177339_05-12-2025_05_52_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29177364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29177365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29177366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29177367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29177368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29177369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29177370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29177371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29177372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29177373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29177374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29177375, 'pht': 3726}}" where mtr_portfolio_id = 29177339 and dashboard_run_id = 2705152 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`=29177339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100896, 0.04998135727457914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177339_05-12-2025_05_52_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29177364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29177365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29177366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29177367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29177368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29177369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29177370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29177371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29177372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29177373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29177374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29177375, '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 = 29177792 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': 4188885, 'mtr_portfolio_id': 29177792, 'created_at': datetime.datetime(2025, 12, 5, 5, 52, 30), 'result': '0.045685113587585945', 'result_long': None, 'result_double': None}] Qualite : 0.045685113587585945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29177792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177792_05-12-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29177792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177792_05-12-2025_05_52_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29177805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29177806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29177807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29177808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29177809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29177810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29177811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29177812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29177813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29177814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29177815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29177816, 'pht': 3726}}" where mtr_portfolio_id = 29177792 and dashboard_run_id = 2705152 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`=29177792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100897, 0.045685113587585945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29177792_05-12-2025_05_52_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29177805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29177806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29177807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29177808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29177809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29177810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29177811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29177812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29177813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29177814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29177815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29177816, '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 = 29178343 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': 4188886, 'mtr_portfolio_id': 29178343, 'created_at': datetime.datetime(2025, 12, 5, 5, 53, 28), 'result': '0.05043848815294835', 'result_long': None, 'result_double': None}] Qualite : 0.05043848815294835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29178343 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29178343_05-12-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29178343 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29178343_05-12-2025_05_53_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29178349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29178350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29178351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29178352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29178353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29178354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29178355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29178356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29178357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29178358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29178359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29178360, 'pht': 3726}}" where mtr_portfolio_id = 29178343 and dashboard_run_id = 2705152 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`=29178343 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100898, 0.05043848815294835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29178343_05-12-2025_05_53_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29178349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29178350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29178351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29178352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29178353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29178354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29178355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29178356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29178357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29178358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29178359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29178360, '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 = 29179002 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': 4188887, 'mtr_portfolio_id': 29179002, 'created_at': datetime.datetime(2025, 12, 5, 5, 53, 58), 'result': '0.0575050295671202', 'result_long': None, 'result_double': None}] Qualite : 0.0575050295671202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29179002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179002_05-12-2025_05_54_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29179002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179002_05-12-2025_05_54_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179017, 'pht': 3726}}" where mtr_portfolio_id = 29179002 and dashboard_run_id = 2705152 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`=29179002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100899, 0.0575050295671202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179002_05-12-2025_05_54_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179014, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179017, '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 = 29179437 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': 4188888, 'mtr_portfolio_id': 29179437, 'created_at': datetime.datetime(2025, 12, 5, 5, 54, 29), 'result': '0.044400323386972154', 'result_long': None, 'result_double': None}] Qualite : 0.044400323386972154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29179437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179437_05-12-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29179437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179437_05-12-2025_05_54_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179455, 'pht': 3726}}" where mtr_portfolio_id = 29179437 and dashboard_run_id = 2705152 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`=29179437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100900, 0.044400323386972154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179437_05-12-2025_05_54_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179455, '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 = 29179810 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': 4188889, 'mtr_portfolio_id': 29179810, 'created_at': datetime.datetime(2025, 12, 5, 5, 55, 28), 'result': '0.05343917085621916', 'result_long': None, 'result_double': None}] Qualite : 0.05343917085621916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29179810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179810_05-12-2025_05_55_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29179810 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179810_05-12-2025_05_55_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179833, 'pht': 3726}}" where mtr_portfolio_id = 29179810 and dashboard_run_id = 2705152 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`=29179810 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100901, 0.05343917085621916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29179810_05-12-2025_05_55_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29179822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29179823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29179824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29179825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29179826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29179827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29179828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29179829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29179830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29179831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29179832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29179833, '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 = 29180409 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': 4188890, 'mtr_portfolio_id': 29180409, 'created_at': datetime.datetime(2025, 12, 5, 5, 56), 'result': '0.044164829009034914', 'result_long': None, 'result_double': None}] Qualite : 0.044164829009034914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29180409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29180409_05-12-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29180409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29180409_05-12-2025_05_56_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29180418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29180419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29180420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29180421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29180422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29180423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29180424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29180425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29180426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29180427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29180428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29180429, 'pht': 3726}}" where mtr_portfolio_id = 29180409 and dashboard_run_id = 2705152 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`=29180409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100902, 0.044164829009034914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29180409_05-12-2025_05_56_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29180418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29180419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29180420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29180421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29180422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29180423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29180424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29180425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29180426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29180427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29180428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29180429, '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 = 29181139 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': 4188891, 'mtr_portfolio_id': 29181139, 'created_at': datetime.datetime(2025, 12, 5, 5, 56, 10), 'result': '0.04122219974552667', 'result_long': None, 'result_double': None}] Qualite : 0.04122219974552667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29181139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29181139_05-12-2025_05_56_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29181139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29181139_05-12-2025_05_56_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29181147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29181148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29181149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29181150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29181151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29181152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29181154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29181155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29181157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29181158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29181159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29181161, 'pht': 3726}}" where mtr_portfolio_id = 29181139 and dashboard_run_id = 2705152 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`=29181139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100903, 0.04122219974552667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29181139_05-12-2025_05_56_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29181147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29181148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29181149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29181150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29181151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29181152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29181154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29181155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29181157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29181158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29181159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29181161, '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 = 29183382 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': 4188892, 'mtr_portfolio_id': 29183382, 'created_at': datetime.datetime(2025, 12, 5, 5, 56, 28), 'result': '0.05020784147494116', 'result_long': None, 'result_double': None}] Qualite : 0.05020784147494116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29183382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183382_05-12-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29183382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183382_05-12-2025_05_56_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29183385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29183386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29183387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29183388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29183389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29183390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29183391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29183392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29183393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29183394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29183395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29183396, 'pht': 3726}}" where mtr_portfolio_id = 29183382 and dashboard_run_id = 2705152 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`=29183382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100904, 0.05020784147494116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183382_05-12-2025_05_56_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29183385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29183386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29183387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29183388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29183389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29183390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29183391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29183392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29183393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29183394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29183395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29183396, '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 = 29183842 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': 4188893, 'mtr_portfolio_id': 29183842, 'created_at': datetime.datetime(2025, 12, 5, 5, 57, 28), 'result': '0.04997340958683228', 'result_long': None, 'result_double': None}] Qualite : 0.04997340958683228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29183842 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183842_05-12-2025_05_57_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29183842 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183842_05-12-2025_05_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29183849, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29183850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29183851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29183852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29183853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29183854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29183855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29183856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29183857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29183858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29183859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29183860, 'pht': 3726}}" where mtr_portfolio_id = 29183842 and dashboard_run_id = 2705152 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`=29183842 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100905, 0.04997340958683228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29183842_05-12-2025_05_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29183849, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29183850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29183851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29183852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29183853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29183854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29183855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29183856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29183857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29183858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29183859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29183860, '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 = 29184178 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': 4188894, 'mtr_portfolio_id': 29184178, 'created_at': datetime.datetime(2025, 12, 5, 5, 57, 57), 'result': '0.04832334628580042', 'result_long': None, 'result_double': None}] Qualite : 0.04832334628580042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29184178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184178_05-12-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29184178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184178_05-12-2025_05_58_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29184192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29184193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29184194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29184195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29184196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29184197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29184198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29184199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29184200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29184201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29184202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29184203, 'pht': 3726}}" where mtr_portfolio_id = 29184178 and dashboard_run_id = 2705152 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`=29184178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100906, 0.04832334628580042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184178_05-12-2025_05_58_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29184192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29184193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29184194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29184195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29184196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29184197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29184198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29184199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29184200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29184201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29184202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29184203, '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 = 29184666 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': 4188895, 'mtr_portfolio_id': 29184666, 'created_at': datetime.datetime(2025, 12, 5, 5, 58, 29), 'result': '0.03346318392572369', 'result_long': None, 'result_double': None}] Qualite : 0.03346318392572369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29184666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184666_05-12-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29184666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184666_05-12-2025_05_58_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29184688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29184689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29184690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29184691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29184692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29184693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29184694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29184695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29184696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29184697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29184698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29184699, 'pht': 3726}}" where mtr_portfolio_id = 29184666 and dashboard_run_id = 2705152 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`=29184666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100907, 0.03346318392572369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29184666_05-12-2025_05_58_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29184688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29184689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29184690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29184691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29184692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29184693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29184694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29184695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29184696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29184697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29184698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29184699, '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 = 29185282 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': 4188896, 'mtr_portfolio_id': 29185282, 'created_at': datetime.datetime(2025, 12, 5, 5, 58, 58), 'result': '0.03619578649681824', 'result_long': None, 'result_double': None}] Qualite : 0.03619578649681824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29185282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185282_05-12-2025_05_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29185282 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185282_05-12-2025_05_59_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29185287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29185288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29185289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29185290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29185291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29185292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29185293, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29185294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29185295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29185296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29185297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29185298, 'pht': 3726}}" where mtr_portfolio_id = 29185282 and dashboard_run_id = 2705152 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`=29185282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100908, 0.03619578649681824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185282_05-12-2025_05_59_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29185287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29185288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29185289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29185290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29185291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29185292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29185293, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29185294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29185295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29185296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29185297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29185298, '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 = 29185658 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': 4188897, 'mtr_portfolio_id': 29185658, 'created_at': datetime.datetime(2025, 12, 5, 5, 59, 29), 'result': '0.04654170550404646', 'result_long': None, 'result_double': None}] Qualite : 0.04654170550404646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29185658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185658_05-12-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29185658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185658_05-12-2025_05_59_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29185662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29185663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29185664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29185665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29185666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29185667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29185668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29185669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29185670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29185671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29185672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29185673, 'pht': 3726}}" where mtr_portfolio_id = 29185658 and dashboard_run_id = 2705152 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`=29185658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100909, 0.04654170550404646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29185658_05-12-2025_05_59_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29185662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29185663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29185664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29185665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29185666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29185667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29185668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29185669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29185670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29185671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29185672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29185673, '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 = 29186013 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': 4188898, 'mtr_portfolio_id': 29186013, 'created_at': datetime.datetime(2025, 12, 5, 6, 0, 2), 'result': '0.029188562937838163', 'result_long': None, 'result_double': None}] Qualite : 0.029188562937838163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29186013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186013_05-12-2025_06_00_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29186013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186013_05-12-2025_06_00_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186042, 'pht': 3726}}" where mtr_portfolio_id = 29186013 and dashboard_run_id = 2705152 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`=29186013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100910, 0.029188562937838163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186013_05-12-2025_06_00_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186042, '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 = 29186446 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': 4188899, 'mtr_portfolio_id': 29186446, 'created_at': datetime.datetime(2025, 12, 5, 6, 0, 30), 'result': '0.049162439096073526', 'result_long': None, 'result_double': None}] Qualite : 0.049162439096073526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29186446 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186446_05-12-2025_06_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29186446 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186446_05-12-2025_06_00_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186460, 'pht': 3726}}" where mtr_portfolio_id = 29186446 and dashboard_run_id = 2705152 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`=29186446 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100911, 0.049162439096073526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186446_05-12-2025_06_00_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186460, '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 = 29186716 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': 4188900, 'mtr_portfolio_id': 29186716, 'created_at': datetime.datetime(2025, 12, 5, 6, 1, 7), 'result': '0.03285535246963142', 'result_long': None, 'result_double': None}] Qualite : 0.03285535246963142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29186716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186716_05-12-2025_06_01_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29186716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186716_05-12-2025_06_01_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186741, 'pht': 3726}}" where mtr_portfolio_id = 29186716 and dashboard_run_id = 2705152 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`=29186716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100912, 0.03285535246963142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29186716_05-12-2025_06_01_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29186730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29186731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29186732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29186733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29186734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29186735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29186736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29186737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29186738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29186739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29186740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29186741, '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 = 29187185 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': 4188901, 'mtr_portfolio_id': 29187185, 'created_at': datetime.datetime(2025, 12, 5, 6, 1, 32), 'result': '0.0508271251045987', 'result_long': None, 'result_double': None}] Qualite : 0.0508271251045987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29187185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187185_05-12-2025_06_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29187185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187185_05-12-2025_06_01_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29187190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187202, 'pht': 3726}}" where mtr_portfolio_id = 29187185 and dashboard_run_id = 2705152 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`=29187185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100913, 0.0508271251045987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187185_05-12-2025_06_01_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29187190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187202, '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 = 29187552 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': 4188902, 'mtr_portfolio_id': 29187552, 'created_at': datetime.datetime(2025, 12, 5, 6, 2, 1), 'result': '0.03840383055310977', 'result_long': None, 'result_double': None}] Qualite : 0.03840383055310977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29187552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187552_05-12-2025_06_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29187552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187552_05-12-2025_06_02_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29187573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187577, 'pht': 3726}}" where mtr_portfolio_id = 29187552 and dashboard_run_id = 2705152 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`=29187552 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100914, 0.03840383055310977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187552_05-12-2025_06_02_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29187573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187577, '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 = 29187947 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': 4188903, 'mtr_portfolio_id': 29187947, 'created_at': datetime.datetime(2025, 12, 5, 6, 2, 29), 'result': '0.04120604246813382', 'result_long': None, 'result_double': None}] Qualite : 0.04120604246813382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29187947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187947_05-12-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29187947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187947_05-12-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29187960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187966, 'pht': 3726}}" where mtr_portfolio_id = 29187947 and dashboard_run_id = 2705152 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`=29187947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100915, 0.04120604246813382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29187947_05-12-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29187955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29187956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29187957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29187958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29187959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29187960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29187961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29187962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29187963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29187964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29187965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29187966, '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 = 29188391 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': 4188904, 'mtr_portfolio_id': 29188391, 'created_at': datetime.datetime(2025, 12, 5, 6, 3, 29), 'result': '0.046826798362837825', 'result_long': None, 'result_double': None}] Qualite : 0.046826798362837825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29188391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188391_05-12-2025_06_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29188391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188391_05-12-2025_06_03_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29188409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29188410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29188411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29188412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29188413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29188414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29188415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29188416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29188417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29188418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29188419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29188420, 'pht': 3726}}" where mtr_portfolio_id = 29188391 and dashboard_run_id = 2705152 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`=29188391 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100916, 0.046826798362837825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188391_05-12-2025_06_03_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29188409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29188410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29188411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29188412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29188413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29188414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29188415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29188416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29188417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29188418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29188419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29188420, '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 = 29188913 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': 4188905, 'mtr_portfolio_id': 29188913, 'created_at': datetime.datetime(2025, 12, 5, 6, 3, 58), 'result': '0.048834297971187594', 'result_long': None, 'result_double': None}] Qualite : 0.048834297971187594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29188913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188913_05-12-2025_06_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29188913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188913_05-12-2025_06_04_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29188957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29188958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29188959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29188960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29188961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29188962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29188963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29188964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29188965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29188966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29188967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29188968, 'pht': 3726}}" where mtr_portfolio_id = 29188913 and dashboard_run_id = 2705152 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`=29188913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100917, 0.048834297971187594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29188913_05-12-2025_06_04_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29188957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29188958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29188959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29188960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29188961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29188962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29188963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29188964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29188965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29188966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29188967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29188968, '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 = 29189919 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': 4188906, 'mtr_portfolio_id': 29189919, 'created_at': datetime.datetime(2025, 12, 5, 6, 5), 'result': '0.04698977369911674', 'result_long': None, 'result_double': None}] Qualite : 0.04698977369911674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29189919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29189919_05-12-2025_06_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29189919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29189919_05-12-2025_06_05_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29189946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29189947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29189948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29189949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29189950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29189951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29189952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29189953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29189954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29189955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29189956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29189957, 'pht': 3726}}" where mtr_portfolio_id = 29189919 and dashboard_run_id = 2705152 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`=29189919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100918, 0.04698977369911674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29189919_05-12-2025_06_05_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29189946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29189947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29189948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29189949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29189950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29189951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29189952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29189953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29189954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29189955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29189956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29189957, '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 = 29190242 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': 4188907, 'mtr_portfolio_id': 29190242, 'created_at': datetime.datetime(2025, 12, 5, 6, 5, 28), 'result': '0.04045822522607158', 'result_long': None, 'result_double': None}] Qualite : 0.04045822522607158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29190242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190242_05-12-2025_06_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29190242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190242_05-12-2025_06_05_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29190247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29190248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29190249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29190250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29190251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29190252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29190253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29190254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29190255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29190256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29190257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29190258, 'pht': 3726}}" where mtr_portfolio_id = 29190242 and dashboard_run_id = 2705152 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`=29190242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100919, 0.04045822522607158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190242_05-12-2025_06_05_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29190247, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29190248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29190249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29190250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29190251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29190252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29190253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29190254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29190255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29190256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29190257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29190258, '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 = 29190686 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': 4188908, 'mtr_portfolio_id': 29190686, 'created_at': datetime.datetime(2025, 12, 5, 6, 5, 57), 'result': '0.04988094912568788', 'result_long': None, 'result_double': None}] Qualite : 0.04988094912568788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29190686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190686_05-12-2025_06_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29190686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190686_05-12-2025_06_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29190703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29190704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29190705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29190706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29190707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29190708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29190709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29190710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29190711, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29190712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29190713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29190714, 'pht': 3726}}" where mtr_portfolio_id = 29190686 and dashboard_run_id = 2705152 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`=29190686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100920, 0.04988094912568788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29190686_05-12-2025_06_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29190703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29190704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29190705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29190706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29190707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29190708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29190709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29190710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29190711, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29190712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29190713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29190714, '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 = 29191265 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': 4188909, 'mtr_portfolio_id': 29191265, 'created_at': datetime.datetime(2025, 12, 5, 6, 6, 7), 'result': '0.04665631124781501', 'result_long': None, 'result_double': None}] Qualite : 0.04665631124781501 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29191265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191265_05-12-2025_06_06_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29191265 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191265_05-12-2025_06_06_11.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29191269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29191270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29191271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29191272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29191273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29191274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29191275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29191276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29191277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29191278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29191279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29191280, 'pht': 3726}}" where mtr_portfolio_id = 29191265 and dashboard_run_id = 2705152 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`=29191265 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100921, 0.04665631124781501, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191265_05-12-2025_06_06_11.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29191269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29191270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29191271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29191272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29191273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29191274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29191275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29191276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29191277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29191278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29191279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29191280, '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 = 29191610 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': 4188910, 'mtr_portfolio_id': 29191610, 'created_at': datetime.datetime(2025, 12, 5, 6, 6, 28), 'result': '0.041756004484522824', 'result_long': None, 'result_double': None}] Qualite : 0.041756004484522824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29191610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191610_05-12-2025_06_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29191610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191610_05-12-2025_06_06_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29191651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29191652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29191653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29191654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29191655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29191656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29191657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29191659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29191660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29191661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29191663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29191664, 'pht': 3726}}" where mtr_portfolio_id = 29191610 and dashboard_run_id = 2705152 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`=29191610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100922, 0.041756004484522824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29191610_05-12-2025_06_06_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29191651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29191652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29191653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29191654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29191655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29191656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29191657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29191659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29191660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29191661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29191663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29191664, '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 = 29192334 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': 4188911, 'mtr_portfolio_id': 29192334, 'created_at': datetime.datetime(2025, 12, 5, 6, 7, 30), 'result': '0.05480610863658251', 'result_long': None, 'result_double': None}] Qualite : 0.05480610863658251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29192334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192334_05-12-2025_06_07_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29192334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192334_05-12-2025_06_07_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29192357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29192358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29192359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29192360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29192361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29192362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29192363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29192364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29192365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29192366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29192367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29192368, 'pht': 3726}}" where mtr_portfolio_id = 29192334 and dashboard_run_id = 2705152 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`=29192334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100923, 0.05480610863658251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192334_05-12-2025_06_07_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29192357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29192358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29192359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29192360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29192361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29192362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29192363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29192364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29192365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29192366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29192367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29192368, '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 = 29192845 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': 4188912, 'mtr_portfolio_id': 29192845, 'created_at': datetime.datetime(2025, 12, 5, 6, 7, 58), 'result': '0.03598250081032294', 'result_long': None, 'result_double': None}] Qualite : 0.03598250081032294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29192845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192845_05-12-2025_06_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29192845 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192845_05-12-2025_06_08_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29192854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29192855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29192856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29192857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29192858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29192859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29192860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29192861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29192862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29192863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29192864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29192865, 'pht': 3726}}" where mtr_portfolio_id = 29192845 and dashboard_run_id = 2705152 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`=29192845 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100924, 0.03598250081032294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29192845_05-12-2025_06_08_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29192854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29192855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29192856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29192857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29192858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29192859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29192860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29192861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29192862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29192863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29192864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29192865, '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 = 29193440 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': 4188913, 'mtr_portfolio_id': 29193440, 'created_at': datetime.datetime(2025, 12, 5, 6, 8, 29), 'result': '0.04478037398460002', 'result_long': None, 'result_double': None}] Qualite : 0.04478037398460002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29193440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193440_05-12-2025_06_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29193440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193440_05-12-2025_06_08_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29193446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29193447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29193448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29193449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29193450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29193451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29193452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29193453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29193454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29193455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29193456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29193457, 'pht': 3726}}" where mtr_portfolio_id = 29193440 and dashboard_run_id = 2705152 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`=29193440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100925, 0.04478037398460002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193440_05-12-2025_06_08_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29193446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29193447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29193448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29193449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29193450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29193451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29193452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29193453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29193454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29193455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29193456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29193457, '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 = 29193727 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': 4188914, 'mtr_portfolio_id': 29193727, 'created_at': datetime.datetime(2025, 12, 5, 6, 9, 28), 'result': '0.03776030244297154', 'result_long': None, 'result_double': None}] Qualite : 0.03776030244297154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29193727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193727_05-12-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29193727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193727_05-12-2025_06_09_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29193761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29193762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29193763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29193764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29193765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29193766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29193767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29193768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29193769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29193770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29193771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29193772, 'pht': 3726}}" where mtr_portfolio_id = 29193727 and dashboard_run_id = 2705152 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`=29193727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100926, 0.03776030244297154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29193727_05-12-2025_06_09_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29193761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29193762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29193763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29193764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29193765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29193766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29193767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29193768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29193769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29193770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29193771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29193772, '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 = 29194351 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': 4188915, 'mtr_portfolio_id': 29194351, 'created_at': datetime.datetime(2025, 12, 5, 6, 9, 59), 'result': '0.04992455180943897', 'result_long': None, 'result_double': None}] Qualite : 0.04992455180943897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29194351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29194351_05-12-2025_06_10_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29194351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29194351_05-12-2025_06_10_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29194359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29194360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29194361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29194362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29194363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29194365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29194366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29194367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29194368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29194369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29194370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29194371, 'pht': 3726}}" where mtr_portfolio_id = 29194351 and dashboard_run_id = 2705152 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`=29194351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100927, 0.04992455180943897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29194351_05-12-2025_06_10_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29194359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29194360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29194361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29194362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29194363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29194365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29194366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29194367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29194368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29194369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29194370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29194371, '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 = 29195625 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': 4188916, 'mtr_portfolio_id': 29195625, 'created_at': datetime.datetime(2025, 12, 5, 6, 10, 31), 'result': '0.04453273843713287', 'result_long': None, 'result_double': None}] Qualite : 0.04453273843713287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29195625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29195625_05-12-2025_06_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29195625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29195625_05-12-2025_06_10_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29195626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29195627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29195628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29195629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29195630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29195631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29195632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29195633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29195634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29195635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29195636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29195637, 'pht': 3726}}" where mtr_portfolio_id = 29195625 and dashboard_run_id = 2705152 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`=29195625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100928, 0.04453273843713287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29195625_05-12-2025_06_10_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29195626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29195627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29195628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29195629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29195630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29195631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29195632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29195633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29195634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29195635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29195636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29195637, '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 = 29196118 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': 4186947, 'mtr_portfolio_id': 29196118, 'created_at': datetime.datetime(2025, 12, 4, 21, 33, 1), 'result': '0.05348299208385913', 'result_long': None, 'result_double': None}] Qualite : 0.05348299208385913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29196118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196118_04-12-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29196118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196118_04-12-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29196121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29196122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29196123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29196124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29196125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29196126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29196127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29196128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29196129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29196130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29196131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29196132, 'pht': 3726}}" where mtr_portfolio_id = 29196118 and dashboard_run_id = 2705152 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`=29196118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100929, 0.05348299208385913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196118_04-12-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29196121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29196122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29196123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29196124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29196125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29196126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29196127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29196128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29196129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29196130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29196131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29196132, '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 = 29196788 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': 4186985, 'mtr_portfolio_id': 29196788, 'created_at': datetime.datetime(2025, 12, 4, 21, 47), 'result': '0.03786933932609534', 'result_long': None, 'result_double': None}] Qualite : 0.03786933932609534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29196788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196788_04-12-2025_21_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29196788 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196788_04-12-2025_21_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29196829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29196830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29196831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29196832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29196833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29196834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29196835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29196836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29196837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29196838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29196839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29196840, 'pht': 3726}}" where mtr_portfolio_id = 29196788 and dashboard_run_id = 2705152 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`=29196788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100930, 0.03786933932609534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29196788_04-12-2025_21_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29196829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29196830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29196831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29196832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29196833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29196834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29196835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29196836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29196837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29196838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29196839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29196840, '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 = 29197385 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': 4187036, 'mtr_portfolio_id': 29197385, 'created_at': datetime.datetime(2025, 12, 4, 23, 30, 59), 'result': '0.047277015230005486', 'result_long': None, 'result_double': None}] Qualite : 0.047277015230005486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29197385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29197385_04-12-2025_23_30_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29197385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29197385_04-12-2025_23_30_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29197392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29197393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29197394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29197395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29197396, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29197397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29197398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29197399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29197400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29197401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29197402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29197403, 'pht': 3726}}" where mtr_portfolio_id = 29197385 and dashboard_run_id = 2705152 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`=29197385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100931, 0.047277015230005486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29197385_04-12-2025_23_30_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29197392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29197393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29197394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29197395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29197396, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29197397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29197398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29197399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29197400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29197401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29197402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29197403, '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 = 29198069 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': 4187169, 'mtr_portfolio_id': 29198069, 'created_at': datetime.datetime(2025, 12, 4, 22, 19), 'result': '0.04867579632282389', 'result_long': None, 'result_double': None}] Qualite : 0.04867579632282389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29198069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198069_04-12-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29198069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198069_04-12-2025_22_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29198078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29198079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29198080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29198081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29198082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29198083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29198084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29198085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29198086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29198087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29198088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29198089, 'pht': 3726}}" where mtr_portfolio_id = 29198069 and dashboard_run_id = 2705152 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`=29198069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100932, 0.04867579632282389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198069_04-12-2025_22_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29198078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29198079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29198080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29198081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29198082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29198083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29198084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29198085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29198086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29198087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29198088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29198089, '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 = 29198840 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': 4187253, 'mtr_portfolio_id': 29198840, 'created_at': datetime.datetime(2025, 12, 4, 22, 33, 1), 'result': '0.044018778749381524', 'result_long': None, 'result_double': None}] Qualite : 0.044018778749381524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29198840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198840_04-12-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29198840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198840_04-12-2025_22_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29198866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29198867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29198868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29198869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29198870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29198871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29198872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29198873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29198874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29198875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29198876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29198877, 'pht': 3726}}" where mtr_portfolio_id = 29198840 and dashboard_run_id = 2705152 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`=29198840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100933, 0.044018778749381524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29198840_04-12-2025_22_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29198866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29198867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29198868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29198869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29198870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29198871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29198872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29198873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29198874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29198875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29198876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29198877, '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 = 29199468 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': 4187321, 'mtr_portfolio_id': 29199468, 'created_at': datetime.datetime(2025, 12, 4, 22, 47), 'result': '0.04233227788057659', 'result_long': None, 'result_double': None}] Qualite : 0.04233227788057659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29199468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29199468_04-12-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29199468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29199468_04-12-2025_22_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29199519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29199520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29199522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29199523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29199524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29199525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29199526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29199527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29199528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29199529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29199530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29199531, 'pht': 3726}}" where mtr_portfolio_id = 29199468 and dashboard_run_id = 2705152 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`=29199468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100934, 0.04233227788057659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29199468_04-12-2025_22_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29199519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29199520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29199522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29199523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29199524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29199525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29199526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29199527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29199528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29199529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29199530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29199531, '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 = 29200145 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': 4187378, 'mtr_portfolio_id': 29200145, 'created_at': datetime.datetime(2025, 12, 4, 23, 3, 2), 'result': '0.030101281895250524', 'result_long': None, 'result_double': None}] Qualite : 0.030101281895250524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29200145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200145_04-12-2025_23_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29200145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200145_04-12-2025_23_03_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29200152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29200153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29200154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29200155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29200156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29200157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29200158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29200159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29200161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29200162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29200163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29200164, 'pht': 3726}}" where mtr_portfolio_id = 29200145 and dashboard_run_id = 2705152 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`=29200145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100935, 0.030101281895250524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200145_04-12-2025_23_03_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29200152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29200153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29200154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29200155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29200156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29200157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29200158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29200159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29200161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29200162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29200163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29200164, '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 = 29200597 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': 4187445, 'mtr_portfolio_id': 29200597, 'created_at': datetime.datetime(2025, 12, 4, 23, 20, 58), 'result': '0.029533268944708098', 'result_long': None, 'result_double': None}] Qualite : 0.029533268944708098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29200597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200597_04-12-2025_23_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29200597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200597_04-12-2025_23_20_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29200606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29200607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29200608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29200609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29200610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29200611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29200612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29200613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29200614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29200615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29200616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29200617, 'pht': 3726}}" where mtr_portfolio_id = 29200597 and dashboard_run_id = 2705152 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`=29200597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100936, 0.029533268944708098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29200597_04-12-2025_23_20_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29200606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29200607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29200608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29200609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29200610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29200611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29200612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29200613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29200614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29200615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29200616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29200617, '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 = 29201379 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': 4187526, 'mtr_portfolio_id': 29201379, 'created_at': datetime.datetime(2025, 12, 5, 0, 46, 8), 'result': '0.04944906401945082', 'result_long': None, 'result_double': None}] Qualite : 0.04944906401945082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29201379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29201379_05-12-2025_00_46_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29201379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29201379_05-12-2025_00_46_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29201395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29201396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29201397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29201398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29201399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29201400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29201401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29201402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29201403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29201404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29201405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29201406, 'pht': 3726}}" where mtr_portfolio_id = 29201379 and dashboard_run_id = 2705152 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`=29201379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100937, 0.04944906401945082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29201379_05-12-2025_00_46_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29201395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29201396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29201397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29201398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29201399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29201400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29201401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29201402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29201403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29201404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29201405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29201406, '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 = 29202025 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': 4187595, 'mtr_portfolio_id': 29202025, 'created_at': datetime.datetime(2025, 12, 4, 23, 46, 57), 'result': '0.093487220723338', 'result_long': None, 'result_double': None}] Qualite : 0.093487220723338 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29202025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202025_04-12-2025_23_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29202025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202025_04-12-2025_23_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29202050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29202051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29202052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29202053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29202054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29202055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29202056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29202057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29202058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29202059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29202060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29202061, 'pht': 3726}}" where mtr_portfolio_id = 29202025 and dashboard_run_id = 2705152 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`=29202025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100938, 0.093487220723338, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202025_04-12-2025_23_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29202050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29202051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29202052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29202053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29202054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29202055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29202056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29202057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29202058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29202059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29202060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29202061, '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 = 29202716 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': 4187651, 'mtr_portfolio_id': 29202716, 'created_at': datetime.datetime(2025, 12, 5, 0, 7, 30), 'result': '0.09541526679460001', 'result_long': None, 'result_double': None}] Qualite : 0.09541526679460001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29202716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202716_05-12-2025_00_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29202716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202716_05-12-2025_00_07_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29202726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29202727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29202728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29202729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29202730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29202731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29202732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29202733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29202734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29202735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29202736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29202737, 'pht': 3726}}" where mtr_portfolio_id = 29202716 and dashboard_run_id = 2705152 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`=29202716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18100939, 0.09541526679460001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29202716_05-12-2025_00_07_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29202726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29202727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29202728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29202729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29202730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29202731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29202732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29202733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29202734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29202735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29202736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29202737, '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 (29164250,29164732,29165106,29165583,29166634,29166944,29167317,29167848,29168406,29168945,29169363,29169812,29170360,29170831,29171165,29172002,29172388,29172801,29173230,29173539,29174089,29174520,29175025,29175420,29176081,29176341,29176418,29176753,29177339,29177792,29178343,29179002,29179437,29179810,29180409,29181139,29183382,29183842,29184178,29184666,29185282,29185658,29186013,29186446,29186716,29187185,29187552,29187947,29188391,29188913,29189919,29190242,29190686,29191265,29191610,29192334,29192845,29193440,29193727,29194351,29195625,29196118,29196788,29197385,29198069,29198840,29199468,29200145,29200597,29201379,29202025,29202716) result : ((1397754704,), (1397754746,), (1397754775,), (1397754811,), (1397755183,), (1397755250,), (1397755317,), (1397755363,), (1397755398,), (1397755783,), (1397755857,), (1397755927,), (1397755994,), (1397757030,), (1397757127,), (1397757226,), (1397757284,), (1397757320,), (1397757805,), (1397757841,), (1397757873,), (1397757921,), (1397757943,), (1397758207,), (1397758258,), (1397758323,), (1397758383,), (1397758780,), (1397758800,), (1397758802,), (1397758803,), (1397758805,), (1397758807,), (1397758825,), (1397758826,), (1397759084,), (1397759085,), (1397759086,), (1397759241,), (1397759256,), (1397759259,), (1397759260,), (1397759276,), (1397759277,), (1397759278,), (1397759279,), (1397759281,), (1397759282,), (1397759291,), (1397759294,), (1397759296,), (1397759299,), (1397759302,), (1397759324,), (1397759322,), (1397759323,), (1397759331,), (1397759332,), (1397759336,), (1397759337,), (1397759339,), (1397759341,), (1397759388,), (1397759395,), (1397759406,), (1397759412,), (1397759437,), (1397759612,), (1397759618,), (1397759625,), (1397759626,), (1397759652,), (1397759653,), (1397759654,), (1397759655,), (1397759657,), (1397759671,), (1397759672,), (1397759673,), (1397759674,), (1397759705,), (1397759987,), (1397759988,), (1397759989,), (1397759990,), (1397759992,), (1397760018,), (1397760020,), (1397760021,), (1397760028,), (1397760030,), (1397760032,), (1397760035,), (1397760038,), (1397760052,), (1397760053,), (1397760054,), (1397760055,), (1397760056,), (1397760058,), (1397760069,), (1397760070,), (1397760071,), (1397760073,), (1397760075,), (1397760077,), (1397760103,), (1397760106,), (1397760107,), (1397760135,), (1397760136,), (1397760137,), (1397760140,), (1397760143,), (1397760162,), (1397760165,), (1397760166,), (1397760167,), (1397760168,), (1397760169,), (1397760152,), (1397760153,), (1397760155,), (1397760157,), (1397760160,), (1397760170,), (1397760172,), (1397760180,), (1397760190,), (1397760192,), (1397760195,), (1397760197,), (1397760199,), (1397760213,), (1397760220,), (1397760224,), (1397760225,), (1397760227,), (1397760229,), (1397760308,), (1397760342,), (1397760374,), (1397760405,), (1397760832,), (1397760866,), (1397760900,), (1397760935,), (1397760948,), (1397760950,), (1397760954,), (1397760955,), (1397760985,), (1397761023,), (1397761058,), (1397761091,), (1397761219,), (1397761258,), (1397761268,), (1397761276,), (1397761304,), (1397761306,), (1397761388,), (1397761389,), (1397761391,), (1397761415,), (1397761448,), (1397761449,), (1397761458,), (1397761459,), (1397761460,), (1397761461,), (1397761464,), (1397761465,), (1397761468,), (1397761469,), (1397761472,), (1397761473,), (1397761477,), (1397761478,), (1397761479,), (1397761481,), (1397761483,), (1397761484,), (1397761489,), (1397761490,), (1397761491,), (1397761492,), (1397761493,), (1397761517,), (1397761518,), (1397761519,), (1397761522,), (1397761529,), (1397761535,), (1397761536,), (1397761537,), (1397761538,), (1397761558,), (1397761559,), (1397761560,), (1397761582,), (1397761583,), (1397761593,), (1397761602,), (1397761607,), (1397761610,), (1397761633,), (1397761626,), (1397761627,), (1397761628,), (1397761629,), (1397761631,), (1397761638,), (1397761639,), (1397761640,), (1397761641,), (1397761658,), (1397761659,), (1397761660,), (1397761661,), (1397761668,), (1397761669,), (1397761670,), (1397761671,), (1397761673,), (1397761675,), (1397761697,), (1397761698,), (1397761699,), (1397761700,), (1397761702,), (1397761708,), (1397761709,), (1397761710,), (1397761711,), (1397761724,), (1397761725,), (1397761726,), (1397761727,), (1397761729,), (1397761731,), (1397761748,), (1397761768,), (1397761773,), (1397761774,), (1397761776,), (1397761793,), (1397761794,), (1397761795,), (1397761802,), (1397761804,), (1397761806,), (1397761809,), (1397761812,), (1397761815,), (1397761827,), (1397761828,), (1397761829,), (1397761830,), (1397761869,), (1397761870,), (1397761871,), (1397761872,), (1397761885,), (1397761886,), (1397761894,), (1397761904,), (1397761906,), (1397768205,), (1397768742,), (1397768743,), (1397768744,), (1397768746,), (1397768748,), (1397768753,), (1397768773,), (1397768780,), (1397768781,), (1397768782,), (1397768783,), (1397768794,), (1397768795,), (1397768796,), (1397768797,), (1397768814,), (1397768815,), (1397768816,), (1397768818,), (1397768820,), (1397768831,), (1397768842,), (1397768857,), (1397768872,), (1397768873,), (1397768877,), (1397768894,), (1397768896,), (1397768899,), (1397768903,), (1397768906,), (1397768954,), (1397768967,), (1397768978,), (1397768979,), (1397768982,), (1397768985,), (1397768997,), (1397768998,), (1397768999,), (1397769000,), (1397769002,), (1397769024,), (1397769025,), (1397769026,), (1397769027,), (1397769049,), (1397769050,), (1397769051,), (1397769052,), (1397769054,), (1397769061,), (1397769062,), (1397769064,), (1397769065,), (1397769096,), (1397769089,), (1397769090,), (1397769091,), (1397769092,), (1397769094,), (1397769101,), (1397769102,), (1397769103,), (1397769104,), (1397769106,), (1397769145,), (1397769147,), (1397769148,), (1397769162,), (1397769186,), (1397769217,), (1397769255,), (1397769292,), (1397769328,), (1397769562,), (1397769677,), (1397769709,), (1397769747,), (1397769790,), (1397769823,), (1397769830,), (1397769853,), (1397769885,), (1397770066,), (1397770096,), (1397770097,), (1397770098,), (1397770120,), (1397770161,), (1397770164,), (1397770166,), (1397770180,), (1397770184,), (1397770245,), (1397770250,), (1397770251,), (1397770297,), (1397770299,), (1397770301,), (1397770303,), (1397770305,), (1397770307,), (1397770324,), (1397770325,), (1397770331,), (1397770332,), (1397770365,), (1397770366,), (1397770381,), (1397770411,), (1397770419,), (1397770421,), (1397770426,), (1397770876,), (1397770867,), (1397770869,), (1397770871,), (1397770873,), (1397771055,), (1397771061,), (1397771063,), (1397771087,), (1397771088,), (1397771089,), (1397771090,), (1397771104,), (1397771105,), (1397771106,), (1397771107,), (1397771137,), (1397771147,), (1397771148,), (1397771149,), (1397771151,), (1397771161,), (1397771162,), (1397771163,), (1397771171,), (1397771172,), (1397771173,), (1397771174,), (1397771193,), (1397771194,), (1397771195,), (1397771196,), (1397771199,), (1397771203,), (1397771404,), (1397771440,), (1397771474,), (1397771511,), (1397771547,), (1397771586,), (1397771738,), (1397771780,), (1397771823,), (1397771858,), (1397771890,), (1397771928,), (1397772042,), (1397772043,), (1397772076,), (1397772077,), (1397772215,), (1397772216,), (1397772217,), (1397772407,), (1397772438,), (1397772499,), (1397773283,), (1397773323,), (1397773358,), (1397773400,), (1397773463,), (1397773797,), (1397773798,), (1397773824,), (1397773854,), (1397774486,), (1397774536,), (1397774598,), (1397774632,), (1397774669,), (1397775021,), (1397775018,), (1397775019,), (1397775020,), (1397775207,), (1397775209,), (1397775211,), (1397775246,), (1397775299,), (1397775300,), (1397775301,), (1397775303,), (1397775305,), (1397775307,), (1397775311,), (1397775312,), (1397775314,), (1397775316,), (1397775323,), (1397775325,), (1397775328,), (1397775329,), (1397775330,), (1397775331,), (1397775332,), (1397775333,), (1397775335,), (1397775337,), (1397775339,), (1397775353,), (1397775355,), (1397775357,), (1397775362,), (1397775415,), (1397775422,), (1397775423,), (1397775424,), (1397775436,), (1397775437,), (1397775438,), (1397775439,), (1397775441,), (1397775447,), (1397775448,), (1397775449,), (1397775450,), (1397775452,), (1397775463,), (1397775464,), (1397775478,), (1397775479,), (1397775483,), (1397775484,), (1397775486,), (1397775488,), (1397775544,), (1397775546,), (1397775547,), (1397775549,), (1397775551,), (1397775553,), (1397775588,), (1397775593,), (1397775594,), (1397775596,), (1397775598,), (1397775600,), (1397775609,), (1397775614,), (1397775617,), (1397775619,), (1397775621,), (1397775622,), (1397775625,), (1397775627,), (1397775629,), (1397775631,), (1397775633,), (1397775653,), (1397775654,), (1397775655,), (1397775656,), (1397775664,), (1397775665,), (1397775666,), (1397775667,), (1397775683,), (1397775684,), (1397775685,), (1397775686,), (1397775688,), (1397775690,), (1397775702,), (1397775703,), (1397775709,), (1397775710,), (1397775711,), (1397775713,), (1397775732,), (1397775737,), (1397775738,), (1397775739,), (1397775755,), (1397775781,), (1397775782,), (1397775783,), (1397775785,), (1397775787,), (1397775788,), (1397775792,), (1397775793,), (1397775794,), (1397775796,), (1397775798,), (1397775800,), (1397775810,), (1397775811,), (1397775812,), (1397775818,), (1397775821,), (1397775822,), (1397775826,), (1397775827,), (1397775829,), (1397775831,), (1397775833,), (1397775835,), (1397775837,), (1397775838,), (1397775841,), (1397775842,), (1397775844,), (1397775845,), (1397775846,), (1397775847,), (1397775848,), (1397775850,), (1397775852,), (1397775854,), (1397775874,), (1397775875,), (1397775876,), (1397775877,), (1397775884,), (1397775885,), (1397775886,), (1397775887,), (1397775889,), (1397775891,), (1397775933,), (1397775934,), (1397775935,), (1397775942,), (1397775952,), (1397775956,), (1397775983,), (1397776009,), (1397776011,), (1397776044,), (1397776039,), (1397776040,), (1397776041,), (1397776042,), (1397776050,), (1397776051,), (1397776052,), (1397776053,), (1397776073,), (1397776074,), (1397776075,), (1397776077,), (1397776079,), (1397776081,), (1397776086,), (1397776087,), (1397776089,), (1397776091,), (1397776093,), (1397776095,), (1397776109,), (1397776110,), (1397776111,), (1397776115,), (1397776126,), (1397776129,), (1397776130,), (1397776132,), (1397776134,), (1397776136,), (1397776138,), (1397776139,), (1397776140,), (1397776141,), (1397776157,), (1397776162,), (1397776163,), (1397776164,), (1397776166,), (1397776168,), (1397776185,), (1397776193,), (1397776195,), (1397776260,), (1397776268,), (1397776270,), (1397776273,), (1397776276,), (1397776279,), (1397776283,), (1397776284,), (1397776285,), (1397776286,), (1397776310,), (1397776320,), (1397776324,), (1397776325,), (1397776327,), (1397776332,), (1397776333,), (1397776334,), (1397776335,), (1397776337,), (1397776339,), (1397776357,), (1397776358,), (1397776359,), (1397776361,), (1397776363,), (1397776365,), (1397776381,), (1397776383,), (1397776393,), (1397776399,), (1397776401,), (1397776403,), (1397776412,), (1397776435,), (1397776437,), (1397776439,), (1397776441,), (1397776443,), (1397776686,), (1397776724,), (1397776761,), (1397776878,), (1397776913,), (1397776571,), (1397776605,), (1397776649,), (1397777044,), (1397777077,), (1397777118,), (1397777149,), (1397777184,), (1397777221,), (1397777489,), (1397777521,), (1397777554,), (1397777938,), (1397777969,), (1397778001,), (1397778032,), (1397778714,), (1397778777,), (1397778847,), (1397778900,), (1397779081,), (1397779116,), (1397779179,), (1397779219,), (1397779260,), (1397779294,), (1397779467,), (1397779470,), (1397779471,), (1397779472,), (1397779474,), (1397779506,), (1397779507,), (1397779508,), (1397779510,), (1397779512,), (1397779514,), (1397779522,), (1397779525,), (1397779528,), (1397779531,), (1397779538,), (1397779547,), (1397779554,), (1397779555,), (1397779556,), (1397779557,), (1397779558,), (1397779559,), (1397779563,), (1397779564,), (1397779566,), (1397779568,), (1397779569,), (1397779570,), (1397779571,), (1397779572,), (1397779573,), (1397779574,), (1397779588,), (1397779589,), (1397779590,), (1397779591,), (1397779593,), (1397779606,), (1397779607,), (1397779608,), (1397779609,), (1397779611,), (1397779613,), (1397779622,), (1397779623,), (1397779624,), (1397779627,), (1397779641,), (1397779652,), (1397779653,), (1397779655,), (1397779682,), (1397779679,), (1397779680,), (1397779681,), (1397779702,), (1397779710,), (1397779712,), (1397779715,), (1397779718,), (1397779727,), (1397779729,), (1397779731,), (1397779734,), (1397779737,), (1397779740,), (1397779745,), (1397779747,), (1397779750,), (1397779756,), (1397779759,), (1397779761,), (1397779762,), (1397779763,), (1397779764,), (1397779765,), (1397779766,), (1397779768,), (1397779770,), (1397779771,), (1397779784,), (1397779785,), (1397779786,), (1397779787,), (1397779789,), (1397779790,), (1397779800,), (1397779810,), (1397779811,), (1397779813,), (1397779819,), (1397779820,), (1397779821,), (1397779822,), (1397779824,), (1397779846,), (1397779847,), (1397779860,), (1397779861,), (1397779864,), (1397779915,), (1397779920,), (1397779921,), (1397779929,), (1397779930,), (1397779931,), (1397779932,), (1397779934,), (1397779947,), (1397779948,), (1397779961,), (1397779962,), (1397779963,), (1397779979,), (1397779980,), (1397779981,), (1397779982,), (1397780041,), (1397780042,), (1397780043,), (1397780044,), (1397780047,), (1397780049,), (1397780057,), (1397780055,), (1397780056,), (1397780064,), (1397780065,), (1397780066,), (1397780067,), (1397780080,), (1397780082,), (1397780084,), (1397780087,), (1397780090,), (1397780100,), (1397780101,), (1397780102,), (1397780103,), (1397780105,), (1397780111,), (1397780112,), (1397780113,), (1397780142,), (1397780143,), (1397780144,), (1397780145,), (1397780152,), (1397780162,), (1397780164,), (1397780166,), (1397780173,), (1397780214,), (1397780215,), (1397780216,), (1397780218,), (1397780220,), (1397780222,), (1397780229,), (1397780230,), (1397780232,), (1397780234,), (1397780237,), (1397780239,), (1397780242,), (1397780243,), (1397780249,), (1397780253,), (1397780254,), (1397780256,), (1397780258,), (1397780260,), (1397780262,), (1397780278,), (1397780279,), (1397780280,), (1397780315,), (1397780316,), (1397780317,), (1397780323,), (1397780324,), (1397780325,), (1397780389,), (1397780396,), (1397780397,), (1397780398,), (1397780400,), (1397780407,), (1397780408,), (1397780409,), (1397780410,), (1397780425,), (1397780418,), (1397780419,), (1397780420,), (1397780421,), (1397780423,), (1397780448,), (1397780449,), (1397780450,), (1397780507,), (1397780508,), (1397780509,), (1397780510,), (1397780517,), (1397780518,), (1397780519,), (1397780529,), (1397780530,), (1397780531,), (1397780532,), (1397780534,), (1397780541,), (1397780542,), (1397780543,), (1397780544,), (1397780546,), (1397780558,), (1397780559,), (1397780566,), (1397780568,), (1397780570,), (1397780573,), (1397780576,), (1397780680,), (1397780681,), (1397780682,), (1397780683,), (1397780690,), (1397780691,), (1397780692,), (1397780693,), (1397780695,), (1397780704,), (1397780707,), (1397780709,), (1397780711,), (1397780713,), (1397780715,), (1397781060,), (1397781093,), (1397781106,), (1397781109,), (1397781111,), (1397781113,), (1397781174,), (1397781212,), (1397781244,), (1397781250,), (1397781251,), (1397781281,), (1397781347,), (1397781382,), (1397781415,), (1397781561,), (1397781598,), (1397781651,), (1397781321,), (1397781322,), (1397781323,), (1397781767,), (1397781800,), (1397781830,), (1397782180,), (1397782205,), (1397782207,), (1397782210,), (1397782213,), (1397782275,), (1397782339,), (1397783075,), (1397783113,), (1397783172,), (1397783226,), (1397783264,), (1397783611,), (1397783654,), (1397783686,), (1397783695,), (1397783697,), (1397783734,), (1397783772,), (1397783807,), (1397783839,), (1397784013,), (1397784014,), (1397784015,), (1397784017,), (1397784030,), (1397784054,), (1397784060,), (1397784061,), (1397784063,), (1397784065,), (1397784067,), (1397784069,), (1397784075,), (1397784076,), (1397784091,), (1397784092,), (1397785806,), (1397785773,), (1397786282,), (1397786316,), (1397786742,), (1397786906,), (1397786941,), (1397786964,), (1397787055,), (1397787061,), (1397787062,), (1397787063,), (1397787064,), (1397787078,), (1397787079,), (1397787080,), (1397787082,), (1397787084,), (1397787086,), (1397787091,), (1397787093,), (1397787094,), (1397787096,), (1397787099,), (1397787101,), (1397787104,), (1397787105,), (1397787106,), (1397787107,), (1397787108,), (1397787109,), (1397787113,), (1397787115,), (1397787117,), (1397787119,), (1397787120,), (1397787121,), (1397787122,), (1397787123,), (1397787125,), (1397787127,), (1397787129,), (1397787135,), (1397787143,), (1397787144,), (1397787146,), (1397787148,), (1397787154,), (1397787155,), (1397787156,), (1397787157,), (1397787158,), (1397787185,), (1397787186,), (1397787187,), (1397787188,), (1397787190,), (1397787196,), (1397787197,), (1397787198,), (1397787199,), (1397787201,), (1397787222,), (1397787215,), (1397787216,), (1397787217,), (1397787218,), (1397787220,), (1397787227,), (1397787228,), (1397787229,), (1397787230,), (1397787250,), (1397787251,), (1397787252,), (1397787254,), (1397787256,), (1397787258,), (1397787263,), (1397787265,), (1397787268,), (1397787273,), (1397787276,), (1397787279,), (1397787282,), (1397787283,), (1397787284,), (1397787285,), (1397787286,), (1397787287,), (1397787291,), (1397787292,), (1397787294,), (1397787296,), (1397787298,), (1397787299,), (1397787300,), (1397787301,), (1397787302,), (1397787303,), (1397787305,), (1397787307,), (1397787332,), (1397787333,), (1397787334,), (1397787335,), (1397787337,), (1397787338,), (1397787347,), (1397787349,), (1397787354,), (1397787355,), (1397787421,), (1397787427,), (1397787430,), (1397787433,), (1397787437,), (1397787439,), (1397787446,), (1397787447,), (1397787448,), (1397787449,), (1397787467,), (1397787468,), (1397787469,), (1397787470,), (1397787472,), (1397787474,), (1397787478,), (1397787479,), (1397787480,), (1397787481,), (1397787511,), (1397787512,), (1397787513,), (1397787515,), (1397787517,), (1397787519,), (1397787523,), (1397787524,), (1397787526,), (1397787528,), (1397787530,), (1397787532,), (1397787543,), (1397787546,), (1397787547,), (1397787548,), (1397787550,), (1397787551,), (1397787555,), (1397787556,), (1397787558,), (1397787560,), (1397787562,), (1397787569,), (1397787600,), (1397787602,), (1397787604,), (1397787594,), (1397787595,), (1397787626,), (1397787627,), (1397787628,), (1397787629,), (1397787631,), (1397787637,), (1397787638,), (1397787639,), (1397787640,), (1397787642,), (1397787644,), (1397787662,), (1397787670,), (1397787681,), (1397787682,), (1397787689,), (1397787691,), (1397787693,), (1397787696,), (1397787699,), (1397787702,), (1397787709,), (1397787717,), (1397787718,), (1397787719,), (1397787726,), (1397787727,), (1397787728,), (1397787729,), (1397787731,), (1397787733,), (1397787747,), (1397787748,), (1397787749,), (1397787750,), (1397787752,), (1397787758,), (1397787759,), (1397787760,), (1397787761,), (1397787782,), (1397787786,), (1397787787,), (1397787788,), (1397787790,), (1397787792,), (1397787797,), (1397787798,), (1397787799,), (1397787800,), (1397787824,), (1397787832,), (1397787835,), (1397787836,), (1397787838,), (1397787840,), (1397787844,), (1397787845,), (1397787846,), (1397787847,), (1397787849,), (1397787873,), (1397787874,), (1397787875,), (1397787876,), (1397787878,), (1397787880,), (1397787885,), (1397787887,), (1397787888,), (1397787889,), (1397787914,), (1397787909,), (1397787910,), (1397787911,), (1397787912,), (1397787920,), (1397787921,), (1397787922,), (1397787923,), (1397787947,), (1397787954,), (1397787955,), (1397787963,), (1397787964,), (1397787965,), (1397787966,), (1397787968,), (1397787974,), (1397787975,), (1397787976,), (1397787977,), (1397787997,), (1397788003,), (1397788004,), (1397788005,), (1397788007,), (1397788012,), (1397788014,), (1397788017,), (1397788019,), (1397788022,), (1397788033,), (1397788034,), (1397788035,), (1397788036,), (1397788038,), (1397788040,), (1397788044,), (1397788045,), (1397788046,), (1397788047,), (1397788058,), (1397788059,), (1397788060,), (1397788061,), (1397788063,), (1397788069,), (1397788070,), (1397788071,), (1397788072,), (1397788090,), (1397788091,), (1397788092,), (1397788093,), (1397788095,), (1397788318,), (1397788354,), (1397788387,), (1397788422,), (1397788457,), (1397788491,), (1397788639,), (1397788671,), (1397788705,), (1397788731,), (1397788747,), (1397788734,), (1397788736,), (1397788738,), (1397788740,), (1397789081,), (1397789158,), (1397789193,), (1397789226,), (1397789278,), (1397789329,), (1397789669,), (1397789703,), (1397789737,), (1397789870,), (1397789902,), (1397789924,), (1397789928,), (1397789930,), (1397789954,), (1397790002,), (1397790003,), (1397790004,), (1397790022,), (1397790023,), (1397790024,), (1397790025,), (1397790027,), (1397790029,), (1397790035,), (1397790036,), (1397790037,), (1397790038,), (1397790040,), (1397790042,), (1397790057,), (1397790058,), (1397790059,), (1397790060,), (1397790067,), (1397790068,), (1397790069,), (1397790070,), (1397790072,), (1397790074,), (1397790087,), (1397790096,), (1397790101,), (1397790102,), (1397790108,), (1397790109,), (1397790110,), (1397790112,), (1397790114,), (1397790116,), (1397790130,), (1397790131,), (1397790132,), (1397790133,), (1397790135,), (1397790137,), (1397790142,), (1397790143,), (1397790144,), (1397790145,), (1397790153,), (1397790154,), (1397790155,), (1397790156,), (1397790158,), (1397790160,), (1397790172,), (1397790174,), (1397790175,), (1397790176,), (1397790210,), (1397790194,), (1397790203,), (1397790205,), (1397790206,), (1397790208,), (1397790215,), (1397790216,), (1397790217,), (1397790218,), (1397790219,), (1397790236,), (1397790237,), (1397790238,), (1397790239,), (1397790241,), (1397790243,), (1397790251,), (1397790253,), (1397790256,), (1397790259,), (1397790262,), (1397790265,), (1397790277,), (1397790278,), (1397790279,), (1397790280,), (1397790283,), (1397790285,), (1397790288,), (1397790291,), (1397790294,), (1397790297,), (1397790298,), (1397790299,), (1397790337,), (1397790339,), (1397790346,), (1397790355,), (1397790357,), (1397790359,), (1397790371,), (1397790374,), (1397790375,), (1397790376,), (1397790402,), (1397790403,), (1397790404,), (1397790405,), (1397790407,), (1397790413,), (1397790414,), (1397790415,), (1397790416,), (1397790418,), (1397790420,), (1397790436,), (1397790440,), (1397790441,), (1397790442,), (1397790456,), (1397790457,), (1397790458,), (1397790459,), (1397790460,), (1397790461,), (1397790479,), (1397790484,), (1397790485,), (1397790486,), (1397790500,), (1397790494,), (1397790495,), (1397790496,), (1397790497,), (1397790499,), (1397790523,), (1397790524,), (1397790525,), (1397790526,), (1397790536,), (1397790542,), (1397790543,), (1397790544,), (1397790546,), (1397790548,), (1397790561,), (1397790564,), (1397790565,), (1397790566,), (1397790575,), (1397790576,), (1397790577,), (1397790578,), (1397790580,), (1397790594,), (1397790595,), (1397790596,), (1397790597,), (1397790599,), (1397790601,), (1397790612,), (1397790614,), (1397790616,), (1397790619,), (1397790641,), (1397790646,), (1397790647,), (1397790648,), (1397790650,), (1397790652,), (1397790657,), (1397790658,), (1397790659,), (1397790661,), (1397790663,), (1397790665,), (1397790677,), (1397790678,), (1397790679,), (1397790682,), (1397790689,), (1397790690,), (1397790691,), (1397790693,), (1397790695,), (1397790697,), (1397790706,), (1397790707,), (1397790708,), (1397790709,), (1397790711,), (1397790744,), (1397790745,), (1397790746,), (1397790747,), (1397790749,), (1397790751,), (1397790758,), (1397790759,), (1397790760,), (1397790761,), (1397790763,), (1397790765,), (1397790770,), (1397790771,), (1397790772,), (1397790787,), (1397790788,), (1397790790,), (1397790791,), (1397790793,), (1397790821,), (1397790816,), (1397790817,), (1397790818,), (1397790819,), (1397790827,), (1397790829,), (1397790831,), (1397790834,), (1397790841,), (1397790844,), (1397790848,), (1397790850,), (1397790858,), (1397790883,), (1397790884,), (1397790885,), (1397790886,), (1397790887,), (1397790889,), (1397790905,), (1397790907,), (1397790909,), (1397790911,), (1397790913,), (1397790916,), (1397790917,), (1397790919,), (1397790921,), (1397790923,), (1397790927,), (1397790928,), (1397790929,), (1397790930,), (1397790931,), (1397790932,), (1397790933,), (1397790934,), (1397790935,), (1397790936,), (1397790937,), (1397790938,), (1397790942,), (1397790943,), (1397790945,), (1397790981,), (1397790982,), (1397790983,), (1397790984,), (1397790986,), (1397790988,), (1397791000,), (1397791001,), (1397791002,), (1397791003,), (1397791005,), (1397791026,), (1397791027,), (1397791028,), (1397791029,), (1397791031,), (1397791037,), (1397791038,), (1397791039,), (1397791040,), (1397791047,), (1397791048,), (1397791049,), (1397791050,), (1397791282,), (1397791316,), (1397791483,), (1397791478,), (1397791927,), (1397791959,), (1397791992,), (1397792408,), (1397792441,), (1397792552,), (1397792585,), (1397792617,), (1397792650,), (1397792856,), (1397792857,), (1397792858,), (1397792859,), (1397792861,), (1397792862,), (1397792868,), (1397792869,), (1397792870,), (1397792871,), (1397792873,), (1397792882,), (1397792883,), (1397792884,), (1397792885,), (1397792944,), (1397792945,), (1397792946,), (1397793314,), (1397793315,), (1397793480,), (1397793479,), (1397793502,), (1397793509,), (1397793533,), (1397793534,), (1397793535,), (1397793536,), (1397793538,), (1397793540,), (1397793545,), (1397793546,), (1397793547,), (1397793548,), (1397793550,), (1397793564,), (1397793565,), (1397793572,), (1397793574,), (1397793659,), (1397793658,), (1397793666,), (1397793667,), (1397793668,), (1397793669,), (1397793686,), (1397793711,), (1397793776,), (1397793774,), (1397793775,), (1397793783,), (1397793784,), (1397793785,), (1397793786,), (1397793793,), (1397793794,), (1397793795,), (1397793796,), (1397793810,), (1397793811,), (1397793812,), (1397793813,), (1397793815,), (1397793817,), (1397793822,), (1397793823,), (1397793824,), (1397793845,), (1397793846,), (1397793847,), (1397793848,), (1397793850,), (1397793851,), (1397793857,), (1397793858,), (1397793859,), (1397793860,), (1397793861,), (1397793863,), (1397793882,), (1397793890,), (1397793891,), (1397793892,), (1397793899,), (1397793900,), (1397793901,), (1397793902,), (1397793904,), (1397793919,), (1397793920,), (1397793921,), (1397793922,), (1397793924,), (1397793930,), (1397793931,), (1397793932,), (1397793934,), (1397793955,), (1397793956,), (1397793957,), (1397793958,), (1397793960,), (1397793962,), (1397793976,), (1397793979,), (1397793981,), (1397793983,), (1397793985,), (1397793987,), (1397793991,), (1397793992,), (1397793993,), (1397793994,), (1397793995,), (1397794006,), (1397794007,), (1397794009,), (1397794011,), (1397794013,), (1397794015,), (1397793998,), (1397794000,), (1397794002,), (1397794004,), (1397794029,), (1397794030,), (1397794032,), (1397794034,), (1397794164,), (1397794194,), (1397794231,), (1397794260,), (1397794291,), (1397794329,), (1397794756,), (1397794825,), (1397794884,), (1397794946,), (1397795008,), (1397795501,), (1397795502,), (1397795503,), (1397795504,), (1397795778,), (1397795809,), (1397795861,), (1397795905,), (1397795938,), (1397796126,), (1397796157,), (1397796189,), (1397796228,), (1397796544,), (1397796577,), (1397796607,), (1397796642,), (1397796675,), (1397796987,), (1397796988,), (1397797009,), (1397797010,), (1397797011,), (1397797012,), (1397797072,), (1397797105,), (1397797140,), (1397797225,), (1397797280,), (1397797330,), (1397797363,), (1397797424,), (1397797460,), (1397797466,), (1397797468,), (1397797470,), (1397797597,), (1397797631,), (1397797662,), (1397797697,), (1397797729,), (1397797762,), (1397798077,), (1397798111,), (1397798150,), (1397798179,), (1397798547,), (1397798548,), (1397798549,), (1397798559,), (1397798569,), (1397798576,), (1397798748,), (1397798749,), (1397798777,), (1397798799,), (1397798802,), (1397798870,), (1397798865,), (1397798866,), (1397798867,), (1397798868,), (1397798876,), (1397798877,), (1397798878,), (1397798879,), (1397798881,), (1397798925,), (1397798926,), (1397798927,), (1397798928,), (1397798936,), (1397798940,), (1397798973,), (1397799005,), (1397799040,), (1397799075,), (1397799216,), (1397799217,), (1397799228,), (1397799252,), (1397799329,), (1397799331,), (1397799333,), (1397799336,), (1397799339,), (1397799342,), (1397799350,), (1397799351,), (1397799352,), (1397799353,), (1397799355,), (1397799361,), (1397799362,), (1397799363,), (1397799364,), (1397799378,), (1397799379,), (1397799380,), (1397799381,), (1397799383,), (1397799385,), (1397799390,), (1397799391,), (1397799392,), (1397799394,), (1397799396,), (1397799408,), (1397799409,), (1397799410,), (1397799411,), (1397799413,), (1397799415,), (1397799431,), (1397799437,), (1397799438,), (1397799453,), (1397799454,), (1397799455,), (1397799456,), (1397799458,), (1397799459,), (1397799465,), (1397799466,), (1397799467,), (1397799469,), (1397799471,), (1397799473,), (1397799479,), (1397799480,), (1397799481,), (1397799489,), (1397799491,), (1397799493,), (1397799495,), (1397799497,), (1397799499,), (1397799501,), (1397799504,), (1397799522,), (1397799515,), (1397799516,), (1397799517,), (1397799518,), (1397799520,), (1397799554,), (1397799555,), (1397799556,), (1397799557,), (1397799564,), (1397799565,), (1397799566,), (1397799567,), (1397799569,), (1397799589,), (1397799590,), (1397799591,), (1397799592,), (1397799594,), (1397799596,), (1397799619,), (1397799620,), (1397799623,), (1397799628,), (1397800762,), (1397800843,), (1397800845,), (1397801109,), (1397801078,), (1397801084,), (1397801085,), (1397801086,), (1397801089,), (1397801252,), (1397801258,), (1397801287,), (1397801288,), (1397801332,), (1397801341,), (1397801342,), (1397801364,), (1397801396,), (1397801680,), (1397801713,), (1397801743,), (1397801778,), (1397801795,), (1397801798,), (1397801814,), (1397801815,), (1397801816,), (1397801817,), (1397801824,), (1397801828,), (1397801829,), (1397801831,), (1397801833,), (1397801836,), (1397801837,), (1397801838,), (1397801839,), (1397801841,), (1397801843,), (1397801865,), (1397801878,), (1397801882,), (1397801886,), (1397801890,), (1397801894,), (1397801898,), (1397801902,), (1397801906,), (1397802030,), (1397802044,), (1397802052,), (1397802058,), (1397802067,), (1397802078,), (1397802104,), (1397802105,), (1397802106,), (1397802107,), (1397802138,), (1397802139,), (1397802140,), (1397802141,), (1397802144,), (1397802145,), (1397802162,), (1397802163,), (1397802165,), (1397802167,), (1397802191,), (1397802194,), (1397802197,), (1397802200,), (1397802344,), (1397802356,), (1397802360,), (1397802381,), (1397803372,), (1397803389,), (1397803390,), (1397803392,), (1397803394,), (1397803396,), (1397803413,), (1397803415,), (1397803417,), (1397803439,), (1397803440,), (1397803441,), (1397803442,), (1397803469,), (1397803470,), (1397803472,), (1397803474,), (1397803477,), (1397803480,), (1397803519,), (1397803520,), (1397803521,), (1397803522,), (1397803542,), (1397803544,), (1397803546,), (1397803548,), (1397803551,), (1397803554,), (1397803583,), (1397803591,), (1397803596,), (1397803602,), (1397803661,), (1397803689,), (1397803691,), (1397803693,), (1397803695,), (1397803728,), (1397803735,), (1397803766,), (1397803767,), (1397803768,), (1397803769,), (1397803874,), (1397803875,), (1397803877,), (1397803899,), (1397803900,), (1397803941,), (1397803943,), (1397803945,), (1397803947,), (1397803998,), (1397804000,), (1397804002,), (1397804003,), (1397804005,), (1397804232,), (1397804195,), (1397804226,), (1397804228,), (1397804229,), (1397804329,), (1397804339,), (1397804370,), (1397804393,), (1397804396,), (1397804417,), (1397804419,), (1397804421,), (1397804423,), (1397804545,), (1397804578,), (1397804610,), (1397804641,), (1397804674,), (1397804711,), (1397804781,), (1397804782,), (1397804783,), (1397804784,), (1397804786,), (1397804788,), (1397804805,), (1397804806,), (1397804808,), (1397804846,), (1397804848,), (1397804850,), (1397804852,), (1397804854,), (1397804878,), (1397804880,), (1397804881,), (1397804918,), (1397804919,), (1397804920,), (1397804921,), (1397804923,), (1397804926,), (1397804943,), (1397804945,), (1397804947,), (1397804949,), (1397804952,), (1397804974,), (1397804977,), (1397804981,), (1397804982,), (1397804984,), (1397805051,), (1397805053,), (1397805055,), (1397805057,), (1397805060,), (1397805083,), (1397805084,), (1397805085,), (1397805086,), (1397805089,), (1397805114,), (1397805115,), (1397805119,), (1397805124,), (1397805128,), (1397805131,), (1397805265,), (1397805296,), (1397805327,), (1397805361,), (1397805649,), (1397805500,), (1397805542,), (1397805576,), (1397805613,), (1397805766,), (1397805769,), (1397805796,), (1397805860,), (1397806447,), (1397806480,), (1397806515,), (1397806550,), (1397806859,), (1397806860,), (1397806875,), (1397806907,), (1397806940,), (1397806972,), (1397807401,), (1397807464,), (1397807525,), (1397807592,), (1397807838,), (1397807861,), (1397807896,), (1397807939,), (1397807984,), (1397808037,), (1397808239,), (1397808246,), (1397808269,), (1397808276,), (1397808434,), (1397808466,), (1397808503,), (1397808539,), (1397808571,), (1397808620,), (1397809294,), (1397809330,), (1397809363,), (1397809378,), (1397809382,), (1397809387,), (1397809400,), (1397809402,), (1397809404,), (1397809405,), (1397809472,), (1397809529,), (1397809567,), (1397809601,), (1397809638,), (1397809928,), (1397810032,), (1397810131,), (1397810224,), (1397810300,), (1397810731,), (1397810733,), (1397810736,), (1397810739,), (1397810968,), (1397810972,), (1397811010,), (1397811018,), (1397811022,), (1397811244,), (1397811277,), (1397811321,), (1397811366,), (1397811406,), (1397811812,), (1397811846,), (1397811875,), (1397811878,), (1397811884,), (1397812085,), (1397812026,), (1397812059,), (1397812080,), (1397812082,), (1397812249,), (1397812252,), (1397812255,), (1397812259,), (1397812264,), (1397812371,), (1397812373,), (1397812377,), (1397812382,), (1397812386,), (1397812412,), (1397812413,), (1397812416,), (1397812420,), (1397812425,), (1397812430,), (1397812453,), (1397812460,), (1397812471,), (1397812474,), (1397812507,), (1397812847,), (1397812848,), (1397812851,), (1397812854,), (1397812858,), (1397812881,), (1397812888,), (1397812894,), (1397812897,), (1397812901,), (1397812927,), (1397812934,), (1397812958,), (1397812960,), (1397813879,), (1397813881,), (1397813884,), (1397813909,), (1397813911,), (1397813912,), (1397813913,), (1397814196,), (1397814198,), (1397814215,), (1397814232,), (1397814250,), (1397814286,), (1397814282,), (1397814284,), (1397814315,), (1397814317,), (1397814318,), (1397814342,), (1397814369,), (1397814371,), (1397815955,), (1397843501,), (1397845876,), (1397846719,), (1397846757,), (1397846771,), (1397846960,), (1397846998,), (1397847034,), (1397847069,), (1397847265,), (1397847272,), (1397847361,), (1397847363,), (1397847365,), (1397847367,), (1397848016,), (1397848105,), (1397848106,), (1397848149,), (1397848205,), (1397848303,), (1397848621,), (1397848624,), (1397848627,), (1397848629,), (1397848660,), (1397848663,), (1397848666,), (1397848668,), (1397848671,), (1397848673,), (1397848698,), (1397848700,), (1397848701,), (1397848707,), (1397848739,), (1397848843,), (1397848859,), (1397848862,), (1397848893,), (1397848955,), (1397849201,), (1397849203,), (1397849205,), (1397849207,), (1397849210,), (1397849213,), (1397849230,), (1397849232,), (1397849233,), (1397849234,), (1397849237,), (1397849264,), (1397849261,), (1397849262,), (1397849289,), (1397849297,), (1397849381,), (1397849417,), (1397849577,), (1397849609,), (1397849642,), (1397849675,), (1397849813,), (1397850273,), (1397850274,), (1397850276,), (1397850295,), (1397850297,), (1397850299,), (1397850330,), (1397850332,), (1397850335,), (1397850337,), (1397850367,), (1397850354,), (1397850361,), (1397850363,), (1397850390,), (1397850391,), (1397850392,), (1397850393,), (1397850396,), (1397850399,), (1397850415,), (1397850417,), (1397850419,), (1397850421,), (1397850424,), (1397850438,), (1397850440,), (1397850442,), (1397850491,), (1397850492,), (1397850493,), (1397850494,), (1397850497,), (1397850521,), (1397850523,), (1397850525,), (1397850527,), (1397850530,), (1397850532,), (1397850556,), (1397850580,), (1397850582,), (1397850699,), (1397850700,), (1397850717,), (1397850723,), (1397850726,), (1397850729,), (1397850991,), (1397850994,), (1397850998,), (1397851002,), (1397851006,), (1397851010,), (1397851027,), (1397851032,), (1397851034,), (1397851036,), (1397851038,), (1397851040,), (1397851043,), (1397851047,), (1397851051,), (1397851056,), (1397851118,), (1397851150,), (1397851185,), (1397851226,), (1397851266,), (1397851490,), (1397851492,), (1397851493,), (1397851495,), (1397851503,), (1397851645,), (1397851646,), (1397851647,), (1397851648,), (1397851715,), (1397851718,), (1397851721,), (1397851723,), (1397851727,), (1397851891,), (1397851914,), (1397851919,), (1397851924,), (1397851936,), (1397852109,), (1397852041,), (1397852086,), (1397852197,), (1397852199,), (1397852200,), (1397852207,), (1397852214,), (1397852244,), (1397852266,), (1397852285,), (1397852286,), (1397852288,), (1397852290,), (1397852350,), (1397852352,), (1397852354,), (1397852356,), (1397852359,), (1397852362,), (1397852377,), (1397852379,), (1397852382,), (1397852383,), (1397852385,), (1397852386,), (1397852391,), (1397852392,), (1397852395,), (1397852399,), (1397852425,), (1397852426,), (1397852427,), (1397852428,), (1397852462,), (1397852463,), (1397852465,), (1397852467,), (1397852506,), (1397852507,), (1397852616,), (1397852618,), (1397852639,), (1397852670,), (1397852703,), (1397852850,), (1397852868,), (1397852878,), (1397852879,), (1397852974,), (1397852976,), (1397852978,), (1397852980,), (1397853048,), (1397853071,), (1397853076,), (1397853086,), (1397853109,), (1397853178,), (1397853214,), (1397853347,), (1397855848,), (1397855813,), (1397856226,), (1397856237,), (1397856238,), (1397856267,), (1397856273,), (1397856301,), (1397856304,), (1397856306,), (1397856311,), (1397856399,), (1397856436,), (1397856437,), (1397856439,), (1397856441,), (1397856443,), (1397856462,), (1397856463,), (1397856465,), (1397856468,), (1397856471,), (1397856474,), (1397856494,), (1397856697,), (1397856692,), (1397856693,), (1397856694,), (1397856695,), (1397856715,), (1397856716,), (1397856717,), (1397856719,), (1397856745,), (1397856747,), (1397856751,), (1397856754,), (1397856778,), (1397856780,), (1397856781,), (1397856783,), (1397856786,), (1397856807,), (1397856809,), (1397856811,), (1397856813,), (1397856870,), (1397856871,), (1397856873,), (1397856875,), (1397856878,), (1397856881,), (1397856912,), (1397856913,), (1397856914,), (1397856915,), (1397856918,), (1397856938,), (1397856941,), (1397856943,), (1397856947,), (1397856964,), (1397856966,), (1397856968,), (1397856970,), (1397856973,), (1397856998,), (1397856999,), (1397857000,), (1397857001,), (1397857003,), (1397857041,), (1397857042,), (1397857044,), (1397857046,), (1397857048,), (1397857064,), (1397857066,), (1397857068,), (1397857070,), (1397857103,), (1397857104,), (1397857105,), (1397857154,), (1397857158,), (1397857160,), (1397857162,), (1397857165,), (1397857194,), (1397857195,), (1397857197,), (1397857198,), (1397857201,), (1397857238,), (1397857228,), (1397857230,), (1397857233,), (1397857235,), (1397857258,), (1397857260,), (1397857262,), (1397857264,), (1397857280,), (1397857282,), (1397857347,), (1397857419,), (1397857425,), (1397857429,), (1397857526,), (1397857527,), (1397857544,), (1397857618,), (1397857673,), (1397857676,), (1397857709,), (1397857780,), (1397857781,), (1397857784,), (1397857787,), (1397857790,), (1397857810,), (1397857812,), (1397857814,), (1397857816,), (1397857852,), (1397857895,), (1397857897,), (1397857899,), (1397857921,), (1397857922,), (1397857923,), (1397857924,), (1397857927,), (1397857931,), (1397857959,), (1397857961,), (1397857963,), (1397857965,), (1397857968,), (1397857971,), (1397857985,), (1397857987,), (1397857989,), (1397858036,), (1397858039,), (1397858040,), (1397858041,), (1397858043,), (1397858045,), (1397858063,), (1397858064,), (1397858066,), (1397858068,), (1397858071,), (1397858092,), (1397858094,), (1397858096,), (1397858259,), (1397858296,), (1397858332,), (1397858369,), (1397858407,), (1397858444,), (1397858836,), (1397858800,), (1397858832,), (1397859030,), (1397859041,), (1397859044,), (1397859279,), (1397859796,), (1397860267,), (1397860680,), (1397860682,), (1397860690,), (1397860724,), (1397860874,), (1397860876,), (1397860894,), (1397860900,), (1397860902,), (1397860904,), (1397860918,), (1397861080,), (1397861126,), (1397861149,), (1397861152,), (1397861156,), (1397861172,), (1397861173,), (1397861178,), (1397861265,), (1397861266,), (1397861290,), (1397861291,), (1397861293,), (1397861318,), (1397861319,), (1397861320,), (1397861321,), (1397861343,), (1397861345,), (1397861347,), (1397861349,), (1397861392,), (1397861380,), (1397861382,), (1397861384,), (1397861386,), (1397861389,), (1397861409,), (1397861410,), (1397861411,), (1397861412,), (1397861415,), (1397861418,), (1397861438,), (1397861440,), (1397861442,), (1397861444,), (1397861471,), (1397861473,), (1397861475,), (1397861476,), (1397861478,), (1397861484,), (1397861497,), (1397861517,), (1397861529,), (1397861542,), (1397861544,), (1397861546,), (1397861549,), (1397861552,), (1397861555,), (1397861733,), (1397861767,), (1397861799,), (1397861832,), (1397861921,), (1397861923,), (1397861925,), (1397861927,), (1397861948,), (1397861949,), (1397861950,), (1397861951,), (1397861981,), (1397862103,), (1397862104,), (1397862105,), (1397862106,), (1397862128,), (1397862131,), (1397862134,), (1397862138,), (1397862145,), (1397862150,), (1397862168,), (1397862171,), (1397862172,), (1397862174,), (1397862177,), (1397862215,), (1397862203,), (1397862205,), (1397862207,), (1397862209,), (1397862212,), (1397862240,), (1397862242,), (1397862244,), (1397862246,), (1397862268,), (1397862270,), (1397862271,), (1397862273,), (1397862276,), (1397862302,), (1397862303,), (1397862304,), (1397862305,), (1397862308,), (1397862311,), (1397862327,), (1397862329,), (1397862331,), (1397862342,), (1397862395,), (1397862397,), (1397862399,), (1397862416,), (1397862425,), (1397862431,), (1397862432,), (1397862434,), (1397862458,), (1397862507,), (1397862537,), (1397862567,), (1397862601,), (1397862740,), (1397862741,), (1397862742,), (1397862743,), (1397862745,), (1397862747,), (1397862767,), (1397862768,), (1397862770,), (1397862772,), (1397862775,), (1397862792,), (1397862795,), (1397862797,), (1397862798,), (1397862801,), (1397862804,), (1397862832,), (1397862834,), (1397862835,), (1397862837,), (1397862862,), (1397862864,), (1397862866,), (1397862868,), (1397862871,), (1397862874,), (1397862907,), (1397862911,), (1397862912,), (1397862913,), (1397862916,), (1397862918,), (1397862952,), (1397862959,), (1397862962,), (1397862965,), (1397863039,), (1397863036,), (1397863037,), (1397863038,), (1397863059,), (1397863061,), (1397863063,), (1397863065,), (1397863068,), (1397863086,), (1397863088,), (1397863089,), (1397863092,), (1397863113,), (1397863116,), (1397863119,), (1397863125,), (1397863133,), (1397863136,), (1397863141,), (1397863149,), (1397863151,), (1397863156,), (1397863159,), (1397863162,), (1397863165,), (1397863168,), (1397863171,), (1397863184,), (1397863186,), (1397863203,), (1397863204,), (1397863205,), (1397863206,), (1397863209,), (1397863212,), (1397863244,), (1397863256,), (1397863261,), (1397863264,), (1397863268,), (1397863271,), (1397863300,), (1397863302,), (1397863355,), (1397863356,), (1397863358,), (1397863360,), (1397863363,), (1397863366,), (1397863396,), (1397863399,), (1397863402,), (1397863405,), (1397863409,), (1397863442,), (1397863450,), (1397863451,), (1397863475,), (1397863480,), (1397863485,), (1397863499,), (1397863504,), (1397863508,), (1397863514,), (1397863515,), (1397863521,), (1397863524,), (1397863527,), (1397863546,), (1397863540,), (1397863543,), (1397863571,), (1397863579,), (1397863581,), (1397863583,), (1397863585,), (1397863587,), (1397863861,), (1397863896,), (1397863929,), (1397863961,), (1397863999,), (1397864037,), (1397864412,), (1397864450,), (1397864490,), (1397864527,), (1397864620,), (1397864622,), (1397864623,), (1397864624,), (1397864626,), (1397865137,), (1397865200,), (1397865265,), (1397865311,), (1397865351,), (1397865393,), (1397865847,), (1397865920,), (1397865954,), (1397866006,), (1397866087,), (1397866093,), (1397866095,), (1397866097,), (1397866100,), (1397866103,), (1397866710,), (1397866739,), (1397866769,), (1397866803,), (1397866842,), (1397866913,), (1397867119,), (1397867172,), (1397867212,), (1397867418,), (1397867452,), (1397867484,), (1397867542,), (1397867550,), (1397867551,), (1397867552,), (1397868058,), (1397868097,), (1397868129,), (1397868162,), (1397868204,), (1397868242,), (1397868741,), (1397868775,), (1397868832,), (1397869319,), (1397869356,), (1397869391,), (1397869422,), (1397869455,), (1397869488,), (1397869800,), (1397869802,), (1397869806,), (1397869809,), (1397870052,), (1397869890,), (1397869923,), (1397869961,), (1397869990,), (1397870023,), (1397870269,), (1397870304,), (1397870329,), (1397870330,), (1397870569,), (1397870581,), (1397870582,), (1397870589,), (1397870600,), (1397870607,), (1397870728,), (1397870752,), (1397870788,), (1397870823,), (1397870828,), (1397870832,), (1397870850,), (1397870852,), (1397870853,), (1397870854,), (1397870861,), (1397870865,), (1397870879,), (1397870887,), (1397870921,), (1397870923,), (1397870925,), (1397870927,), (1397870929,), (1397870932,), (1397870979,), (1397870980,), (1397870981,), (1397870982,), (1397871009,), (1397871010,), (1397871013,), (1397871017,), (1397871022,), (1397871027,), (1397871079,), (1397871083,), (1397871087,), (1397871089,), (1397871092,), (1397871124,), (1397871126,), (1397871128,), (1397871130,), (1397871133,), (1397871167,), (1397871168,), (1397871169,), (1397871170,), (1397871173,), (1397871176,), (1397871196,), (1397871198,), (1397871200,), (1397871255,), (1397871258,), (1397871259,), (1397871317,), (1397871338,), (1397871342,), (1397871344,), (1397871347,), (1397871349,), (1397873539,), (1397874291,), (1397874614,), (1397874625,), (1397874658,), (1397874695,), (1397874698,), (1397874701,), (1397874724,), (1397874726,), (1397874727,), (1397874751,), (1397874752,), (1397874754,), (1397874755,), (1397874759,), (1397874761,), (1397874788,), (1397874790,), (1397874792,), (1397874818,), (1397874820,), (1397874821,), (1397874822,), (1397874825,), (1397874828,), (1397874854,), (1397874856,), (1397874858,), (1397874860,), (1397874880,), (1397874881,), (1397874882,), (1397874883,), (1397874886,), (1397874910,), (1397874912,), (1397874914,), (1397874916,), (1397874946,), (1397874948,), (1397874949,), (1397874950,), (1397874962,), (1397874995,), (1397875102,), (1397875127,), (1397875129,), (1397875131,), (1397875152,), (1397875154,), (1397875156,), (1397875161,), (1397875166,), (1397875170,), (1397875211,), (1397875200,), (1397875201,), (1397875203,), (1397875205,), (1397875208,), (1397875227,), (1397875229,), (1397875230,), (1397875267,), (1397875268,), (1397875270,), (1397875272,), (1397875275,), (1397875301,), (1397875303,), (1397875305,), (1397875307,), (1397875310,), (1397875312,), (1397875326,), (1397875329,), (1397875332,), (1397875334,), (1397875350,), (1397875352,), (1397875354,), (1397875357,), (1397875518,), (1397875550,), (1397875583,), (1397875616,), (1397875651,), (1397876008,), (1397876041,), (1397876072,), (1397876104,), (1397876137,), (1397876170,), (1397876389,), (1397876391,), (1397876393,), (1397876396,), (1397876476,), (1397876509,), (1397876543,), (1397876802,), (1397876833,), (1397876865,), (1397876867,), (1397876870,), (1397876973,), (1397876974,), (1397876975,), (1397876976,), (1397876979,), (1397876997,), (1397876999,), (1397877001,), (1397877003,), (1397877030,), (1397877031,), (1397877033,), (1397877035,), (1397877038,), (1397877055,), (1397877058,), (1397877061,), (1397877065,), (1397877068,), (1397877071,), (1397877088,), (1397877090,), (1397877096,), (1397877097,), (1397877098,), (1397877102,), (1397877104,), (1397877124,), (1397877120,), (1397877122,), (1397877165,), (1397877167,), (1397877168,), (1397877192,), (1397877193,), (1397877226,), (1397877228,), (1397877230,), (1397877232,), (1397877247,), (1397877248,), (1397877249,), (1397877270,), (1397877272,), (1397877274,), (1397877276,), (1397877279,), (1397877294,), (1397877297,), (1397877300,), (1397877304,), (1397877307,), (1397877310,), (1397877319,), (1397877321,), (1397877322,), (1397877324,), (1397877325,), (1397877333,), (1397877336,), (1397877342,), (1397877351,), (1397877355,), (1397877383,), (1397877388,), (1397877401,), (1397877405,), (1397877411,), (1397877422,), (1397877440,), (1397877442,), (1397877444,), (1397877446,), (1397877452,), (1397877453,), (1397877456,), (1397877457,), (1397877460,), (1397877462,), (1397877465,), (1397877467,), (1397877470,), (1397877471,), (1397877477,), (1397877479,), (1397877480,), (1397877554,), (1397877576,), (1397877615,), (1397877654,), (1397877689,), (1397877704,), (1397877841,), (1397877877,), (1397877891,), (1397877893,), (1397878014,), (1397878021,), (1397878023,), (1397878025,), (1397878041,), (1397878106,), (1397878306,), (1397878350,), (1397878353,), (1397878358,), (1397878384,), (1397878395,), (1397878539,), (1397878537,), (1397878683,), (1397878684,), (1397878685,), (1397878686,), (1397878714,), (1397878715,), (1397878716,), (1397878717,), (1397878719,), (1397878722,), (1397878739,), (1397878741,), (1397878742,), (1397878745,), (1397878748,), (1397878751,), (1397878758,), (1397878771,), (1397878783,), (1397878789,), (1397878791,), (1397878797,), (1397878800,), (1397878803,), (1397878805,), (1397878807,), (1397878820,), (1397878822,), (1397878823,), (1397878824,), (1397878827,), (1397878829,), (1397878856,), (1397878858,), (1397878860,), (1397878862,), (1397878883,), (1397878885,), (1397878887,), (1397878892,), (1397878895,), (1397878914,), (1397878916,), (1397878918,), (1397878920,), (1397878941,), (1397878942,), (1397878943,), (1397878945,), (1397878996,), (1397878997,), (1397878999,), (1397879000,), (1397879003,), (1397879020,), (1397879022,), (1397879024,), (1397879026,), (1397879029,), (1397879054,), (1397879055,), (1397879056,), (1397879079,), (1397879083,), (1397879087,), (1397879091,), (1397879095,), (1397879099,), (1397879290,), (1397879215,), (1397879254,), (1397881709,), (1397881771,), (1397881838,), (1397881901,), (1397881994,), (1397882502,), (1397882539,), (1397882569,), (1397882598,), (1397883064,), (1397883289,), (1397883349,), (1397883418,), (1397883481,), (1397884043,), (1397884090,), (1397884124,), (1397884154,), (1397884179,), (1397884378,), (1397884450,), (1397884851,), (1397884856,), (1397884857,), (1397884884,), (1397884918,), (1397885249,), (1397885252,), (1397885255,), (1397885259,), (1397885503,), (1397885536,), (1397885583,), (1397885628,), (1397885668,), (1397886028,), (1397886062,), (1397886097,), (1397886686,), (1397886688,), (1397886690,), (1397886691,), (1397886714,), (1397887016,), (1397886841,), (1397886879,), (1397886909,), (1397886941,), (1397886977,), (1397887180,), (1397887217,), (1397887252,), (1397887372,), (1397887373,), (1397887374,), (1397887375,), (1397887399,), (1397887667,), (1397887668,), (1397887670,), (1397887673,), (1397887676,), (1397887678,), (1397887687,), (1397887690,), (1397887693,), (1397887696,), (1397887699,), (1397887703,), (1397887736,), (1397887772,), (1397887811,), (1397888126,), (1397888162,), (1397888198,), (1397888236,), (1397888628,), (1397888650,), (1397888657,), (1397888658,), (1397888660,), (1397888663,), (1397888681,), (1397888682,), (1397888684,), (1397888686,), (1397888689,), (1397889213,), (1397889258,), (1397889296,), (1397889331,), (1397889377,), (1397889412,), (1397889893,), (1397889928,), (1397889960,), (1397890149,), (1397890155,), (1397890172,), (1397890177,), (1397890180,), (1397890450,), (1397890484,), (1397890493,), (1397890494,), (1397890898,), (1397890931,), (1397890948,), (1397890950,), (1397891077,), (1397891078,), (1397891079,), (1397891081,), (1397891083,), (1397891087,), (1397891095,), (1397891104,), (1397891105,), (1397891108,), (1397891110,), (1397891112,), (1397891158,), (1397891152,), (1397891154,), (1397891156,), (1397891196,), (1397891198,), (1397891200,), (1397891203,), (1397891206,), (1397891218,), (1397891284,), (1397891286,), (1397891287,), (1397891288,), (1397891308,), (1397891311,), (1397891315,), (1397891318,), (1397891322,), (1397891356,), (1397891358,), (1397891360,), (1397891398,), (1397891399,), (1397891400,), (1397891401,), (1397891460,), (1397891461,), (1397891463,), (1397891465,), (1397891496,), (1397891629,), (1397891630,), (1397891631,), (1397891634,), (1397891635,), (1397891638,), (1397891656,), (1397891659,), (1397891662,), (1397891664,), (1397891667,), (1397891683,), (1397891696,), (1397891705,), (1397891741,), (1397891742,), (1397891743,), (1397891744,), (1397891774,), (1397891780,), (1397891782,), (1397891784,), (1397891787,), (1397891811,), (1397891812,), (1397891813,), (1397891814,), (1397891816,), (1397891818,), (1397891843,), (1397891848,), (1397891849,), (1397891850,), (1397891853,), (1397892280,), (1397892275,), (1397892276,), (1397892278,), (1397892308,), (1397892310,), (1397892311,), (1397892312,), (1397892315,), (1397892334,), (1397892337,), (1397892368,), (1397892370,), (1397892371,), (1397892372,), (1397892375,), (1397892393,), (1397892395,), (1397892397,), (1397892399,), (1397892402,), (1397892423,), (1397892424,), (1397892425,), (1397892426,), (1397892429,), (1397892464,), (1397892465,), (1397892467,), (1397892469,), (1397892494,), (1397892496,), (1397892498,), (1397892500,), (1397892503,), (1397892506,), (1397892522,), (1397892524,), (1397892525,), (1397892526,), (1397892529,), (1397892530,), (1397892553,), (1397892555,), (1397892557,), (1397892900,), (1397892937,), (1397892949,), (1397892954,), (1397893166,), (1397893174,), (1397893205,), (1397893291,), (1397893326,), (1397893120,), (1397893155,), (1397893164,), (1397893528,), (1397893592,), (1397893651,), (1397893714,), (1397894479,), (1397894554,), (1397894620,), (1397894680,), (1397895100,), (1397895101,), (1397895102,), (1397895103,), (1397895106,), (1397895109,), (1397895357,), (1397895368,), (1397895401,), (1397895838,), (1397895875,), (1397895907,), (1397895917,), (1397895920,), (1397895922,), (1397896055,), (1397896058,), (1397896061,), (1397896065,), (1397896068,), (1397896084,), (1397896086,), (1397896091,), (1397896132,), (1397896134,), (1397896135,), (1397896193,), (1397896196,), (1397896199,), (1397896201,), (1397896204,), (1397896211,), (1397896227,), (1397896230,), (1397896234,), (1397896241,), (1397896246,), (1397896460,), (1397896469,), (1397896601,), (1397896603,), (1397896606,), (1397896609,), (1397896613,), (1397896641,), (1397896643,), (1397896645,), (1397896647,), (1397896650,), (1397896653,), (1397896678,), (1397896680,), (1397896681,), (1397896724,), (1397896712,), (1397896714,), (1397896716,), (1397896718,), (1397896721,), (1397896761,), (1397896777,), (1397896778,), (1397896937,), (1397896938,), (1397896940,), (1397896942,), (1397896945,), (1397896947,), (1397897114,), (1397897115,), (1397897116,), (1397897119,), (1397897126,), (1397897164,), (1397897184,), (1397897185,), (1397897187,), (1397897189,), (1397897191,), (1397897196,), (1397897198,), (1397897201,), (1397897204,), (1397897206,), (1397897208,), (1397897293,), (1397897325,), (1397897355,), (1397897387,), (1397897574,), (1397897576,), (1397897578,), (1397897580,), (1397897583,), (1397897586,), (1397897603,), (1397897604,), (1397897605,), (1397897606,), (1397897609,), (1397897612,), (1397897645,), (1397897646,), (1397897648,), (1397897669,), (1397897671,), (1397897672,), (1397897673,), (1397897675,), (1397897676,), (1397897705,), (1397897706,), (1397897708,), (1397897710,), (1397897712,), (1397897729,), (1397897731,), (1397897733,), (1397897764,), (1397897765,), (1397897766,), (1397897767,), (1397897770,), (1397897773,), (1397897789,), (1397897791,), (1397897793,), (1397897826,), (1397897892,), (1397903597,), (1397905005,), (1397906741,), (1397906785,), (1397906819,), (1397906981,), (1397906994,), (1397907024,), (1397907164,), (1397907166,), (1397907167,), (1397907717,), (1397907718,), (1397907720,), (1397907726,), (1397907760,), (1397907798,), (1397907918,), (1397907930,), (1397907932,), (1397907934,), (1397908045,), (1397908077,), (1397908112,), (1397908144,), (1397908178,), (1397908212,), (1397908438,), (1397908440,), (1397908442,), (1397908444,), (1397908660,), (1397908692,), (1397908715,), (1397908745,), (1397908780,), (1397909186,), (1397909168,), (1397909182,), (1397909184,), (1397909486,), (1397909492,), (1397909526,), (1397909560,), (1397909594,), (1397909636,), (1397909642,), (1397909643,), (1397909644,), (1397909647,), (1397909676,), (1397909678,), (1397909682,), (1397909686,), (1397909689,), (1397909693,), (1397909706,), (1397909709,), (1397909721,), (1397909722,), (1397909723,), (1397910162,), (1397910897,), (1397911249,), (1397911577,), (1397912056,), (1397912087,), (1397912110,), (1397912507,), (1397912512,), (1397912513,), (1397912515,), (1397912518,), (1397912711,), (1397912742,), (1397912776,), (1397912830,), (1397912865,), (1397912901,), (1397913101,), (1397913129,), (1397913162,), (1397913182,), (1397913185,), (1397913414,), (1397913457,), (1397913484,), (1397913493,), (1397913513,), (1397913527,), (1397913581,), (1397913583,), (1397913586,), (1397913605,), (1397913607,), (1397913610,), (1397913614,), (1397913616,), (1397913618,), (1397913631,), (1397913628,), (1397913629,), (1397913863,), (1397913966,), (1397913972,), (1397914028,), (1397914030,), (1397914054,), (1397914150,), (1397914153,), (1397914155,), (1397914157,), (1397914160,), (1397914190,), (1397914192,), (1397914193,), (1397914194,), (1397914292,), (1397914306,), (1397914330,), (1397914414,), (1397914416,), (1397914417,), (1397914418,), (1397914420,), (1397914422,), (1397914643,), (1397914648,), (1397914651,), (1397914680,), (1397914682,), (1397914684,), (1397914686,), (1397914689,), (1397914692,), (1397914708,), (1397914709,), (1397914710,), (1397914712,), (1397914715,), (1397914720,), (1397914733,), (1397914736,), (1397914739,), (1397914741,), (1397914742,), (1397914749,), (1397914753,), (1397914759,), (1397914762,), (1397914853,), (1397914882,), (1397914885,), (1397914904,), (1397914907,), (1397914921,), (1397914984,), (1397914986,), (1397914988,), (1397915073,), (1397915380,), (1397915386,), (1397915387,), (1397915388,), (1397915391,), (1397915392,), (1397915502,), (1397915522,), (1397915531,), (1397915540,), (1397915543,), (1397915545,), (1397915608,), (1397915609,), (1397915610,), (1397915654,), (1397915646,), (1397915648,), (1397915651,), (1397915940,), (1397915942,), (1397915966,), (1397915969,), (1397915983,), (1397916000,), (1397916090,), (1397916091,), (1397916092,), (1397916122,), (1397916124,), (1397916126,), (1397916128,), (1397916131,), (1397916228,), (1397916248,), (1397916263,), (1397916264,), (1397916280,), (1397916307,), (1397916324,), (1397916326,), (1397916461,), (1397916463,), (1397916464,), (1397916465,), (1397916468,), (1397916471,), (1397916551,), (1397916571,), (1397916573,), (1397916600,), (1397916607,), (1397916611,), (1397916727,), (1397917162,), (1397917171,), (1397917295,), (1397917215,), (1397917219,), (1397917225,), (1397917260,), (1397917660,), (1397917694,), (1397917727,), (1397917761,), (1397918226,), (1397918295,), (1397918359,), (1397918421,), (1397918977,), (1397918982,), (1397918983,), (1397918984,), (1397919224,), (1397919292,), (1397919366,), (1397919432,), (1397920020,), (1397920060,), (1397920142,), (1397920215,), (1397920563,), (1397920578,), (1397920612,), (1397920646,), (1397920669,), (1397920671,), (1397920956,), (1397921023,), (1397921087,), (1397921130,), (1397921370,), (1397921383,), (1397921417,), (1397921452,), (1397921488,), (1397921526,), (1397921663,), (1397921718,), (1397921767,), (1397921768,), (1397921784,), (1397921826,), (1397921865,), (1397921876,), (1397922020,), (1397922051,), (1397922099,), (1397922132,), (1397922276,), (1397922278,), (1397922280,), (1397922282,), (1397922284,), (1397922287,), (1397922319,), (1397922320,), (1397922321,), (1397922322,), (1397922325,), (1397922328,), (1397922357,), (1397922359,), (1397922615,), (1397922621,), (1397922622,), (1397922623,), (1397922625,), (1397922628,), (1397922705,), (1397922696,), (1397922698,), (1397922699,), (1397922701,), (1397922703,), (1397922714,), (1397922716,), (1397922718,), (1397922720,), (1397922739,), (1397922740,), (1397922741,), (1397922742,), (1397922745,), (1397922747,), (1397923096,), (1397923129,), (1397923161,), (1397923183,), (1397923186,), (1397923189,), (1397923210,), (1397923245,), (1397923279,), (1397923342,), (1397923436,), (1397923465,), (1397923501,), (1397923565,), (1397923584,), (1397923705,), (1397923708,), (1397923710,), (1397923714,), (1397923718,), (1397923722,), (1397923790,), (1397923795,), (1397923816,), (1397923821,), (1397923822,), (1397923823,), (1397923825,), (1397924036,), (1397924068,), (1397924102,), (1397924119,), (1397924133,), (1397924317,), (1397924319,), (1397924339,), (1397924372,), (1397924499,), (1397924514,), (1397924524,), (1397924546,), (1397924555,), (1397924574,), (1397924615,), (1397924617,), (1397924619,), (1397924621,), (1397924687,), (1397924689,), (1397924690,), (1397924691,), (1397924693,), (1397924695,), (1397924818,), (1397924820,), (1397924844,), (1397924847,), (1397924872,), (1397924878,), (1397924912,), (1397924914,), (1397924921,), (1397924924,), (1397924932,), (1397924934,), (1397924938,), (1397924942,), (1397924945,), (1397924947,), (1397924998,), (1397924986,), (1397924988,), (1397924990,), (1397924992,), (1397924995,), (1397925083,), (1397925121,), (1397925148,), (1397925237,), (1397925238,), (1397925239,), (1397925240,), (1397925243,), (1397925338,), (1397925340,), (1397925342,), (1397925344,), (1397925347,), (1397925350,), (1397925398,), (1397925429,), (1397925460,), (1397925471,), (1397925569,), (1397925578,), (1397925582,), (1397925584,), (1397925586,), (1397925589,), (1397925641,), (1397925652,), (1397925664,), (1397925666,), (1397925668,), (1397925757,), (1397925824,), (1397925886,), (1397925930,), (1397926029,), (1397926032,), (1397926035,), (1397926038,), (1397926134,), (1397926136,), (1397926138,), (1397926141,), (1397926144,), (1397926146,), (1397926155,), (1397926159,), (1397926164,), (1397926206,), (1397926309,), (1397926310,), (1397926337,), (1397926355,), (1397926394,), (1397926396,), (1397926398,), (1397926468,), (1397926469,), (1397926470,), (1397926471,), (1397926474,), (1397926477,), (1397926510,), (1397926512,), (1397926515,), (1397926518,), (1397926541,), (1397926543,), (1397926546,), (1397926548,), (1397926581,), (1397926983,), (1397926980,), (1397926982,), (1397927190,), (1397927191,), (1397927192,), (1397928481,), (1397928482,), (1397928504,), (1397928506,), (1397928508,), (1397928510,), (1397928783,), (1397928825,), (1397929326,), (1397929364,), (1397929398,), (1397929451,), (1397930365,), (1397930419,), (1397930456,), (1397930473,), (1397930478,), (1397930485,), (1397930660,), (1397930724,), (1397930772,), (1397930992,), (1397930911,), (1397930941,), (1397930972,), (1397930974,), (1397931281,), (1397931316,), (1397931349,), (1397931384,), (1397931744,), (1397931745,), (1397931746,), (1397931871,), (1397931906,), (1397931998,), (1397932125,), (1397932253,), (1397933329,), (1397933338,), (1397933339,), (1397933340,), (1397934904,), (1397934945,), (1397934980,), (1397935559,), (1397935626,), (1397935691,), (1397935766,), (1397935835,), (1397935901,), (1397936218,), (1397936271,), (1397936328,), (1397936351,), (1397936384,), (1397936419,), (1397936441,), (1397936964,), (1397937081,), (1397937162,), (1397937228,), (1397937268,), (1397938652,), (1397938800,), (1397938801,), (1397938803,), (1397938852,), (1397938980,), (1397939038,), (1397939040,), (1397939502,), (1397939504,), (1397939510,), (1397939531,), (1397939570,), (1397939607,), (1397939737,), (1397939727,), (1397939728,), (1397939730,), (1397939732,), (1397939735,), (1397939747,), (1397939749,), (1397939751,), (1397940031,), (1397940066,), (1397940101,), (1397940136,), (1397941140,), (1397941260,), (1397941395,), (1397941532,), (1397941621,), (1397941720,), (1397941802,), (1397941803,), (1397941804,), (1397941808,), (1397941810,), (1397941831,), (1397941939,), (1397942052,), (1397942672,), (1397942710,), (1397943351,), (1397943413,), (1397943452,), (1397943490,), (1397943536,), (1397943933,), (1397944053,), (1397944154,), (1397944258,), (1397944382,), (1397944923,), (1397944924,), (1397944925,), (1397945417,), (1397945419,), (1397945421,), (1397945423,), (1397945447,), (1397945449,), (1397945450,), (1397945451,), (1397945473,), (1397945474,), (1397945476,), (1397945478,), (1397946300,), (1397946381,), (1397946468,), (1397946552,), (1397946555,), (1397946579,), (1397946670,), (1397946755,), (1397946799,), (1397946801,), (1397946803,), (1397946900,), (1397947144,), (1397947235,), (1397947306,), (1397947371,), (1397948057,), (1397947738,), (1397947855,), (1397947903,), (1397947937,), (1397947993,), (1397948336,), (1397948499,), (1397948542,), (1397948569,), (1397948572,), (1397948640,), (1397948681,), (1397948719,), (1397948826,), (1397948829,), (1397948832,), (1397948834,), (1397948836,), (1397948839,), (1397948846,), (1397948849,), (1397948853,), (1397948857,), (1397948861,), (1397948883,), (1397948885,), (1397948887,), (1397948889,), (1397948902,), (1397948904,), (1397948906,), (1397948908,), (1397948924,), (1397949295,), (1397949333,), (1397949370,), (1397950709,), (1397950710,), (1397951191,), (1397951251,), (1397951267,), (1397951312,), (1397951318,), (1397951320,), (1397951328,), (1397951333,), (1397951594,), (1397951690,), (1397951793,), (1397951894,), (1397951997,), (1397952432,), (1397952433,), (1397952435,), (1397952437,), (1397952700,), (1397952703,), (1397952726,), (1397953132,), (1397953168,), (1397953200,), (1397953234,), (1397953706,), (1397953834,), (1397953955,), (1397954090,), (1397954231,), (1397954645,), (1397954578,), (1397954580,), (1397954582,), (1397954584,), (1397954736,), (1397954737,), (1397954753,), (1397954754,), (1397954755,), (1397954758,), (1397954786,), (1397954788,), (1397954790,), (1397954792,), (1397954794,), (1397954796,), (1397954809,), (1397954816,), (1397955254,), (1397955394,), (1397955526,), (1397955667,), (1397956133,), (1397956722,), (1397956724,), (1397956985,), (1397957011,), (1397957013,), (1397957015,), (1397957018,), (1397957146,), (1397957148,), (1397957150,), (1397957185,), (1397957186,), (1397957187,), (1397957188,), (1397957191,), (1397957194,), (1397957205,), (1397957207,), (1397957209,), (1397958249,), (1397958250,), (1397958251,), (1397958252,), (1397958255,), (1397958258,), (1397958393,), (1397958510,), (1397958529,), (1397958539,), (1397959267,), (1397959270,), (1397959274,), (1397959277,), (1397959294,), (1397959388,), (1397959629,), (1397959703,), (1397960273,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04122025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29195625]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] map_info['map_portfolio_photo'] : {29195625: [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597]} final : True mtd_id 4302 list_pids : [1397909186, 1397908780, 1397908745, 1397908715, 1397908692, 1397908660, 1397908444, 1397908442, 1397908440, 1397908438, 1397908212, 1397908178, 1397908144, 1397908112, 1397908077, 1397908045, 1397907934, 1397907932, 1397907930, 1397907918, 1397907798, 1397907760, 1397907726, 1397907720, 1397907718, 1397907717, 1397907167, 1397907166, 1397907164, 1397907024, 1397906994, 1397906981, 1397906819, 1397906785, 1397906741, 1397905005, 1397903597] Looping around the photos to save general results len do output : 1 /29195625Didn'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, '4188916') ('4302', '29195625', '1397909186', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916') ('4302', None, None, None, None, None, None, None, '4188916') ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29195625', 'None', None, None, None, None, '4188916'), ('4302', '29195625', '1397909186', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908780', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908745', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908715', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908692', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908660', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908444', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908442', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908440', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908438', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908212', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908178', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908144', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908112', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908077', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397908045', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907934', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907932', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907930', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907918', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907798', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907760', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907726', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907720', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907718', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907717', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907167', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907166', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907164', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397907024', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906994', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906981', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906819', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906785', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397906741', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397905005', None, None, None, None, None, '4188916'), ('4302', '29195625', '1397903597', None, None, None, None, None, '4188916')] time used for this insertion : 0.0206911563873291 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.75910210609436 time spend to save output : 0.020986557006835938 total time spend for step 5 : 6.780088663101196 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 (4188916) 3.63user 2.40system 0:23.21elapsed 26%CPU (0avgtext+0avgdata 167352maxresident)k 856inputs+30200outputs (0major+87869minor)pagefaults 0swaps