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 : 182486 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 (3455278) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3455278) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699861 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3455278'] with mtr_portfolio_ids : ['25699861'] and first list_photo_ids : [] new path : /proc/182486/ Name: python3 Umask: 0002 State: R (running) Tgid: 182486 Ngid: 0 Pid: 182486 PPid: 182485 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 182486 NSpid: 182486 NSpgid: 181318 NSsid: 181318 VmPeak: 1106964 kB VmSize: 1106964 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99452 kB VmRSS: 99452 kB RssAnon: 59812 kB RssFile: 39640 kB RssShmem: 0 kB VmData: 865716 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 58 nonvoluntary_ctxt_switches: 88 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '182486', 'Ngid': '0', 'Pid': '182486', 'PPid': '182485', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '182486', 'NSpid': '182486', 'NSpgid': '181318', 'NSsid': '181318', 'VmPeak': '1106964 kB', 'VmSize': '1106964 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99452 kB', 'VmRSS': '99452 kB', 'RssAnon': '59812 kB', 'RssFile': '39640 kB', 'RssShmem': '0 kB', 'VmData': '865716 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '58', 'nonvoluntary_ctxt_switches': '88'} ('datou_batch_current', '182486', '1106964', '0', '1106964', '865716', '99452', b'', 'marlene', '3455278') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (25699861) 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 (3455278 ) ) 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 (25699861) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1375360645, 'portfolio_id': 25699861}, {'photo_id': 1375359721, 'portfolio_id': 25699861}, {'photo_id': 1375358859, 'portfolio_id': 25699861}, {'photo_id': 1375358769, 'portfolio_id': 25699861}, {'photo_id': 1375358642, 'portfolio_id': 25699861}, {'photo_id': 1375358407, 'portfolio_id': 25699861}, {'photo_id': 1375358384, 'portfolio_id': 25699861}, {'photo_id': 1375358360, 'portfolio_id': 25699861}, {'photo_id': 1375358277, 'portfolio_id': 25699861}, {'photo_id': 1375358275, 'portfolio_id': 25699861}, {'photo_id': 1375358274, 'portfolio_id': 25699861}, {'photo_id': 1375358272, 'portfolio_id': 25699861}, {'photo_id': 1375358251, 'portfolio_id': 25699861}, {'photo_id': 1375358250, 'portfolio_id': 25699861}, {'photo_id': 1375358248, 'portfolio_id': 25699861}, {'photo_id': 1375358246, 'portfolio_id': 25699861}, {'photo_id': 1375358212, 'portfolio_id': 25699861}, {'photo_id': 1375358210, 'portfolio_id': 25699861}, {'photo_id': 1375358208, 'portfolio_id': 25699861}, {'photo_id': 1375358186, 'portfolio_id': 25699861}, {'photo_id': 1375358185, 'portfolio_id': 25699861}, {'photo_id': 1375358183, 'portfolio_id': 25699861}, {'photo_id': 1375358166, 'portfolio_id': 25699861}, {'photo_id': 1375358164, 'portfolio_id': 25699861}, {'photo_id': 1375358162, 'portfolio_id': 25699861}, {'photo_id': 1375358161, 'portfolio_id': 25699861}, {'photo_id': 1375358159, 'portfolio_id': 25699861}, {'photo_id': 1375358126, 'portfolio_id': 25699861}, {'photo_id': 1375358125, 'portfolio_id': 25699861}, {'photo_id': 1375358123, 'portfolio_id': 25699861}, {'photo_id': 1375358122, 'portfolio_id': 25699861}, {'photo_id': 1375358108, 'portfolio_id': 25699861}, {'photo_id': 1375358107, 'portfolio_id': 25699861}, {'photo_id': 1375358106, 'portfolio_id': 25699861}, {'photo_id': 1375358105, 'portfolio_id': 25699861}, {'photo_id': 1375358103, 'portfolio_id': 25699861}] map_portfolio_id_photo_id: {25699861: [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103]} ##### 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.019373655319213867 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Aug 6 06:15:57 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 (25699861) 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 : 25699861 get user id for portfolio 25699861 get sub ptf for main ptf 25699861, type 3726 and hashtags ['Carton_brun', 'Teint_Dans_La_Masse', 'kraft', 'metal', 'autre_refus', 'papier', 'flou', 'plastique', 'environnement', 'Carton_gris', 'mal_croppe', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25699861 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','kraft','metal','autre_refus','papier','flou','plastique','environnement','Carton_gris','mal_croppe','cartonnette')) 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`=25699861 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','kraft','metal','autre_refus','papier','flou','plastique','environnement','Carton_gris','mal_croppe','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 25699861, 'sub_port_id': 25699880, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324831, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'papier': {'main_port_id': 25699861, 'sub_port_id': 25699881, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324832, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'metal': {'main_port_id': 25699861, 'sub_port_id': 25699882, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324833, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'plastique': {'main_port_id': 25699861, 'sub_port_id': 25699883, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324834, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'Carton_gris': {'main_port_id': 25699861, 'sub_port_id': 25699884, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324835, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'cartonnette': {'main_port_id': 25699861, 'sub_port_id': 25699885, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324836, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'autre_refus': {'main_port_id': 25699861, 'sub_port_id': 25699887, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324837, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'Carton_brun': {'main_port_id': 25699861, 'sub_port_id': 25699888, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324838, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'kraft': {'main_port_id': 25699861, 'sub_port_id': 25699889, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324839, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'environnement': {'main_port_id': 25699861, 'sub_port_id': 25699890, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324840, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'flou': {'main_port_id': 25699861, 'sub_port_id': 25699891, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324841, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}, 'mal_croppe': {'main_port_id': 25699861, 'sub_port_id': 25699892, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324842, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25699880 , 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=25699861 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 (25699880) result : ((1375358263,), (1375358264,), (1375358947,), (1375358948,), (1375358949,), (1375359074,), (1375359076,), (1375360370,), (1375360373,), (1375360376,), (1375360379,), (1375361463,), (1375361465,), (1375361467,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699881 , 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=25699861 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 (25699881) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699882 , 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=25699861 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 (25699882) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699883 , 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=25699861 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 (25699883) result : ((1375358270,), (1375358954,), (1375358955,), (1375360414,), (1375360417,), (1375360420,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699884 , 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=25699861 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 (25699884) result : ((1375358627,), (1375358952,), (1375359093,), (1375361493,), (1375361495,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699885 , 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=25699861 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 (25699885) result : ((1375358267,), (1375358268,), (1375359100,), (1375359102,), (1375360984,), (1375361502,), (1375365666,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699887 , 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=25699861 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 (25699887) result : ((1375358266,), (1375358950,), (1375358951,), (1375359085,), (1375360393,), (1375361480,), (1375361482,), (1375361485,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699888 , 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=25699861 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 (25699888) result : ((1375358269,), (1375358629,), (1375361508,), (1375361509,), (1375365668,), (1375365669,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699889 , 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=25699861 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 (25699889) result : ((1375361511,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699890 , 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=25699861 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 (25699890) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699891 , 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=25699861 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 (25699891) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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 25699892 , 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=25699861 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 (25699892) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25699861) result : ((1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,)) 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`=25699861 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','kraft','metal','autre_refus','papier','flou','plastique','environnement','Carton_gris','mal_croppe','cartonnette')) 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`=25699861 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','kraft','metal','autre_refus','papier','flou','plastique','environnement','Carton_gris','mal_croppe','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 25699861, 'sub_port_id': 25699893, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324843, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'papier': {'main_port_id': 25699861, 'sub_port_id': 25699894, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324844, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'metal': {'main_port_id': 25699861, 'sub_port_id': 25699895, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324845, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'plastique': {'main_port_id': 25699861, 'sub_port_id': 25699896, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324846, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'Carton_gris': {'main_port_id': 25699861, 'sub_port_id': 25699897, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324847, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'cartonnette': {'main_port_id': 25699861, 'sub_port_id': 25699898, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324848, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'autre_refus': {'main_port_id': 25699861, 'sub_port_id': 25699899, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324849, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'Carton_brun': {'main_port_id': 25699861, 'sub_port_id': 25699900, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324850, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'kraft': {'main_port_id': 25699861, 'sub_port_id': 25699901, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324851, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'environnement': {'main_port_id': 25699861, 'sub_port_id': 25699902, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324852, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'flou': {'main_port_id': 25699861, 'sub_port_id': 25699903, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324853, 'last_updated_at': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 19, 49, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}, 'mal_croppe': {'main_port_id': 25699861, 'sub_port_id': 25699904, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17324854, 'last_updated_at': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 20, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 5, 19, 49, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699893,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699880 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699894,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699895,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699896,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699898,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699899,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699887 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699900,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699888 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699901,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699889 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699902,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699890 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699903,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699891 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25699904,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25699892 lien utilise dans velours : https://www.fotonower.com/velours/25699893,25699894,25699895,25699896,25699897,25699898,25699899,25699900,25699901,25699902,25699903,25699904?tags=Teint_Dans_La_Masse,papier,metal,plastique,Carton_gris,cartonnette,autre_refus,Carton_brun,kraft,environnement,flou,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25699861]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] map_info['map_portfolio_photo'] : {25699861: [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103]} final : False mtd_id 4302 list_pids : [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] Looping around the photos to save general results len do output : 1 /25699861. 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, '3455278') ('4302', '25699861', '1375360645', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '25699861', "{'Teint_Dans_La_Masse': 25699880, 'papier': 25699881, 'metal': 25699882, 'plastique': 25699883, 'Carton_gris': 25699884, 'cartonnette': 25699885, 'autre_refus': 25699887, 'Carton_brun': 25699888, 'kraft': 25699889, 'environnement': 25699890, 'flou': 25699891, 'mal_croppe': 25699892}", None, None, None, None, '3455278'), ('4302', '25699861', '1375360645', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278')] time used for this insertion : 0.21993803977966309 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7379720211029053 time spend to save output : 0.2204151153564453 total time spend for step 1 : 1.9583871364593506 step2:final Wed Aug 6 06:15:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (25699861) 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 25699861 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1375358108,1375358107,1375358106,1375358105,1375358103,1375358126,1375358125,1375358123,1375358122,1375358166,1375358164,1375358162,1375358161,1375358159,1375358186,1375358185,1375358183,1375358212,1375358210,1375358208,1375358251,1375358250,1375358248,1375358246,1375358277,1375358275,1375358274,1375358272,1375358407,1375358384,1375358360,1375358642,1375358859,1375358769,1375359721,1375360645); 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([25699861]) Inside saveOutput : final : False verbose : True original output for save of step final : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} new output for save of step final : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] map_info['map_portfolio_photo'] : {25699861: [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103]} final : False mtd_id 4302 list_pids : [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] Looping around the photos to save general results len do output : 36 /1375360645.Didn't retrieve data . /1375359721.Didn't retrieve data . /1375358859.Didn't retrieve data . /1375358769.Didn't retrieve data . /1375358642.Didn't retrieve data . /1375358407.Didn't retrieve data . /1375358384.Didn't retrieve data . /1375358360.Didn't retrieve data . /1375358277.Didn't retrieve data . /1375358275.Didn't retrieve data . /1375358274.Didn't retrieve data . /1375358272.Didn't retrieve data . /1375358251.Didn't retrieve data . /1375358250.Didn't retrieve data . /1375358248.Didn't retrieve data . /1375358246.Didn't retrieve data . /1375358212.Didn't retrieve data . /1375358210.Didn't retrieve data . /1375358208.Didn't retrieve data . /1375358186.Didn't retrieve data . /1375358185.Didn't retrieve data . /1375358183.Didn't retrieve data . /1375358166.Didn't retrieve data . /1375358164.Didn't retrieve data . /1375358162.Didn't retrieve data . /1375358161.Didn't retrieve data . /1375358159.Didn't retrieve data . /1375358126.Didn't retrieve data . /1375358125.Didn't retrieve data . /1375358123.Didn't retrieve data . /1375358122.Didn't retrieve data . /1375358108.Didn't retrieve data . /1375358107.Didn't retrieve data . /1375358106.Didn't retrieve data . /1375358105.Didn't retrieve data . /1375358103.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, '3455278') ('4302', '25699861', '1375360645', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '25699861', '1375360645', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375359721', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358859', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358769', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358642', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358407', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358384', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358360', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358277', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358275', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358274', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358272', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358251', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358250', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358248', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358246', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358212', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358210', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358208', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358186', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358185', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358183', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358166', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358164', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358162', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358161', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358159', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358126', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358125', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358123', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358122', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358108', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358107', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358106', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358105', '0.045264227388221785', None, None, None, None, '3455278'), ('4302', '25699861', '1375358103', '0.045264227388221785', None, None, None, None, '3455278')] time used for this insertion : 0.17289042472839355 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14627742767333984 time spend to save output : 0.174299955368042 total time spend for step 2 : 0.32057738304138184 step3:velours_tree Wed Aug 6 06:15:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {25699861: [{'Teint_Dans_La_Masse': 25699880, 'papier': 25699881, 'metal': 25699882, 'plastique': 25699883, 'Carton_gris': 25699884, 'cartonnette': 25699885, 'autre_refus': 25699887, 'Carton_brun': 25699888, 'kraft': 25699889, 'environnement': 25699890, 'flou': 25699891, 'mal_croppe': 25699892}]} input_args_next_step : {25699861: ()} output_args : {25699861: [{'Teint_Dans_La_Masse': 25699880, 'papier': 25699881, 'metal': 25699882, 'plastique': 25699883, 'Carton_gris': 25699884, 'cartonnette': 25699885, 'autre_refus': 25699887, 'Carton_brun': 25699888, 'kraft': 25699889, 'environnement': 25699890, 'flou': 25699891, 'mal_croppe': 25699892}]} args : 25699861 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 : ({'Teint_Dans_La_Masse': 25699880, 'papier': 25699881, 'metal': 25699882, 'plastique': 25699883, 'Carton_gris': 25699884, 'cartonnette': 25699885, 'autre_refus': 25699887, 'Carton_brun': 25699888, 'kraft': 25699889, 'environnement': 25699890, 'flou': 25699891, 'mal_croppe': 25699892},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25699861) 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([25699861]) 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.2906606197357178 time spend to save output : 5.435943603515625e-05 total time spend for step 3 : 0.29071497917175293 step4:send_mail_cod Wed Aug 6 06:16:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} input_args_next_step : {1375360645: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375360645 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375359721 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358859 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358769 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358642 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358407 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358384 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358360 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358277 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358275 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358274 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358272 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358251 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358250 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358248 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358246 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358212 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358210 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358208 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358186 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358185 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358183 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358166 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358164 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358162 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358161 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358159 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358126 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358125 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358123 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358122 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358108 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358107 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358106 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358105 depend.output_id : 0 input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ()} output_args : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',)} args : 1375358103 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 : {25699861: [{'Teint_Dans_La_Masse': 25699880, 'papier': 25699881, 'metal': 25699882, 'plastique': 25699883, 'Carton_gris': 25699884, 'cartonnette': 25699885, 'autre_refus': 25699887, 'Carton_brun': 25699888, 'kraft': 25699889, 'environnement': 25699890, 'flou': 25699891, 'mal_croppe': 25699892}]} input_args_next_step : {1375360645: ('0.045264227388221785',), 1375359721: ('0.045264227388221785',), 1375358859: ('0.045264227388221785',), 1375358769: ('0.045264227388221785',), 1375358642: ('0.045264227388221785',), 1375358407: ('0.045264227388221785',), 1375358384: ('0.045264227388221785',), 1375358360: ('0.045264227388221785',), 1375358277: ('0.045264227388221785',), 1375358275: ('0.045264227388221785',), 1375358274: ('0.045264227388221785',), 1375358272: ('0.045264227388221785',), 1375358251: ('0.045264227388221785',), 1375358250: ('0.045264227388221785',), 1375358248: ('0.045264227388221785',), 1375358246: ('0.045264227388221785',), 1375358212: ('0.045264227388221785',), 1375358210: ('0.045264227388221785',), 1375358208: ('0.045264227388221785',), 1375358186: ('0.045264227388221785',), 1375358185: ('0.045264227388221785',), 1375358183: ('0.045264227388221785',), 1375358166: ('0.045264227388221785',), 1375358164: ('0.045264227388221785',), 1375358162: ('0.045264227388221785',), 1375358161: ('0.045264227388221785',), 1375358159: ('0.045264227388221785',), 1375358126: ('0.045264227388221785',), 1375358125: ('0.045264227388221785',), 1375358123: ('0.045264227388221785',), 1375358122: ('0.045264227388221785',), 1375358108: ('0.045264227388221785',), 1375358107: ('0.045264227388221785',), 1375358106: ('0.045264227388221785',), 1375358105: ('0.045264227388221785',), 1375358103: ('0.045264227388221785',), 25699861: ()} output_args : {25699861: [{'Teint_Dans_La_Masse': 25699880, 'papier': 25699881, 'metal': 25699882, 'plastique': 25699883, 'Carton_gris': 25699884, 'cartonnette': 25699885, 'autre_refus': 25699887, 'Carton_brun': 25699888, 'kraft': 25699889, 'environnement': 25699890, 'flou': 25699891, 'mal_croppe': 25699892}]} args : 25699861 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :37, first value : ('0.045264227388221785',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25699861) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1375360645,1375359721,1375358859,1375358769,1375358642,1375358407,1375358384,1375358360,1375358277,1375358275,1375358274,1375358272,1375358251,1375358250,1375358248,1375358246,1375358212,1375358210,1375358208,1375358186,1375358185,1375358183,1375358166,1375358164,1375358162,1375358161,1375358159,1375358126,1375358125,1375358123,1375358122,1375358108,1375358107,1375358106,1375358105,1375358103) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1375358103 begin to download photo : 1375358126 begin to download photo : 1375358186 begin to download photo : 1375358272 begin to download photo : 1375358769 download finish for photo 1375358186 begin to download photo : 1375358208 download finish for photo 1375358126 begin to download photo : 1375358159 download finish for photo 1375358103 begin to download photo : 1375358105 download finish for photo 1375358272 begin to download photo : 1375358274 download finish for photo 1375358159 begin to download photo : 1375358161 download finish for photo 1375358105 begin to download photo : 1375358106 download finish for photo 1375358274 begin to download photo : 1375358275 download finish for photo 1375358208 begin to download photo : 1375358210 download finish for photo 1375358769 begin to download photo : 1375358859 download finish for photo 1375358161 begin to download photo : 1375358162 download finish for photo 1375358106 begin to download photo : 1375358107 download finish for photo 1375358275 begin to download photo : 1375358277 download finish for photo 1375358210 begin to download photo : 1375358212 download finish for photo 1375358859 begin to download photo : 1375359721 download finish for photo 1375358162 begin to download photo : 1375358164 download finish for photo 1375358107 begin to download photo : 1375358108 download finish for photo 1375358277 begin to download photo : 1375358360 download finish for photo 1375358212 begin to download photo : 1375358246 download finish for photo 1375359721 begin to download photo : 1375360645 download finish for photo 1375358164 begin to download photo : 1375358166 download finish for photo 1375358360 begin to download photo : 1375358384 download finish for photo 1375360645 download finish for photo 1375358246 begin to download photo : 1375358248 download finish for photo 1375358166 begin to download photo : 1375358183 download finish for photo 1375358384 begin to download photo : 1375358407 download finish for photo 1375358108 begin to download photo : 1375358122 download finish for photo 1375358248 begin to download photo : 1375358250 download finish for photo 1375358183 begin to download photo : 1375358185 download finish for photo 1375358122 begin to download photo : 1375358123 download finish for photo 1375358407 begin to download photo : 1375358642 download finish for photo 1375358250 begin to download photo : 1375358251 download finish for photo 1375358123 begin to download photo : 1375358125 download finish for photo 1375358642 download finish for photo 1375358185 download finish for photo 1375358251 download finish for photo 1375358125 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette256998821754453761/ length of list_filenames : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P25699861_06-08-2025_06_16_01.pdf 25699882 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699882 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256998821754453761 25699883 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375358270: '1754416286_427267_1375358161_71c3cddd47568189473b834184d5cc11_rle_crop_3903987664_0.png', 1375358954: '1754416527_433827_1375358275_b88c6056764086fe899e7cc37792c608_rle_crop_3903990148_0.png', 1375358955: '1754416527_433827_1375358275_b88c6056764086fe899e7cc37792c608_rle_crop_3903990151_0.png', 1375360414: '1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004344_0.png', 1375360417: '1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004353_0.png', 1375360420: '1754416827_490199_1375358250_5011931d9513457db45c34e593db21f8_rle_crop_3904004362_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/64bbb78460d48a7ca13ce6bfc0ae2b56_27044892.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/1c34e37bd97630754c8de7cb00c286d4_10919699.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/7f8c28ff61fe49f6546013a53aaaa2f6_35492632.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/6710cfeeb3f7b7fefef070ffd59f753e_52452958.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/b1cba2f103df3c97c668cd19961caa14_2172361.png change filename to text .imagette256998831754453761/ imagette256998831754453761/1754416527_433827_1375358275_b88c6056764086fe899e7cc37792c608_rle_crop_3903990151_0.png.png imagette256998831754453761/1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004344_0.png.png imagette256998831754453761/1754416527_433827_1375358275_b88c6056764086fe899e7cc37792c608_rle_crop_3903990148_0.png.png imagette256998831754453761/1754416286_427267_1375358161_71c3cddd47568189473b834184d5cc11_rle_crop_3903987664_0.png.png imagette256998831754453761/1754416827_490199_1375358250_5011931d9513457db45c34e593db21f8_rle_crop_3904004362_0.png.png imagette256998831754453761/1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004353_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/40f67dc78b892f847121eeb51373fe3a_9116254.png imagette256998831754453761 25699885 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699885 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375358267: '1754416286_427267_1375358164_34426b4f2e2aee8d3615f6bf384a6343_rle_crop_3903987632_0.png', 1375358268: '1754416286_427267_1375358162_3f3b738deb68a1c24c5c1caa7daf045f_rle_crop_3903987651_0.png', 1375359100: '1754416646_437776_1375358642_1473ef3f468c5e58c1a330bf812d2ac5_rle_crop_3903998098_0.png', 1375359102: '1754416646_437776_1375358384_b4c51636454f1d743f8c6a8680765490_rle_crop_3903998112_0.png', 1375360984: '1754416886_492715_1375358185_2d0a9d6cfc9bc60d5f2b2af63ab21480_rle_crop_3904006207_0.png', 1375361502: '1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006557_0.png', 1375365666: '1754419466_585570_1375358166_7a4df4fa1e35725b3158270736073b12_rle_crop_3904024052_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/5744b07d5cc29f0f07fb2765d1516fae_75804922.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/0cc553f759355f90b3a43f564cd40b98_18153532.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/08d028381209938d709b449dd861a16f_75318939.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/7c39c681c86fccbe8d6cec7420d30d8a_50216766.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/286eeb8fceb3275eabacfccfbd6fe8f8_31821717.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d551fa2eef49679895672f7ee8d8b067_89374657.png change filename to text .imagette256998851754453762/ imagette256998851754453762/1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006557_0.png.png imagette256998851754453762/1754419466_585570_1375358166_7a4df4fa1e35725b3158270736073b12_rle_crop_3904024052_0.png.png imagette256998851754453762/1754416286_427267_1375358162_3f3b738deb68a1c24c5c1caa7daf045f_rle_crop_3903987651_0.png.png imagette256998851754453762/1754416286_427267_1375358164_34426b4f2e2aee8d3615f6bf384a6343_rle_crop_3903987632_0.png.png imagette256998851754453762/1754416646_437776_1375358384_b4c51636454f1d743f8c6a8680765490_rle_crop_3903998112_0.png.png imagette256998851754453762/1754416646_437776_1375358642_1473ef3f468c5e58c1a330bf812d2ac5_rle_crop_3903998098_0.png.png imagette256998851754453762/1754416886_492715_1375358185_2d0a9d6cfc9bc60d5f2b2af63ab21480_rle_crop_3904006207_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/22dfabc20a5dfdfbc0bac73c212258c6_23134204.png imagette256998851754453762 25699887 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375358266: '1754416286_427267_1375358161_71c3cddd47568189473b834184d5cc11_rle_crop_3903987662_0.png', 1375358950: '1754416527_433827_1375358275_b88c6056764086fe899e7cc37792c608_rle_crop_3903990147_0.png', 1375358951: '1754416527_433827_1375358274_00c7c63f149526dc4bef3cfe83cc4a13_rle_crop_3903990670_0.png', 1375359085: '1754416646_437776_1375358642_1473ef3f468c5e58c1a330bf812d2ac5_rle_crop_3903998100_0.png', 1375360393: '1754416827_490199_1375358246_939a805ee39b3dd6a03b8ab0103985a4_rle_crop_3904004380_0.png', 1375361480: '1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006556_0.png', 1375361482: '1754416947_496600_1375358105_28fb5017f98b1ea04073ba7a29897701_rle_crop_3904006590_0.png', 1375361485: '1754416947_496600_1375358103_4f6c5b44ed29dcf79d950eceea03d08e_rle_crop_3904006605_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/2285e52b9d91c5fed13e1588091d299e_47473015.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/b1287520fd1aa4c756cbb7a6ca1a1ee2_59254177.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/c73f9819af4e0bfd28f585a96f3256ee_56954555.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d5bfac0b9923b8054b917819d2608fb3_76761925.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/2e970336d83b158a8031efe331f4da4e_10569649.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/6d9b3863c4e6f493c6c9c4786686a657_73516124.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/7d3915d78bbfe897a03e5c5d9e292a0d_75656613.png change filename to text .imagette256998871754453762/ imagette256998871754453762/1754416947_496600_1375358105_28fb5017f98b1ea04073ba7a29897701_rle_crop_3904006590_0.png.png imagette256998871754453762/1754416947_496600_1375358103_4f6c5b44ed29dcf79d950eceea03d08e_rle_crop_3904006605_0.png.png imagette256998871754453762/1754416286_427267_1375358161_71c3cddd47568189473b834184d5cc11_rle_crop_3903987662_0.png.png imagette256998871754453762/1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006556_0.png.png imagette256998871754453762/1754416527_433827_1375358275_b88c6056764086fe899e7cc37792c608_rle_crop_3903990147_0.png.png imagette256998871754453762/1754416527_433827_1375358274_00c7c63f149526dc4bef3cfe83cc4a13_rle_crop_3903990670_0.png.png imagette256998871754453762/1754416827_490199_1375358246_939a805ee39b3dd6a03b8ab0103985a4_rle_crop_3904004380_0.png.png imagette256998871754453762/1754416646_437776_1375358642_1473ef3f468c5e58c1a330bf812d2ac5_rle_crop_3903998100_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/bc43e8240a44632ad4f8b0bb8a635663_60965857.png imagette256998871754453762 25699889 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699889 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375361511: '1754416947_496600_1375358106_35941b892a46d31b4b73b5b82c7f50d3_rle_crop_3904006584_0.png'} change filename to text .imagette256998891754453763/ imagette256998891754453763/1754416947_496600_1375358106_35941b892a46d31b4b73b5b82c7f50d3_rle_crop_3904006584_0.png.png imagette256998911754453763/ imagette256998921754453763/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/42273760794e0eef5f1c55cb0ad8959f_40369532.png imagette256998891754453763 25699891 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699891 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256998911754453763 25699892 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699892 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256998921754453763 25699880 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375358263: '1754416286_427267_1375358161_71c3cddd47568189473b834184d5cc11_rle_crop_3903987666_0.png', 1375358264: '1754416286_427267_1375358159_b337663c6557fb3d40c98a04aaca524b_rle_crop_3903987683_0.png', 1375358947: '1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990682_0.png', 1375358948: '1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990687_0.png', 1375358949: '1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990683_0.png', 1375359074: '1754416646_437776_1375358384_b4c51636454f1d743f8c6a8680765490_rle_crop_3903998115_0.png', 1375359076: '1754416646_437776_1375358360_3d4f105fa7f4f13969881d1381cac9ae_rle_crop_3903998574_0.png', 1375360370: '1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004349_0.png', 1375360373: '1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004346_0.png', 1375360376: '1754416827_490199_1375358248_2fe202729f1a48162810d605c15e7383_rle_crop_3904004371_0.png', 1375360379: '1754416827_490199_1375358246_939a805ee39b3dd6a03b8ab0103985a4_rle_crop_3904004383_0.png', 1375361463: '1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006565_0.png', 1375361465: '1754416947_496600_1375358107_93dd1b9d9a429725d759d5ed7f7b3147_rle_crop_3904006577_0.png', 1375361467: '1754416947_496600_1375358106_35941b892a46d31b4b73b5b82c7f50d3_rle_crop_3904006585_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/ada7c67fdbd621df59fac177dd176562_68327389.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/dfa1322c465ce356db9dbd116c23e896_24196014.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/750efa0bfa827957e23f9946a15a0bf2_48996854.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/f876349cd4c6eea2986e9f1e3418251d_76147603.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/7e96a4db5555a00bdce3ec9196e8f7d0_58080235.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/4db442316dac4f1800a4e716e60275ef_14886868.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/e600eed06bc68bdef0ea6bfe35d01851_49650544.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/607f051944e3d9492a27fa55fbd68ca1_16860911.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/70606b44a69e0867f30827a24965e3bd_34642136.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/c3a8edc00519d3f283255366509e4b4f_44716098.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/8283e9f0ad012391bd14f3192623f573_98635422.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/81251c05ed3d3676c09d1042fb40c4a4_88226275.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/67b5ed6b906cf809ea39ec803a7cb4c1_84061128.png change filename to text .imagette256998801754453763/ imagette256998801754453763/1754416947_496600_1375358107_93dd1b9d9a429725d759d5ed7f7b3147_rle_crop_3904006577_0.png.png imagette256998801754453763/1754416646_437776_1375358360_3d4f105fa7f4f13969881d1381cac9ae_rle_crop_3903998574_0.png.png imagette256998801754453763/1754416286_427267_1375358159_b337663c6557fb3d40c98a04aaca524b_rle_crop_3903987683_0.png.png imagette256998801754453763/1754416827_490199_1375358246_939a805ee39b3dd6a03b8ab0103985a4_rle_crop_3904004383_0.png.png imagette256998801754453763/1754416827_490199_1375358248_2fe202729f1a48162810d605c15e7383_rle_crop_3904004371_0.png.png imagette256998801754453763/1754416947_496600_1375358106_35941b892a46d31b4b73b5b82c7f50d3_rle_crop_3904006585_0.png.png imagette256998801754453763/1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004349_0.png.png imagette256998801754453763/1754416286_427267_1375358161_71c3cddd47568189473b834184d5cc11_rle_crop_3903987666_0.png.png imagette256998801754453763/1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006565_0.png.png imagette256998801754453763/1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990682_0.png.png imagette256998801754453763/1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990683_0.png.png imagette256998801754453763/1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990687_0.png.png imagette256998801754453763/1754416646_437776_1375358384_b4c51636454f1d743f8c6a8680765490_rle_crop_3903998115_0.png.png imagette256998801754453763/1754416827_490199_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3_rle_crop_3904004346_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/55c379fec86abac5380b641da9f46841_96410835.png imagette256998801754453763 25699884 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699884 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375358627: '1754416407_430745_1375358208_f32d02f1ce2184479f2407b9549132a3_rle_crop_3903988151_0.png', 1375358952: '1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990678_0.png', 1375359093: '1754416646_437776_1375358360_3d4f105fa7f4f13969881d1381cac9ae_rle_crop_3903998566_0.png', 1375361493: '1754416947_496600_1375358126_e6dab990fb9cd616ab4a09d723351eda_rle_crop_3904006546_0.png', 1375361495: '1754416947_496600_1375358126_e6dab990fb9cd616ab4a09d723351eda_rle_crop_3904006543_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d603056044468c3cb0d92243947d2abd_78073106.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/0d9602a2d88e181f3e8ba9d5555ae277_17152006.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/74ff198c7d59e0c3ad8a7cabaff15982_73490958.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/f3f304e872860aea430d2bbb3316a9ff_22897624.png change filename to text .imagette256998841754453765/ imagette256998841754453765/1754416527_433827_1375358272_24b1eff983c1106f0993f76556c31ea6_rle_crop_3903990678_0.png.png imagette256998841754453765/1754416407_430745_1375358208_f32d02f1ce2184479f2407b9549132a3_rle_crop_3903988151_0.png.png imagette256998841754453765/1754416947_496600_1375358126_e6dab990fb9cd616ab4a09d723351eda_rle_crop_3904006543_0.png.png imagette256998841754453765/1754416646_437776_1375358360_3d4f105fa7f4f13969881d1381cac9ae_rle_crop_3903998566_0.png.png imagette256998841754453765/1754416947_496600_1375358126_e6dab990fb9cd616ab4a09d723351eda_rle_crop_3904006546_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/05b3a0fe86db6a2636215cf4ea840764_13495386.png imagette256998841754453765 25699888 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699888 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375358269: '1754416286_427267_1375358159_b337663c6557fb3d40c98a04aaca524b_rle_crop_3903987675_0.png', 1375358629: '1754416407_430745_1375358208_f32d02f1ce2184479f2407b9549132a3_rle_crop_3903988152_0.png', 1375361508: '1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006558_0.png', 1375361509: '1754416947_496600_1375358105_28fb5017f98b1ea04073ba7a29897701_rle_crop_3904006592_0.png', 1375365668: '1754419466_585570_1375358123_e9f6b08924667d4a7f85ed3d675f03c1_rle_crop_3904024072_0.png', 1375365669: '1754419466_585570_1375358123_e9f6b08924667d4a7f85ed3d675f03c1_rle_crop_3904024074_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/8626635b96f4e99e1621490c4347dd7b_36085798.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/9726930cbe2fdcdbf355d4c3ac0c12e5_10988975.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/08c5a86b545e79926a13c45ab5874ffa_9964618.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d7e40aa7e966c942344055756c6f0225_99411972.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d88f1b97d8d106e0d771284a1507fd0c_74089792.png change filename to text .imagette256998881754453765/ imagette256998881754453765/1754416947_496600_1375358108_c2cda44c216384031776b36e4bf1d12b_rle_crop_3904006558_0.png.png imagette256998881754453765/1754419466_585570_1375358123_e9f6b08924667d4a7f85ed3d675f03c1_rle_crop_3904024074_0.png.png imagette256998881754453765/1754416286_427267_1375358159_b337663c6557fb3d40c98a04aaca524b_rle_crop_3903987675_0.png.png imagette256998881754453765/1754416407_430745_1375358208_f32d02f1ce2184479f2407b9549132a3_rle_crop_3903988152_0.png.png imagette256998881754453765/1754416947_496600_1375358105_28fb5017f98b1ea04073ba7a29897701_rle_crop_3904006592_0.png.png imagette256998881754453765/1754419466_585570_1375358123_e9f6b08924667d4a7f85ed3d675f03c1_rle_crop_3904024072_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/740bf15983a510296b231f9ed66e16f0_23270483.png imagette256998881754453765 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25699861 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25699893,25699894,25699895,25699896,25699897,25699898,25699899,25699900,25699901,25699902,25699903,25699904?tags=Teint_Dans_La_Masse,papier,metal,plastique,Carton_gris,cartonnette,autre_refus,Carton_brun,kraft,environnement,flou,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1375360645] : ('0.045264227388221785',) no score found for photo 1375360645 We are sending mail with results at report@fotonower.com args[1375359721] : ('0.045264227388221785',) no score found for photo 1375359721 We are sending mail with results at report@fotonower.com args[1375358859] : ('0.045264227388221785',) no score found for photo 1375358859 We are sending mail with results at report@fotonower.com args[1375358769] : ('0.045264227388221785',) no score found for photo 1375358769 We are sending mail with results at report@fotonower.com args[1375358642] : ('0.045264227388221785',) no score found for photo 1375358642 We are sending mail with results at report@fotonower.com args[1375358407] : ('0.045264227388221785',) no score found for photo 1375358407 We are sending mail with results at report@fotonower.com args[1375358384] : ('0.045264227388221785',) no score found for photo 1375358384 We are sending mail with results at report@fotonower.com args[1375358360] : ('0.045264227388221785',) no score found for photo 1375358360 We are sending mail with results at report@fotonower.com args[1375358277] : ('0.045264227388221785',) no score found for photo 1375358277 We are sending mail with results at report@fotonower.com args[1375358275] : ('0.045264227388221785',) no score found for photo 1375358275 We are sending mail with results at report@fotonower.com args[1375358274] : ('0.045264227388221785',) no score found for photo 1375358274 We are sending mail with results at report@fotonower.com args[1375358272] : ('0.045264227388221785',) no score found for photo 1375358272 We are sending mail with results at report@fotonower.com args[1375358251] : ('0.045264227388221785',) no score found for photo 1375358251 We are sending mail with results at report@fotonower.com args[1375358250] : ('0.045264227388221785',) no score found for photo 1375358250 We are sending mail with results at report@fotonower.com args[1375358248] : ('0.045264227388221785',) no score found for photo 1375358248 We are sending mail with results at report@fotonower.com args[1375358246] : ('0.045264227388221785',) no score found for photo 1375358246 We are sending mail with results at report@fotonower.com args[1375358212] : ('0.045264227388221785',) no score found for photo 1375358212 We are sending mail with results at report@fotonower.com args[1375358210] : ('0.045264227388221785',) no score found for photo 1375358210 We are sending mail with results at report@fotonower.com args[1375358208] : ('0.045264227388221785',) no score found for photo 1375358208 We are sending mail with results at report@fotonower.com args[1375358186] : ('0.045264227388221785',) no score found for photo 1375358186 We are sending mail with results at report@fotonower.com args[1375358185] : ('0.045264227388221785',) no score found for photo 1375358185 We are sending mail with results at report@fotonower.com args[1375358183] : ('0.045264227388221785',) no score found for photo 1375358183 We are sending mail with results at report@fotonower.com args[1375358166] : ('0.045264227388221785',) no score found for photo 1375358166 We are sending mail with results at report@fotonower.com args[1375358164] : ('0.045264227388221785',) no score found for photo 1375358164 We are sending mail with results at report@fotonower.com args[1375358162] : ('0.045264227388221785',) no score found for photo 1375358162 We are sending mail with results at report@fotonower.com args[1375358161] : ('0.045264227388221785',) no score found for photo 1375358161 We are sending mail with results at report@fotonower.com args[1375358159] : ('0.045264227388221785',) no score found for photo 1375358159 We are sending mail with results at report@fotonower.com args[1375358126] : ('0.045264227388221785',) no score found for photo 1375358126 We are sending mail with results at report@fotonower.com args[1375358125] : ('0.045264227388221785',) no score found for photo 1375358125 We are sending mail with results at report@fotonower.com args[1375358123] : ('0.045264227388221785',) no score found for photo 1375358123 We are sending mail with results at report@fotonower.com args[1375358122] : ('0.045264227388221785',) no score found for photo 1375358122 We are sending mail with results at report@fotonower.com args[1375358108] : ('0.045264227388221785',) no score found for photo 1375358108 We are sending mail with results at report@fotonower.com args[1375358107] : ('0.045264227388221785',) no score found for photo 1375358107 We are sending mail with results at report@fotonower.com args[1375358106] : ('0.045264227388221785',) no score found for photo 1375358106 We are sending mail with results at report@fotonower.com args[1375358105] : ('0.045264227388221785',) no score found for photo 1375358105 We are sending mail with results at report@fotonower.com args[1375358103] : ('0.045264227388221785',) no score found for photo 1375358103 We are sending mail with results at report@fotonower.com refus_total : 0.045264227388221785 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699861 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_P25699861_06-08-2025_06_16_01.pdf results_Auto_P25699861_06-08-2025_06_16_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699861_06-08-2025_06_16_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','25699861','results_Auto_P25699861_06-08-2025_06_16_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699861_06-08-2025_06_16_01.pdf','pdf','','0.4','0.045264227388221785') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25699861]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] map_info['map_portfolio_photo'] : {25699861: [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103]} final : False mtd_id 4302 list_pids : [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] 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, '3455278') ('4302', '25699861', '1375360645', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '25699861', '1375360645', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278')] time used for this insertion : 0.3951578140258789 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.6178600788116455 time spend to save output : 0.39557838439941406 total time spend for step 4 : 8.01343846321106 step5:split_time_score Wed Aug 6 06:16:08 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 : ['25699861'] 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 : [('25699861',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25699861) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1375358769: {'path': 'temp/1754453760_182486_1375358769_6a806653d2c1c3f942c25e4a1a35abb9.jpg', 'extension': 'jpg'}, 1375358859: {'path': 'temp/1754453760_182486_1375358859_9dfbe81920f806b72849c6b23db9f2a6.jpg', 'extension': 'jpg'}, 1375359721: {'path': 'temp/1754453760_182486_1375359721_c9a71f6b8333b599890b2ecda5ff0b48.jpg', 'extension': 'jpg'}, 1375360645: {'path': 'temp/1754453760_182486_1375360645_79d73793597e994547062369e88e3e52.jpg', 'extension': 'jpg'}, 1375358272: {'path': 'temp/1754453760_182486_1375358272_24b1eff983c1106f0993f76556c31ea6.jpg', 'extension': 'jpg'}, 1375358274: {'path': 'temp/1754453760_182486_1375358274_00c7c63f149526dc4bef3cfe83cc4a13.jpg', 'extension': 'jpg'}, 1375358275: {'path': 'temp/1754453760_182486_1375358275_b88c6056764086fe899e7cc37792c608.jpg', 'extension': 'jpg'}, 1375358277: {'path': 'temp/1754453760_182486_1375358277_7546fff1db5a1ad70536d4e2f9f1a2a3.jpg', 'extension': 'jpg'}, 1375358360: {'path': 'temp/1754453760_182486_1375358360_3d4f105fa7f4f13969881d1381cac9ae.jpg', 'extension': 'jpg'}, 1375358384: {'path': 'temp/1754453760_182486_1375358384_b4c51636454f1d743f8c6a8680765490.jpg', 'extension': 'jpg'}, 1375358407: {'path': 'temp/1754453760_182486_1375358407_b8d0c88ca6bb8633561649639b17d709.jpg', 'extension': 'jpg'}, 1375358642: {'path': 'temp/1754453760_182486_1375358642_1473ef3f468c5e58c1a330bf812d2ac5.jpg', 'extension': 'jpg'}, 1375358126: {'path': 'temp/1754453760_182486_1375358126_e6dab990fb9cd616ab4a09d723351eda.jpg', 'extension': 'jpg'}, 1375358159: {'path': 'temp/1754453760_182486_1375358159_b337663c6557fb3d40c98a04aaca524b.jpg', 'extension': 'jpg'}, 1375358161: {'path': 'temp/1754453760_182486_1375358161_71c3cddd47568189473b834184d5cc11.jpg', 'extension': 'jpg'}, 1375358162: {'path': 'temp/1754453760_182486_1375358162_3f3b738deb68a1c24c5c1caa7daf045f.jpg', 'extension': 'jpg'}, 1375358164: {'path': 'temp/1754453760_182486_1375358164_34426b4f2e2aee8d3615f6bf384a6343.jpg', 'extension': 'jpg'}, 1375358166: {'path': 'temp/1754453760_182486_1375358166_7a4df4fa1e35725b3158270736073b12.jpg', 'extension': 'jpg'}, 1375358183: {'path': 'temp/1754453760_182486_1375358183_67ac8859762ee000d280ab2270af268e.jpg', 'extension': 'jpg'}, 1375358185: {'path': 'temp/1754453760_182486_1375358185_2d0a9d6cfc9bc60d5f2b2af63ab21480.jpg', 'extension': 'jpg'}, 1375358186: {'path': 'temp/1754453760_182486_1375358186_b517cbf85345242e47d59abe04554e87.jpg', 'extension': 'jpg'}, 1375358208: {'path': 'temp/1754453760_182486_1375358208_f32d02f1ce2184479f2407b9549132a3.jpg', 'extension': 'jpg'}, 1375358210: {'path': 'temp/1754453760_182486_1375358210_de3f1376ac75718e49f82ca1046337b0.jpg', 'extension': 'jpg'}, 1375358212: {'path': 'temp/1754453760_182486_1375358212_81ad59f70b4f172197c50a9bc72b7aa8.jpg', 'extension': 'jpg'}, 1375358246: {'path': 'temp/1754453760_182486_1375358246_939a805ee39b3dd6a03b8ab0103985a4.jpg', 'extension': 'jpg'}, 1375358248: {'path': 'temp/1754453760_182486_1375358248_2fe202729f1a48162810d605c15e7383.jpg', 'extension': 'jpg'}, 1375358250: {'path': 'temp/1754453760_182486_1375358250_5011931d9513457db45c34e593db21f8.jpg', 'extension': 'jpg'}, 1375358251: {'path': 'temp/1754453760_182486_1375358251_15ac2f183e043ccc04e342c6189df192.jpg', 'extension': 'jpg'}, 1375358103: {'path': 'temp/1754453760_182486_1375358103_4f6c5b44ed29dcf79d950eceea03d08e.jpg', 'extension': 'jpg'}, 1375358105: {'path': 'temp/1754453760_182486_1375358105_28fb5017f98b1ea04073ba7a29897701.jpg', 'extension': 'jpg'}, 1375358106: {'path': 'temp/1754453760_182486_1375358106_35941b892a46d31b4b73b5b82c7f50d3.jpg', 'extension': 'jpg'}, 1375358107: {'path': 'temp/1754453760_182486_1375358107_93dd1b9d9a429725d759d5ed7f7b3147.jpg', 'extension': 'jpg'}, 1375358108: {'path': 'temp/1754453760_182486_1375358108_c2cda44c216384031776b36e4bf1d12b.jpg', 'extension': 'jpg'}, 1375358122: {'path': 'temp/1754453760_182486_1375358122_ce0faf02940bb17b4f257eb8271822ea.jpg', 'extension': 'jpg'}, 1375358123: {'path': 'temp/1754453760_182486_1375358123_e9f6b08924667d4a7f85ed3d675f03c1.jpg', 'extension': 'jpg'}, 1375358125: {'path': 'temp/1754453760_182486_1375358125_289d30ee4c8da15d4b296a5e49754526.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 = 25699861; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 25699861 group by h (('19', 36),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25699861 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 (25699861) 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 (25699861) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05082025 25699861 Nombre de photos uploadées : 36 / 23040 (0%) 05082025 25699861 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 05082025 25699861 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1375358108, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/c2cda44c216384031776b36e4bf1d12b.jpg', 'username': None, 'uploaded_at': 1754415967, 'text': 'image_05082025_19_45_04_010153m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1375358107, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/93dd1b9d9a429725d759d5ed7f7b3147.jpg', 'username': None, 'uploaded_at': 1754415967, 'text': 'image_05082025_19_45_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1375358106, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/35941b892a46d31b4b73b5b82c7f50d3.jpg', 'username': None, 'uploaded_at': 1754415967, 'text': 'image_05082025_19_45_25_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1375358105, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/28fb5017f98b1ea04073ba7a29897701.jpg', 'username': None, 'uploaded_at': 1754415967, 'text': 'image_05082025_19_45_35_010140m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022089481353759766 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25699861, '2025-08-05' ) 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-08-05' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2062379,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20724892616271973 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= 2062379 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25656824, 'dashboard_result_id': 13638703, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656824_06-08-2025_05_35_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25656843, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25657102, 'dashboard_result_id': 13638704, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657102_06-08-2025_05_35_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25657135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657136, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25657469, 'dashboard_result_id': 13638705, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657469_06-08-2025_05_36_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25657480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657489, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657491, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25657869, 'dashboard_result_id': 13638706, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657869_06-08-2025_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25657883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657885, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25659113, 'dashboard_result_id': 13638707, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659113_06-08-2025_05_37_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25659126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659129, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25659455, 'dashboard_result_id': 13638708, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659455_06-08-2025_05_38_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25659464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659475, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25659773, 'dashboard_result_id': 13638709, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659773_06-08-2025_05_39_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25659813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659817, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25660335, 'dashboard_result_id': 13638710, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660335_06-08-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25660346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25660347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25660348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25660349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25660350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25660351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25660352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25660353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25660354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25660355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25660356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25660357, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25660840, 'dashboard_result_id': 13638711, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660840_06-08-2025_05_40_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25660873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25660874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25660875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25660876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25660877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25660878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25660879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25660880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25660881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25660882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25660883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25660884, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25661324, 'dashboard_result_id': 13638712, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661324_06-08-2025_05_41_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25661358, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25661359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25661360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25661361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25661362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25661363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25661364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25661365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25661367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25661368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25661369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25661370, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25661814, 'dashboard_result_id': 13638713, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661814_06-08-2025_05_41_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25661868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25661869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25661870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25661871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25661872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25661873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25661874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25661875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25661876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25661877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25661878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25661879, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25662166, 'dashboard_result_id': 13638714, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662166_06-08-2025_05_42_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25662204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25662205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25662206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25662207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25662208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25662209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25662210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25662211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25662212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25662213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25662214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25662215, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25662636, 'dashboard_result_id': 13638715, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662636_06-08-2025_05_43_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25662654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25662655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25662656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25662657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25662658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25662659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25662660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25662661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25662662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25662663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25662664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25662665, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25663241, 'dashboard_result_id': 13638716, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663241_06-08-2025_05_43_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25663246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25663247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25663248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25663249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25663250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25663251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25663252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25663253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25663254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25663255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25663256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25663257, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25663405, 'dashboard_result_id': 13638717, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663405_06-08-2025_05_44_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25663423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25663424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25663425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25663426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25663427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25663428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25663429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25663430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25663431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25663432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25663433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25663434, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25664547, 'dashboard_result_id': 13638718, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664547_06-08-2025_05_44_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25664550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25664551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25664552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25664553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25664554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25664555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25664556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25664557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25664558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25664559, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25664560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25664561, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25664823, 'dashboard_result_id': 13638719, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664823_06-08-2025_05_45_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25664829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25664830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25664831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25664832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25664833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25664834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25664835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25664836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25664837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25664838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25664839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25664840, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25665083, 'dashboard_result_id': 13638720, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665083_06-08-2025_05_46_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25665105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665116, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25665398, 'dashboard_result_id': 13638721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665398_06-08-2025_05_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25665419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665421, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25665682, 'dashboard_result_id': 13638722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665682_06-08-2025_05_47_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25665690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665701, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25666221, 'dashboard_result_id': 13638723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666221_06-08-2025_05_48_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25666232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25666233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25666234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25666235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25666236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25666237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25666238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25666239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25666240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25666241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25666242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25666243, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25666675, 'dashboard_result_id': 13638724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666675_06-08-2025_05_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25666695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25666696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25666697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25666698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25666699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25666700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25666701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25666702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25666703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25666704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25666705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25666706, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25667065, 'dashboard_result_id': 13638725, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667065_06-08-2025_05_49_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25667074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25667075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25667076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25667077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25667078, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25667079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25667080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25667081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25667082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25667083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25667084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25667085, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25667514, 'dashboard_result_id': 13638726, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667514_06-08-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25667540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25667541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25667542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25667543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25667544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25667545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25667546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25667547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25667548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25667549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25667550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25667551, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25668205, 'dashboard_result_id': 13638727, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668205_06-08-2025_05_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25668227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25668228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25668229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25668230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25668231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25668232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25668233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25668234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25668235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25668236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25668237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25668238, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25668755, 'dashboard_result_id': 13638728, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668755_06-08-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25668782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25668783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25668784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25668785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25668786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25668787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25668788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25668789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25668790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25668791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25668792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25668793, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25669367, 'dashboard_result_id': 13638729, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669367_06-08-2025_05_52_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25669393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25669394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25669395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25669396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25669397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25669398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25669399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25669400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25669401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25669402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25669403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25669404, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25669897, 'dashboard_result_id': 13638730, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669897_06-08-2025_05_52_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25669942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25669943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25669944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25669945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25669946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25669947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25669948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25669949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25669950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25669951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25669952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25669953, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25670627, 'dashboard_result_id': 13638731, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25670627_06-08-2025_05_53_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25670670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25670671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25670672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25670673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25670674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25670675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25670676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25670677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25670678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25670679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25670680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25670681, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25671246, 'dashboard_result_id': 13638732, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25671246_06-08-2025_05_54_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25671268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25671269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25671270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25671271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25671272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25671273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25671274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25671275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25671276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25671277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25671278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25671279, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25672051, 'dashboard_result_id': 13638733, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672051_06-08-2025_05_54_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25672067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25672069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25672070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25672071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25672072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25672073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25672074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25672075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25672076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25672077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25672078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25672079, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25674437, 'dashboard_result_id': 13638734, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674437_06-08-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25674451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25674452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25674453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25674454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25674455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25674456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25674457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25674458, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25674459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25674460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25674461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25674462, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25674964, 'dashboard_result_id': 13638735, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674964_06-08-2025_05_56_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25675016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25675017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25675018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25675019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25675020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25675021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25675022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25675023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25675024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25675025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25675026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25675027, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25675491, 'dashboard_result_id': 13638736, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675491_06-08-2025_05_56_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25675526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25675527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25675528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25675529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25675530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25675531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25675532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25675533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25675534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25675535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25675536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25675537, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25676395, 'dashboard_result_id': 13638737, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25676395_06-08-2025_05_57_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25676403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25676404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25676405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25676406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25676407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25676408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25676409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25676410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25676411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25676412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25676413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25676414, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25677216, 'dashboard_result_id': 13638738, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677216_06-08-2025_05_57_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25677245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25677246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25677247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25677248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25677249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25677250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25677251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25677252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25677253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25677254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25677255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25677256, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25677956, 'dashboard_result_id': 13638739, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677956_06-08-2025_05_59_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25678009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25678010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25678011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25678012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25678013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25678014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25678015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25678016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25678017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25678018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25678019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25678020, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25678774, 'dashboard_result_id': 13638740, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678774_06-08-2025_05_59_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25678891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25678892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25678893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25678894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25678895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25678896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25678898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25678899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25678900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25678901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25678902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25678903, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25679889, 'dashboard_result_id': 13638741, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25679889_06-08-2025_06_00_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25679912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25679913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25679914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25679915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25679916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25679917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25679918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25679919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25679920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25679921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25679922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25679923, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25680683, 'dashboard_result_id': 13638742, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25680683_06-08-2025_06_01_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25680730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25680731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25680732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25680733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25680734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25680735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25680736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25680737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25680738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25680739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25680740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25680741, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25681588, 'dashboard_result_id': 13638743, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25681588_06-08-2025_06_01_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25681633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25681634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25681635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25681636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25681637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25681638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25681639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25681640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25681641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25681642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25681643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25681644, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25682251, 'dashboard_result_id': 13638744, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25682251_06-08-2025_06_02_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25682310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25682311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25682312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25682313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25682314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25682315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25682316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25682317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25682318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25682319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25682320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25682321, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25686002, 'dashboard_result_id': 13638745, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686002_06-08-2025_06_02_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25686003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686014, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25686107, 'dashboard_result_id': 13638746, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686107_06-08-2025_06_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25686125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686126, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25686614, 'dashboard_result_id': 13638747, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686614_06-08-2025_06_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25686660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686662, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686667, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25687010, 'dashboard_result_id': 13638748, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687010_06-08-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687036, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25687440, 'dashboard_result_id': 13638749, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687440_06-08-2025_06_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687473, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25687915, 'dashboard_result_id': 13638750, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687915_06-08-2025_06_05_40.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687986, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25688559, 'dashboard_result_id': 13638751, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25688559_06-08-2025_06_06_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25688604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25688605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25688606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25688607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25688608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25688609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25688610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25688611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25688612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25688613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25688614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25688615, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25689162, 'dashboard_result_id': 13638752, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689162_06-08-2025_06_06_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25689186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25689187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25689188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25689189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25689190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25689191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25689192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25689193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25689194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25689195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25689196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25689197, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25689632, 'dashboard_result_id': 13638753, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689632_06-08-2025_06_07_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25689664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25689665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25689666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25689667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25689668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25689669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25689671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25689672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25689673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25689674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25689675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25689676, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25690301, 'dashboard_result_id': 13638754, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690301_06-08-2025_06_08_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25690336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25690337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25690338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25690339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25690340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25690341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25690342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25690343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25690344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25690345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25690346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25690347, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25690958, 'dashboard_result_id': 13638755, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690958_06-08-2025_06_08_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25690997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25690998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25690999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25691000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25691001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25691002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25691003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25691004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25691005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25691006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25691007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25691008, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25691602, 'dashboard_result_id': 13638756, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691602_06-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25691680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25691681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25691682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25691683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25691685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25691686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25691688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25691689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25691690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25691691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25691692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25691693, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25692291, 'dashboard_result_id': 13638757, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692291_06-08-2025_06_10_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25692319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25692320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25692321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25692322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25692323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25692324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25692325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25692326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25692327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25692328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25692329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25692330, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25692955, 'dashboard_result_id': 13638758, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692955_06-08-2025_06_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25692964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25692965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25692966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25692967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25692968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25692969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25692970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25692971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25692972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25692973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25692974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25692975, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25693423, 'dashboard_result_id': 13638759, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25693423_06-08-2025_06_10_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25693499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25693500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25693501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25693502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25693503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25693504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25693505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25693506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25693507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25693508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25693509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25693510, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25694193, 'dashboard_result_id': 13638760, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25694193_06-08-2025_06_11_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25694231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25694232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25694233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25694234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25694235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25694236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25694237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25694238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25694239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25694240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25694241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25694242, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25695558, 'dashboard_result_id': 13638761, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695558_06-08-2025_06_11_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25695573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25695574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25695575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25695576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25695577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25695578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25695579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25695580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25695581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25695582, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25695583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25695584, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25696002, 'dashboard_result_id': 13638762, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696002_06-08-2025_06_12_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25696007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25696008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25696009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25696010, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25696011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25696012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25696013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25696014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25696015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25696016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25696017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25696018, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25696435, 'dashboard_result_id': 13638763, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696435_06-08-2025_06_13_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25696457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25696458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25696459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25696460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25696461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25696462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25696463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25696464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25696465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25696466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25696467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25696468, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25697105, 'dashboard_result_id': 13638764, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697105_06-08-2025_06_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25697116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25697117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25697118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25697119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25697120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25697121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25697122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25697123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25697124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25697125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25697126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25697127, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25697804, 'dashboard_result_id': 13638765, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697804_06-08-2025_06_14_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25697869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25697870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25697871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25697872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25697873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25697874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25697875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25697876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25697877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25697878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25697879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25697880, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25698628, 'dashboard_result_id': 13638766, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25698628_06-08-2025_06_15_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25698706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25698707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25698708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25698709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25698710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25698711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25698712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25698713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25698714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25698715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25698716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25698717, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25699254, 'dashboard_result_id': 13638767, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699254_06-08-2025_06_15_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25699277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25699278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25699279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25699280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25699281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25699282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25699284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25699285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25699286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25699287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25699288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25699289, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25699861, 'dashboard_result_id': 13638768, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699861_06-08-2025_06_16_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25699880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25699881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25699882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25699883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25699884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25699885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25699887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25699888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25699889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25699890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25699891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25699892, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25700395, 'dashboard_result_id': 13638769, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700395_05-08-2025_20_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25700438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25700439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25700440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25700441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25700442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25700443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25700444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25700445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25700446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25700447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25700448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25700449, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25700999, 'dashboard_result_id': 13638770, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700999_05-08-2025_20_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25701062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25701063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25701064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25701065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25701066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25701067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25701068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25701069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25701070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25701071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25701072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25701073, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25701540, 'dashboard_result_id': 13638771, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25701540_05-08-2025_21_09_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25701558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25701559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25701560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25701561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25701562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25701563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25701564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25701565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25701566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25701567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25701568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25701569, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25702748, 'dashboard_result_id': 13638772, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702748_05-08-2025_21_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25702770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25702771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25702772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25702773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25702774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25702775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25702776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25702777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25702778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25702779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25702780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25702781, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25703032, 'dashboard_result_id': 13638773, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703032_05-08-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25703052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25703053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25703055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25703056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25703057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25703059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25703060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25703061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25703063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25703064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25703065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25703066, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25703384, 'dashboard_result_id': 13638774, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703384_05-08-2025_21_46_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25703385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25703386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25703387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25703388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25703389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25703390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25703391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25703392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25703393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25703394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25703395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25703396, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25704044, 'dashboard_result_id': 13638775, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25704044_05-08-2025_22_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25704056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25704057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25704058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25704059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25704060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25704061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25704062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25704063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25704064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25704065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25704066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25704067, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25706103, 'dashboard_result_id': 13638776, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706103_05-08-2025_23_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25706105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706116, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25706731, 'dashboard_result_id': 13638777, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706731_05-08-2025_23_52_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25706740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706744, 'pht': 3726}}"}, {'dashboat_entry_day': 2062379, 'dashboard_run_id': 2078453, 'mtr_portfolio_id': 25706866, 'dashboard_result_id': 13638778, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706866_06-08-2025_00_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25706872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706880, '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 = 25656824 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': 3455213, 'mtr_portfolio_id': 25656824, 'created_at': datetime.datetime(2025, 8, 6, 5, 35, 27), 'result': '0.05459940808207711', 'result_long': None, 'result_double': None}] Qualite : 0.05459940808207711 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25656824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656824_06-08-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25656824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656824_06-08-2025_05_35_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25656843, 'pht': 3726}}" where mtr_portfolio_id = 25656824 and dashboard_run_id = 2078453 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`=25656824 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638703, 0.05459940808207711, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656824_06-08-2025_05_35_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25656843, '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 = 25657102 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': 3455214, 'mtr_portfolio_id': 25657102, 'created_at': datetime.datetime(2025, 8, 6, 5, 35, 28), 'result': '0.060341991911999585', 'result_long': None, 'result_double': None}] Qualite : 0.060341991911999585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25657102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657102_06-08-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25657102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657102_06-08-2025_05_35_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25657135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657136, 'pht': 3726}}" where mtr_portfolio_id = 25657102 and dashboard_run_id = 2078453 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`=25657102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638704, 0.060341991911999585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657102_06-08-2025_05_35_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25657135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657136, '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 = 25657469 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': 3455215, 'mtr_portfolio_id': 25657469, 'created_at': datetime.datetime(2025, 8, 6, 5, 35, 56), 'result': '0.05802249568658551', 'result_long': None, 'result_double': None}] Qualite : 0.05802249568658551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25657469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657469_06-08-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25657469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657469_06-08-2025_05_36_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25657480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657489, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657491, 'pht': 3726}}" where mtr_portfolio_id = 25657469 and dashboard_run_id = 2078453 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`=25657469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638705, 0.05802249568658551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657469_06-08-2025_05_36_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25657480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657489, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657491, '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 = 25657869 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': 3455216, 'mtr_portfolio_id': 25657869, 'created_at': datetime.datetime(2025, 8, 6, 5, 37), 'result': '0.055433274007320496', 'result_long': None, 'result_double': None}] Qualite : 0.055433274007320496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25657869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657869_06-08-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25657869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657869_06-08-2025_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25657883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657885, 'pht': 3726}}" where mtr_portfolio_id = 25657869 and dashboard_run_id = 2078453 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`=25657869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638706, 0.055433274007320496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25657869_06-08-2025_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25657874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25657875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25657876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25657877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25657878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25657879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25657880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25657881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25657882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25657883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25657884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25657885, '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 = 25659113 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': 3455217, 'mtr_portfolio_id': 25659113, 'created_at': datetime.datetime(2025, 8, 6, 5, 37, 29), 'result': '0.046258125651508324', 'result_long': None, 'result_double': None}] Qualite : 0.046258125651508324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25659113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659113_06-08-2025_05_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25659113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659113_06-08-2025_05_37_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25659126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659129, 'pht': 3726}}" where mtr_portfolio_id = 25659113 and dashboard_run_id = 2078453 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`=25659113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638707, 0.046258125651508324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659113_06-08-2025_05_37_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25659126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659129, '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 = 25659455 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': 3455218, 'mtr_portfolio_id': 25659455, 'created_at': datetime.datetime(2025, 8, 6, 5, 37, 58), 'result': '0.05716408297480167', 'result_long': None, 'result_double': None}] Qualite : 0.05716408297480167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25659455 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659455_06-08-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25659455 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659455_06-08-2025_05_38_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25659464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659475, 'pht': 3726}}" where mtr_portfolio_id = 25659455 and dashboard_run_id = 2078453 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`=25659455 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638708, 0.05716408297480167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659455_06-08-2025_05_38_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25659464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659475, '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 = 25659773 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': 3455219, 'mtr_portfolio_id': 25659773, 'created_at': datetime.datetime(2025, 8, 6, 5, 39), 'result': '0.049248834714726956', 'result_long': None, 'result_double': None}] Qualite : 0.049248834714726956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25659773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659773_06-08-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25659773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659773_06-08-2025_05_39_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25659813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659817, 'pht': 3726}}" where mtr_portfolio_id = 25659773 and dashboard_run_id = 2078453 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`=25659773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638709, 0.049248834714726956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25659773_06-08-2025_05_39_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25659806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25659807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25659808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25659809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25659810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25659811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25659812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25659813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25659814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25659815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25659816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25659817, '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 = 25660335 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': 3455220, 'mtr_portfolio_id': 25660335, 'created_at': datetime.datetime(2025, 8, 6, 5, 39, 26), 'result': '0.07312901793248948', 'result_long': None, 'result_double': None}] Qualite : 0.07312901793248948 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25660335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660335_06-08-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25660335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660335_06-08-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25660346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25660347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25660348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25660349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25660350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25660351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25660352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25660353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25660354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25660355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25660356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25660357, 'pht': 3726}}" where mtr_portfolio_id = 25660335 and dashboard_run_id = 2078453 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`=25660335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638710, 0.07312901793248948, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660335_06-08-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25660346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25660347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25660348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25660349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25660350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25660351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25660352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25660353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25660354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25660355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25660356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25660357, '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 = 25660840 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': 3455221, 'mtr_portfolio_id': 25660840, 'created_at': datetime.datetime(2025, 8, 6, 5, 39, 59), 'result': '0.041298664224348476', 'result_long': None, 'result_double': None}] Qualite : 0.041298664224348476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25660840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660840_06-08-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25660840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660840_06-08-2025_05_40_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25660873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25660874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25660875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25660876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25660877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25660878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25660879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25660880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25660881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25660882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25660883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25660884, 'pht': 3726}}" where mtr_portfolio_id = 25660840 and dashboard_run_id = 2078453 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`=25660840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638711, 0.041298664224348476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25660840_06-08-2025_05_40_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25660873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25660874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25660875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25660876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25660877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25660878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25660879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25660880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25660881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25660882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25660883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25660884, '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 = 25661324 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': 3455222, 'mtr_portfolio_id': 25661324, 'created_at': datetime.datetime(2025, 8, 6, 5, 40, 58), 'result': '0.03464331887944932', 'result_long': None, 'result_double': None}] Qualite : 0.03464331887944932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25661324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661324_06-08-2025_05_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25661324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661324_06-08-2025_05_41_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25661358, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25661359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25661360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25661361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25661362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25661363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25661364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25661365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25661367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25661368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25661369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25661370, 'pht': 3726}}" where mtr_portfolio_id = 25661324 and dashboard_run_id = 2078453 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`=25661324 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638712, 0.03464331887944932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661324_06-08-2025_05_41_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25661358, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25661359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25661360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25661361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25661362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25661363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25661364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25661365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25661367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25661368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25661369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25661370, '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 = 25661814 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': 3455223, 'mtr_portfolio_id': 25661814, 'created_at': datetime.datetime(2025, 8, 6, 5, 41, 29), 'result': '0.05919675996196809', 'result_long': None, 'result_double': None}] Qualite : 0.05919675996196809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25661814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661814_06-08-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25661814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661814_06-08-2025_05_41_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25661868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25661869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25661870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25661871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25661872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25661873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25661874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25661875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25661876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25661877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25661878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25661879, 'pht': 3726}}" where mtr_portfolio_id = 25661814 and dashboard_run_id = 2078453 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`=25661814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638713, 0.05919675996196809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25661814_06-08-2025_05_41_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25661868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25661869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25661870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25661871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25661872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25661873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25661874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25661875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25661876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25661877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25661878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25661879, '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 = 25662166 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': 3455224, 'mtr_portfolio_id': 25662166, 'created_at': datetime.datetime(2025, 8, 6, 5, 41, 59), 'result': '0.04859241336484322', 'result_long': None, 'result_double': None}] Qualite : 0.04859241336484322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25662166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662166_06-08-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25662166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662166_06-08-2025_05_42_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25662204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25662205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25662206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25662207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25662208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25662209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25662210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25662211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25662212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25662213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25662214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25662215, 'pht': 3726}}" where mtr_portfolio_id = 25662166 and dashboard_run_id = 2078453 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`=25662166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638714, 0.04859241336484322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662166_06-08-2025_05_42_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25662204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25662205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25662206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25662207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25662208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25662209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25662210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25662211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25662212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25662213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25662214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25662215, '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 = 25662636 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': 3455225, 'mtr_portfolio_id': 25662636, 'created_at': datetime.datetime(2025, 8, 6, 5, 42, 59), 'result': '0.035127830104385666', 'result_long': None, 'result_double': None}] Qualite : 0.035127830104385666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25662636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662636_06-08-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25662636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662636_06-08-2025_05_43_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25662654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25662655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25662656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25662657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25662658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25662659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25662660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25662661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25662662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25662663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25662664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25662665, 'pht': 3726}}" where mtr_portfolio_id = 25662636 and dashboard_run_id = 2078453 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`=25662636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638715, 0.035127830104385666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25662636_06-08-2025_05_43_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25662654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25662655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25662656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25662657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25662658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25662659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25662660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25662661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25662662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25662663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25662664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25662665, '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 = 25663241 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': 3455226, 'mtr_portfolio_id': 25663241, 'created_at': datetime.datetime(2025, 8, 6, 5, 43, 27), 'result': '0.0491231704345829', 'result_long': None, 'result_double': None}] Qualite : 0.0491231704345829 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25663241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663241_06-08-2025_05_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25663241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663241_06-08-2025_05_43_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25663246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25663247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25663248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25663249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25663250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25663251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25663252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25663253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25663254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25663255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25663256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25663257, 'pht': 3726}}" where mtr_portfolio_id = 25663241 and dashboard_run_id = 2078453 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`=25663241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638716, 0.0491231704345829, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663241_06-08-2025_05_43_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25663246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25663247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25663248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25663249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25663250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25663251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25663252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25663253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25663254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25663255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25663256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25663257, '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 = 25663405 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': 3455227, 'mtr_portfolio_id': 25663405, 'created_at': datetime.datetime(2025, 8, 6, 5, 43, 58), 'result': '0.039149423097998376', 'result_long': None, 'result_double': None}] Qualite : 0.039149423097998376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25663405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663405_06-08-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25663405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663405_06-08-2025_05_44_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25663423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25663424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25663425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25663426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25663427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25663428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25663429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25663430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25663431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25663432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25663433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25663434, 'pht': 3726}}" where mtr_portfolio_id = 25663405 and dashboard_run_id = 2078453 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`=25663405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638717, 0.039149423097998376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25663405_06-08-2025_05_44_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25663423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25663424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25663425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25663426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25663427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25663428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25663429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25663430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25663431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25663432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25663433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25663434, '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 = 25664547 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': 3455228, 'mtr_portfolio_id': 25664547, 'created_at': datetime.datetime(2025, 8, 6, 5, 44, 28), 'result': '0.03474224671398688', 'result_long': None, 'result_double': None}] Qualite : 0.03474224671398688 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25664547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664547_06-08-2025_05_44_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25664547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664547_06-08-2025_05_44_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25664550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25664551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25664552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25664553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25664554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25664555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25664556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25664557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25664558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25664559, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25664560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25664561, 'pht': 3726}}" where mtr_portfolio_id = 25664547 and dashboard_run_id = 2078453 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`=25664547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638718, 0.03474224671398688, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664547_06-08-2025_05_44_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25664550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25664551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25664552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25664553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25664554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25664555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25664556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25664557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25664558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25664559, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25664560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25664561, '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 = 25664823 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': 3455229, 'mtr_portfolio_id': 25664823, 'created_at': datetime.datetime(2025, 8, 6, 5, 45, 30), 'result': '0.04292237752041257', 'result_long': None, 'result_double': None}] Qualite : 0.04292237752041257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25664823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664823_06-08-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25664823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664823_06-08-2025_05_45_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25664829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25664830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25664831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25664832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25664833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25664834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25664835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25664836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25664837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25664838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25664839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25664840, 'pht': 3726}}" where mtr_portfolio_id = 25664823 and dashboard_run_id = 2078453 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`=25664823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638719, 0.04292237752041257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25664823_06-08-2025_05_45_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25664829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25664830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25664831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25664832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25664833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25664834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25664835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25664836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25664837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25664838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25664839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25664840, '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 = 25665083 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': 3455230, 'mtr_portfolio_id': 25665083, 'created_at': datetime.datetime(2025, 8, 6, 5, 46, 1), 'result': '0.043335971121206', 'result_long': None, 'result_double': None}] Qualite : 0.043335971121206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25665083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665083_06-08-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25665083 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665083_06-08-2025_05_46_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25665105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665116, 'pht': 3726}}" where mtr_portfolio_id = 25665083 and dashboard_run_id = 2078453 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`=25665083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638720, 0.043335971121206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665083_06-08-2025_05_46_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25665105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665108, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665116, '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 = 25665398 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': 3455231, 'mtr_portfolio_id': 25665398, 'created_at': datetime.datetime(2025, 8, 6, 5, 46, 59), 'result': '0.046226638735402684', 'result_long': None, 'result_double': None}] Qualite : 0.046226638735402684 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25665398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665398_06-08-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25665398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665398_06-08-2025_05_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25665419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665421, 'pht': 3726}}" where mtr_portfolio_id = 25665398 and dashboard_run_id = 2078453 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`=25665398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638721, 0.046226638735402684, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665398_06-08-2025_05_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25665419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665421, '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 = 25665682 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': 3455232, 'mtr_portfolio_id': 25665682, 'created_at': datetime.datetime(2025, 8, 6, 5, 47, 27), 'result': '0.027142252389885362', 'result_long': None, 'result_double': None}] Qualite : 0.027142252389885362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25665682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665682_06-08-2025_05_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25665682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665682_06-08-2025_05_47_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25665690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665701, 'pht': 3726}}" where mtr_portfolio_id = 25665682 and dashboard_run_id = 2078453 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`=25665682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638722, 0.027142252389885362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25665682_06-08-2025_05_47_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25665690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25665691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25665692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25665693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25665694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25665695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25665696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25665697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25665698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25665699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25665700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25665701, '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 = 25666221 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': 3455233, 'mtr_portfolio_id': 25666221, 'created_at': datetime.datetime(2025, 8, 6, 5, 47, 59), 'result': '0.05630390684789267', 'result_long': None, 'result_double': None}] Qualite : 0.05630390684789267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25666221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666221_06-08-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25666221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666221_06-08-2025_05_48_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25666232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25666233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25666234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25666235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25666236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25666237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25666238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25666239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25666240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25666241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25666242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25666243, 'pht': 3726}}" where mtr_portfolio_id = 25666221 and dashboard_run_id = 2078453 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`=25666221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638723, 0.05630390684789267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666221_06-08-2025_05_48_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25666232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25666233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25666234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25666235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25666236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25666237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25666238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25666239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25666240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25666241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25666242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25666243, '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 = 25666675 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': 3455234, 'mtr_portfolio_id': 25666675, 'created_at': datetime.datetime(2025, 8, 6, 5, 48, 29), 'result': '0.034711388104469866', 'result_long': None, 'result_double': None}] Qualite : 0.034711388104469866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25666675 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666675_06-08-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25666675 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666675_06-08-2025_05_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25666695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25666696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25666697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25666698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25666699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25666700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25666701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25666702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25666703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25666704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25666705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25666706, 'pht': 3726}}" where mtr_portfolio_id = 25666675 and dashboard_run_id = 2078453 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`=25666675 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638724, 0.034711388104469866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25666675_06-08-2025_05_48_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25666695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25666696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25666697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25666698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25666699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25666700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25666701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25666702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25666703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25666704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25666705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25666706, '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 = 25667065 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': 3455235, 'mtr_portfolio_id': 25667065, 'created_at': datetime.datetime(2025, 8, 6, 5, 49, 31), 'result': '0.04595168768600053', 'result_long': None, 'result_double': None}] Qualite : 0.04595168768600053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25667065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667065_06-08-2025_05_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25667065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667065_06-08-2025_05_49_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25667074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25667075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25667076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25667077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25667078, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25667079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25667080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25667081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25667082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25667083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25667084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25667085, 'pht': 3726}}" where mtr_portfolio_id = 25667065 and dashboard_run_id = 2078453 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`=25667065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638725, 0.04595168768600053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667065_06-08-2025_05_49_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25667074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25667075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25667076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25667077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25667078, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25667079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25667080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25667081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25667082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25667083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25667084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25667085, '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 = 25667514 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': 3455236, 'mtr_portfolio_id': 25667514, 'created_at': datetime.datetime(2025, 8, 6, 5, 49, 59), 'result': '0.07285194375638043', 'result_long': None, 'result_double': None}] Qualite : 0.07285194375638043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25667514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667514_06-08-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25667514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667514_06-08-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25667540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25667541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25667542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25667543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25667544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25667545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25667546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25667547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25667548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25667549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25667550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25667551, 'pht': 3726}}" where mtr_portfolio_id = 25667514 and dashboard_run_id = 2078453 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`=25667514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638726, 0.07285194375638043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667514_06-08-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25667540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25667541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25667542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25667543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25667544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25667545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25667546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25667547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25667548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25667549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25667550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25667551, '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 = 25668205 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': 3455237, 'mtr_portfolio_id': 25668205, 'created_at': datetime.datetime(2025, 8, 6, 5, 50, 29), 'result': '0.07481952831087291', 'result_long': None, 'result_double': None}] Qualite : 0.07481952831087291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25668205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668205_06-08-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668205 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668205_06-08-2025_05_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25668227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25668228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25668229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25668230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25668231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25668232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25668233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25668234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25668235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25668236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25668237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25668238, 'pht': 3726}}" where mtr_portfolio_id = 25668205 and dashboard_run_id = 2078453 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`=25668205 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638727, 0.07481952831087291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668205_06-08-2025_05_50_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25668227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25668228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25668229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25668230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25668231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25668232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25668233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25668234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25668235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25668236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25668237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25668238, '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 = 25668755 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': 3455238, 'mtr_portfolio_id': 25668755, 'created_at': datetime.datetime(2025, 8, 6, 5, 51, 28), 'result': '0.05662073263924595', 'result_long': None, 'result_double': None}] Qualite : 0.05662073263924595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25668755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668755_06-08-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668755_06-08-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25668782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25668783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25668784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25668785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25668786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25668787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25668788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25668789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25668790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25668791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25668792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25668793, 'pht': 3726}}" where mtr_portfolio_id = 25668755 and dashboard_run_id = 2078453 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`=25668755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638728, 0.05662073263924595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668755_06-08-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25668782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25668783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25668784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25668785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25668786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25668787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25668788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25668789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25668790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25668791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25668792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25668793, '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 = 25669367 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': 3455239, 'mtr_portfolio_id': 25669367, 'created_at': datetime.datetime(2025, 8, 6, 5, 51, 59), 'result': '0.05789639668046792', 'result_long': None, 'result_double': None}] Qualite : 0.05789639668046792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25669367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669367_06-08-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25669367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669367_06-08-2025_05_52_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25669393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25669394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25669395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25669396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25669397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25669398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25669399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25669400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25669401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25669402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25669403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25669404, 'pht': 3726}}" where mtr_portfolio_id = 25669367 and dashboard_run_id = 2078453 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`=25669367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638729, 0.05789639668046792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669367_06-08-2025_05_52_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25669393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25669394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25669395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25669396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25669397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25669398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25669399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25669400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25669401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25669402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25669403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25669404, '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 = 25669897 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': 3455240, 'mtr_portfolio_id': 25669897, 'created_at': datetime.datetime(2025, 8, 6, 5, 52, 29), 'result': '0.08221019580566144', 'result_long': None, 'result_double': None}] Qualite : 0.08221019580566144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25669897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669897_06-08-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25669897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669897_06-08-2025_05_52_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25669942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25669943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25669944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25669945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25669946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25669947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25669948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25669949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25669950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25669951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25669952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25669953, 'pht': 3726}}" where mtr_portfolio_id = 25669897 and dashboard_run_id = 2078453 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`=25669897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638730, 0.08221019580566144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669897_06-08-2025_05_52_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25669942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25669943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25669944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25669945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25669946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25669947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25669948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25669949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25669950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25669951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25669952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25669953, '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 = 25670627 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': 3455241, 'mtr_portfolio_id': 25670627, 'created_at': datetime.datetime(2025, 8, 6, 5, 53, 28), 'result': '0.04763703631881402', 'result_long': None, 'result_double': None}] Qualite : 0.04763703631881402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25670627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25670627_06-08-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25670627 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25670627_06-08-2025_05_53_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25670670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25670671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25670672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25670673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25670674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25670675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25670676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25670677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25670678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25670679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25670680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25670681, 'pht': 3726}}" where mtr_portfolio_id = 25670627 and dashboard_run_id = 2078453 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`=25670627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638731, 0.04763703631881402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25670627_06-08-2025_05_53_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25670670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25670671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25670672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25670673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25670674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25670675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25670676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25670677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25670678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25670679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25670680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25670681, '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 = 25671246 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': 3455242, 'mtr_portfolio_id': 25671246, 'created_at': datetime.datetime(2025, 8, 6, 5, 54), 'result': '0.036012943103109034', 'result_long': None, 'result_double': None}] Qualite : 0.036012943103109034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25671246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25671246_06-08-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25671246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25671246_06-08-2025_05_54_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25671268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25671269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25671270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25671271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25671272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25671273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25671274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25671275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25671276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25671277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25671278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25671279, 'pht': 3726}}" where mtr_portfolio_id = 25671246 and dashboard_run_id = 2078453 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`=25671246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638732, 0.036012943103109034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25671246_06-08-2025_05_54_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25671268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25671269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25671270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25671271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25671272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25671273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25671274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25671275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25671276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25671277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25671278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25671279, '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 = 25672051 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': 3455243, 'mtr_portfolio_id': 25672051, 'created_at': datetime.datetime(2025, 8, 6, 5, 54, 29), 'result': '0.04240414291555413', 'result_long': None, 'result_double': None}] Qualite : 0.04240414291555413 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25672051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672051_06-08-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672051_06-08-2025_05_54_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25672067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25672069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25672070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25672071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25672072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25672073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25672074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25672075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25672076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25672077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25672078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25672079, 'pht': 3726}}" where mtr_portfolio_id = 25672051 and dashboard_run_id = 2078453 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`=25672051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638733, 0.04240414291555413, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672051_06-08-2025_05_54_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25672067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25672069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25672070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25672071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25672072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25672073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25672074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25672075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25672076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25672077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25672078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25672079, '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 = 25674437 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': 3455244, 'mtr_portfolio_id': 25674437, 'created_at': datetime.datetime(2025, 8, 6, 5, 55, 29), 'result': '0.045845469486122815', 'result_long': None, 'result_double': None}] Qualite : 0.045845469486122815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25674437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674437_06-08-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25674437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674437_06-08-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25674451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25674452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25674453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25674454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25674455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25674456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25674457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25674458, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25674459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25674460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25674461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25674462, 'pht': 3726}}" where mtr_portfolio_id = 25674437 and dashboard_run_id = 2078453 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`=25674437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638734, 0.045845469486122815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674437_06-08-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25674451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25674452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25674453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25674454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25674455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25674456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25674457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25674458, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25674459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25674460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25674461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25674462, '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 = 25674964 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': 3455245, 'mtr_portfolio_id': 25674964, 'created_at': datetime.datetime(2025, 8, 6, 5, 55, 59), 'result': '0.03378424547886259', 'result_long': None, 'result_double': None}] Qualite : 0.03378424547886259 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25674964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674964_06-08-2025_05_56_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25674964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674964_06-08-2025_05_56_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25675016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25675017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25675018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25675019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25675020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25675021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25675022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25675023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25675024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25675025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25675026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25675027, 'pht': 3726}}" where mtr_portfolio_id = 25674964 and dashboard_run_id = 2078453 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`=25674964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638735, 0.03378424547886259, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674964_06-08-2025_05_56_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25675016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25675017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25675018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25675019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25675020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25675021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25675022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25675023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25675024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25675025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25675026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25675027, '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 = 25675491 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': 3455246, 'mtr_portfolio_id': 25675491, 'created_at': datetime.datetime(2025, 8, 6, 5, 56, 31), 'result': '0.07188996467326181', 'result_long': None, 'result_double': None}] Qualite : 0.07188996467326181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25675491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675491_06-08-2025_05_56_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25675491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675491_06-08-2025_05_56_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25675526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25675527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25675528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25675529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25675530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25675531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25675532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25675533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25675534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25675535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25675536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25675537, 'pht': 3726}}" where mtr_portfolio_id = 25675491 and dashboard_run_id = 2078453 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`=25675491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638736, 0.07188996467326181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675491_06-08-2025_05_56_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25675526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25675527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25675528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25675529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25675530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25675531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25675532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25675533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25675534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25675535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25675536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25675537, '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 = 25676395 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': 3455247, 'mtr_portfolio_id': 25676395, 'created_at': datetime.datetime(2025, 8, 6, 5, 57, 29), 'result': '0.13297046396372494', 'result_long': None, 'result_double': None}] Qualite : 0.13297046396372494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25676395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25676395_06-08-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25676395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25676395_06-08-2025_05_57_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25676403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25676404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25676405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25676406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25676407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25676408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25676409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25676410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25676411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25676412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25676413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25676414, 'pht': 3726}}" where mtr_portfolio_id = 25676395 and dashboard_run_id = 2078453 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`=25676395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638737, 0.13297046396372494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25676395_06-08-2025_05_57_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25676403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25676404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25676405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25676406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25676407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25676408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25676409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25676410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25676411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25676412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25676413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25676414, '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 = 25677216 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': 3455248, 'mtr_portfolio_id': 25677216, 'created_at': datetime.datetime(2025, 8, 6, 5, 57, 56), 'result': '0.011672973085186262', 'result_long': None, 'result_double': None}] Qualite : 0.011672973085186262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25677216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677216_06-08-2025_05_57_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25677216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677216_06-08-2025_05_57_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25677245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25677246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25677247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25677248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25677249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25677250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25677251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25677252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25677253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25677254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25677255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25677256, 'pht': 3726}}" where mtr_portfolio_id = 25677216 and dashboard_run_id = 2078453 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`=25677216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638738, 0.011672973085186262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677216_06-08-2025_05_57_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25677245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25677246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25677247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25677248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25677249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25677250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25677251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25677252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25677253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25677254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25677255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25677256, '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 = 25677956 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': 3455249, 'mtr_portfolio_id': 25677956, 'created_at': datetime.datetime(2025, 8, 6, 5, 58, 58), 'result': '0.05020753682725946', 'result_long': None, 'result_double': None}] Qualite : 0.05020753682725946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25677956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677956_06-08-2025_05_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25677956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677956_06-08-2025_05_59_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25678009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25678010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25678011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25678012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25678013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25678014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25678015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25678016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25678017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25678018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25678019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25678020, 'pht': 3726}}" where mtr_portfolio_id = 25677956 and dashboard_run_id = 2078453 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`=25677956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638739, 0.05020753682725946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25677956_06-08-2025_05_59_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25678009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25678010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25678011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25678012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25678013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25678014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25678015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25678016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25678017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25678018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25678019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25678020, '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 = 25678774 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': 3455250, 'mtr_portfolio_id': 25678774, 'created_at': datetime.datetime(2025, 8, 6, 5, 59, 29), 'result': '0.0287546277286214', 'result_long': None, 'result_double': None}] Qualite : 0.0287546277286214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25678774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678774_06-08-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678774_06-08-2025_05_59_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25678891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25678892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25678893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25678894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25678895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25678896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25678898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25678899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25678900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25678901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25678902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25678903, 'pht': 3726}}" where mtr_portfolio_id = 25678774 and dashboard_run_id = 2078453 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`=25678774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638740, 0.0287546277286214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678774_06-08-2025_05_59_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25678891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25678892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25678893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25678894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25678895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25678896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25678898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25678899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25678900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25678901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25678902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25678903, '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 = 25679889 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': 3455251, 'mtr_portfolio_id': 25679889, 'created_at': datetime.datetime(2025, 8, 6, 6, 0, 30), 'result': '0.05528802534293499', 'result_long': None, 'result_double': None}] Qualite : 0.05528802534293499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25679889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25679889_06-08-2025_06_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25679889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25679889_06-08-2025_06_00_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25679912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25679913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25679914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25679915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25679916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25679917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25679918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25679919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25679920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25679921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25679922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25679923, 'pht': 3726}}" where mtr_portfolio_id = 25679889 and dashboard_run_id = 2078453 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`=25679889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638741, 0.05528802534293499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25679889_06-08-2025_06_00_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25679912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25679913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25679914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25679915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25679916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25679917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25679918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25679919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25679920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25679921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25679922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25679923, '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 = 25680683 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': 3455252, 'mtr_portfolio_id': 25680683, 'created_at': datetime.datetime(2025, 8, 6, 6, 0, 58), 'result': '0.04479679023042845', 'result_long': None, 'result_double': None}] Qualite : 0.04479679023042845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25680683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25680683_06-08-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25680683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25680683_06-08-2025_06_01_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25680730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25680731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25680732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25680733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25680734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25680735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25680736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25680737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25680738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25680739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25680740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25680741, 'pht': 3726}}" where mtr_portfolio_id = 25680683 and dashboard_run_id = 2078453 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`=25680683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638742, 0.04479679023042845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25680683_06-08-2025_06_01_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25680730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25680731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25680732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25680733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25680734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25680735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25680736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25680737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25680738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25680739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25680740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25680741, '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 = 25681588 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': 3455253, 'mtr_portfolio_id': 25681588, 'created_at': datetime.datetime(2025, 8, 6, 6, 1, 28), 'result': '0.055083664599302105', 'result_long': None, 'result_double': None}] Qualite : 0.055083664599302105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25681588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25681588_06-08-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25681588 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25681588_06-08-2025_06_01_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25681633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25681634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25681635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25681636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25681637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25681638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25681639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25681640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25681641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25681642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25681643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25681644, 'pht': 3726}}" where mtr_portfolio_id = 25681588 and dashboard_run_id = 2078453 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`=25681588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638743, 0.055083664599302105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25681588_06-08-2025_06_01_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25681633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25681634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25681635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25681636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25681637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25681638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25681639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25681640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25681641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25681642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25681643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25681644, '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 = 25682251 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': 3455254, 'mtr_portfolio_id': 25682251, 'created_at': datetime.datetime(2025, 8, 6, 6, 1, 58), 'result': '0.0567161385069851', 'result_long': None, 'result_double': None}] Qualite : 0.0567161385069851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25682251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25682251_06-08-2025_06_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25682251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25682251_06-08-2025_06_02_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25682310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25682311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25682312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25682313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25682314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25682315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25682316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25682317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25682318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25682319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25682320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25682321, 'pht': 3726}}" where mtr_portfolio_id = 25682251 and dashboard_run_id = 2078453 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`=25682251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638744, 0.0567161385069851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25682251_06-08-2025_06_02_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25682310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25682311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25682312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25682313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25682314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25682315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25682316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25682317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25682318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25682319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25682320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25682321, '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 = 25686002 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': 3455255, 'mtr_portfolio_id': 25686002, 'created_at': datetime.datetime(2025, 8, 6, 6, 2, 30), 'result': '0.16427065412130948', 'result_long': None, 'result_double': None}] Qualite : 0.16427065412130948 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25686002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686002_06-08-2025_06_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686002_06-08-2025_06_02_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25686003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686014, 'pht': 3726}}" where mtr_portfolio_id = 25686002 and dashboard_run_id = 2078453 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`=25686002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638745, 0.16427065412130948, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686002_06-08-2025_06_02_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25686003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686014, '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 = 25686107 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': 3455256, 'mtr_portfolio_id': 25686107, 'created_at': datetime.datetime(2025, 8, 6, 6, 3, 28), 'result': '0.03069622585135573', 'result_long': None, 'result_double': None}] Qualite : 0.03069622585135573 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25686107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686107_06-08-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686107_06-08-2025_06_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25686125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686126, 'pht': 3726}}" where mtr_portfolio_id = 25686107 and dashboard_run_id = 2078453 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`=25686107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638746, 0.03069622585135573, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686107_06-08-2025_06_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25686125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686126, '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 = 25686614 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': 3455257, 'mtr_portfolio_id': 25686614, 'created_at': datetime.datetime(2025, 8, 6, 6, 4, 1), 'result': '0.03434730327419175', 'result_long': None, 'result_double': None}] Qualite : 0.03434730327419175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25686614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686614_06-08-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686614_06-08-2025_06_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25686660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686662, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686667, 'pht': 3726}}" where mtr_portfolio_id = 25686614 and dashboard_run_id = 2078453 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`=25686614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638747, 0.03434730327419175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686614_06-08-2025_06_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25686656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25686657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25686658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25686659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25686660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25686661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25686662, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25686663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25686664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25686665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25686666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25686667, '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 = 25687010 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': 3455258, 'mtr_portfolio_id': 25687010, 'created_at': datetime.datetime(2025, 8, 6, 6, 4, 31), 'result': '0.05395053775990901', 'result_long': None, 'result_double': None}] Qualite : 0.05395053775990901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25687010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687010_06-08-2025_06_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687010_06-08-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687036, 'pht': 3726}}" where mtr_portfolio_id = 25687010 and dashboard_run_id = 2078453 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`=25687010 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638748, 0.05395053775990901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687010_06-08-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687036, '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 = 25687440 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': 3455259, 'mtr_portfolio_id': 25687440, 'created_at': datetime.datetime(2025, 8, 6, 6, 5, 28), 'result': '0.06614250306974832', 'result_long': None, 'result_double': None}] Qualite : 0.06614250306974832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25687440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687440_06-08-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687440_06-08-2025_06_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687473, 'pht': 3726}}" where mtr_portfolio_id = 25687440 and dashboard_run_id = 2078453 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`=25687440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638749, 0.06614250306974832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687440_06-08-2025_06_05_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687473, '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 = 25687915 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': 3455260, 'mtr_portfolio_id': 25687915, 'created_at': datetime.datetime(2025, 8, 6, 6, 5, 38), 'result': '0.02680972523794165', 'result_long': None, 'result_double': None}] Qualite : 0.02680972523794165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25687915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687915_06-08-2025_06_05_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687915_06-08-2025_06_05_40.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687986, 'pht': 3726}}" where mtr_portfolio_id = 25687915 and dashboard_run_id = 2078453 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`=25687915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638750, 0.02680972523794165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687915_06-08-2025_06_05_40.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25687975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25687976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25687977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25687978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25687979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25687980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25687981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25687982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25687983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25687984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25687985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25687986, '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 = 25688559 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': 3455261, 'mtr_portfolio_id': 25688559, 'created_at': datetime.datetime(2025, 8, 6, 6, 5, 58), 'result': '0.062070524127847894', 'result_long': None, 'result_double': None}] Qualite : 0.062070524127847894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25688559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25688559_06-08-2025_06_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25688559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25688559_06-08-2025_06_06_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25688604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25688605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25688606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25688607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25688608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25688609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25688610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25688611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25688612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25688613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25688614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25688615, 'pht': 3726}}" where mtr_portfolio_id = 25688559 and dashboard_run_id = 2078453 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`=25688559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638751, 0.062070524127847894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25688559_06-08-2025_06_06_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25688604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25688605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25688606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25688607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25688608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25688609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25688610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25688611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25688612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25688613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25688614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25688615, '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 = 25689162 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': 3455262, 'mtr_portfolio_id': 25689162, 'created_at': datetime.datetime(2025, 8, 6, 6, 6, 29), 'result': '0.06560077720510116', 'result_long': None, 'result_double': None}] Qualite : 0.06560077720510116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25689162 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689162_06-08-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25689162 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689162_06-08-2025_06_06_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25689186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25689187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25689188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25689189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25689190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25689191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25689192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25689193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25689194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25689195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25689196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25689197, 'pht': 3726}}" where mtr_portfolio_id = 25689162 and dashboard_run_id = 2078453 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`=25689162 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638752, 0.06560077720510116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689162_06-08-2025_06_06_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25689186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25689187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25689188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25689189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25689190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25689191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25689192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25689193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25689194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25689195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25689196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25689197, '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 = 25689632 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': 3455263, 'mtr_portfolio_id': 25689632, 'created_at': datetime.datetime(2025, 8, 6, 6, 7, 28), 'result': '0.05483275016621516', 'result_long': None, 'result_double': None}] Qualite : 0.05483275016621516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25689632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689632_06-08-2025_06_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25689632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689632_06-08-2025_06_07_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25689664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25689665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25689666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25689667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25689668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25689669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25689671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25689672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25689673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25689674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25689675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25689676, 'pht': 3726}}" where mtr_portfolio_id = 25689632 and dashboard_run_id = 2078453 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`=25689632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638753, 0.05483275016621516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25689632_06-08-2025_06_07_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25689664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25689665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25689666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25689667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25689668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25689669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25689671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25689672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25689673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25689674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25689675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25689676, '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 = 25690301 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': 3455264, 'mtr_portfolio_id': 25690301, 'created_at': datetime.datetime(2025, 8, 6, 6, 7, 59), 'result': '0.062430196184550556', 'result_long': None, 'result_double': None}] Qualite : 0.062430196184550556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25690301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690301_06-08-2025_06_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25690301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690301_06-08-2025_06_08_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25690336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25690337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25690338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25690339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25690340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25690341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25690342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25690343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25690344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25690345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25690346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25690347, 'pht': 3726}}" where mtr_portfolio_id = 25690301 and dashboard_run_id = 2078453 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`=25690301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638754, 0.062430196184550556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690301_06-08-2025_06_08_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25690336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25690337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25690338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25690339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25690340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25690341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25690342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25690343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25690344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25690345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25690346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25690347, '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 = 25690958 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': 3455265, 'mtr_portfolio_id': 25690958, 'created_at': datetime.datetime(2025, 8, 6, 6, 8, 31), 'result': '0.057820966428021175', 'result_long': None, 'result_double': None}] Qualite : 0.057820966428021175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25690958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690958_06-08-2025_06_08_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25690958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690958_06-08-2025_06_08_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25690997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25690998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25690999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25691000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25691001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25691002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25691003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25691004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25691005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25691006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25691007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25691008, 'pht': 3726}}" where mtr_portfolio_id = 25690958 and dashboard_run_id = 2078453 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`=25690958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638755, 0.057820966428021175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25690958_06-08-2025_06_08_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25690997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25690998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25690999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25691000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25691001, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25691002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25691003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25691004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25691005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25691006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25691007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25691008, '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 = 25691602 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': 3455266, 'mtr_portfolio_id': 25691602, 'created_at': datetime.datetime(2025, 8, 6, 6, 9, 28), 'result': '0.06952777934190207', 'result_long': None, 'result_double': None}] Qualite : 0.06952777934190207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25691602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691602_06-08-2025_06_09_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691602 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691602_06-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25691680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25691681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25691682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25691683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25691685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25691686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25691688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25691689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25691690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25691691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25691692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25691693, 'pht': 3726}}" where mtr_portfolio_id = 25691602 and dashboard_run_id = 2078453 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`=25691602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638756, 0.06952777934190207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691602_06-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25691680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25691681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25691682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25691683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25691685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25691686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25691688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25691689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25691690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25691691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25691692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25691693, '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 = 25692291 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': 3455267, 'mtr_portfolio_id': 25692291, 'created_at': datetime.datetime(2025, 8, 6, 6, 9, 57), 'result': '0.06200714535155285', 'result_long': None, 'result_double': None}] Qualite : 0.06200714535155285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25692291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692291_06-08-2025_06_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25692291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692291_06-08-2025_06_10_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25692319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25692320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25692321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25692322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25692323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25692324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25692325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25692326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25692327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25692328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25692329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25692330, 'pht': 3726}}" where mtr_portfolio_id = 25692291 and dashboard_run_id = 2078453 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`=25692291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638757, 0.06200714535155285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692291_06-08-2025_06_10_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25692319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25692320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25692321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25692322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25692323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25692324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25692325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25692326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25692327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25692328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25692329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25692330, '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 = 25692955 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': 3455268, 'mtr_portfolio_id': 25692955, 'created_at': datetime.datetime(2025, 8, 6, 6, 10, 30), 'result': '0.04723858940537502', 'result_long': None, 'result_double': None}] Qualite : 0.04723858940537502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25692955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692955_06-08-2025_06_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25692955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692955_06-08-2025_06_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25692964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25692965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25692966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25692967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25692968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25692969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25692970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25692971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25692972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25692973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25692974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25692975, 'pht': 3726}}" where mtr_portfolio_id = 25692955 and dashboard_run_id = 2078453 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`=25692955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638758, 0.04723858940537502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692955_06-08-2025_06_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25692964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25692965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25692966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25692967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25692968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25692969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25692970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25692971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25692972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25692973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25692974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25692975, '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 = 25693423 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': 3455269, 'mtr_portfolio_id': 25693423, 'created_at': datetime.datetime(2025, 8, 6, 6, 10, 40), 'result': '0.03281277439806814', 'result_long': None, 'result_double': None}] Qualite : 0.03281277439806814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25693423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25693423_06-08-2025_06_10_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25693423 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25693423_06-08-2025_06_10_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25693499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25693500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25693501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25693502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25693503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25693504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25693505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25693506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25693507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25693508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25693509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25693510, 'pht': 3726}}" where mtr_portfolio_id = 25693423 and dashboard_run_id = 2078453 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`=25693423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638759, 0.03281277439806814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25693423_06-08-2025_06_10_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25693499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25693500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25693501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25693502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25693503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25693504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25693505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25693506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25693507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25693508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25693509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25693510, '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 = 25694193 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': 3455270, 'mtr_portfolio_id': 25694193, 'created_at': datetime.datetime(2025, 8, 6, 6, 11, 27), 'result': '0.04616283331890298', 'result_long': None, 'result_double': None}] Qualite : 0.04616283331890298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25694193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25694193_06-08-2025_06_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25694193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25694193_06-08-2025_06_11_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25694231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25694232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25694233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25694234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25694235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25694236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25694237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25694238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25694239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25694240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25694241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25694242, 'pht': 3726}}" where mtr_portfolio_id = 25694193 and dashboard_run_id = 2078453 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`=25694193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638760, 0.04616283331890298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25694193_06-08-2025_06_11_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25694231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25694232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25694233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25694234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25694235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25694236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25694237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25694238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25694239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25694240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25694241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25694242, '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 = 25695558 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': 3455271, 'mtr_portfolio_id': 25695558, 'created_at': datetime.datetime(2025, 8, 6, 6, 11, 57), 'result': '0.07546589842055501', 'result_long': None, 'result_double': None}] Qualite : 0.07546589842055501 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25695558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695558_06-08-2025_06_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695558_06-08-2025_06_11_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25695573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25695574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25695575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25695576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25695577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25695578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25695579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25695580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25695581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25695582, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25695583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25695584, 'pht': 3726}}" where mtr_portfolio_id = 25695558 and dashboard_run_id = 2078453 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`=25695558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638761, 0.07546589842055501, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695558_06-08-2025_06_11_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25695573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25695574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25695575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25695576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25695577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25695578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25695579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25695580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25695581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25695582, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25695583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25695584, '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 = 25696002 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': 3455272, 'mtr_portfolio_id': 25696002, 'created_at': datetime.datetime(2025, 8, 6, 6, 12, 29), 'result': '0.044939994288021', 'result_long': None, 'result_double': None}] Qualite : 0.044939994288021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25696002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696002_06-08-2025_06_12_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696002_06-08-2025_06_12_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25696007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25696008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25696009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25696010, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25696011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25696012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25696013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25696014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25696015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25696016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25696017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25696018, 'pht': 3726}}" where mtr_portfolio_id = 25696002 and dashboard_run_id = 2078453 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`=25696002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638762, 0.044939994288021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696002_06-08-2025_06_12_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25696007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25696008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25696009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25696010, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25696011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25696012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25696013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25696014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25696015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25696016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25696017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25696018, '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 = 25696435 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': 3455273, 'mtr_portfolio_id': 25696435, 'created_at': datetime.datetime(2025, 8, 6, 6, 13, 30), 'result': '0.05595290841133162', 'result_long': None, 'result_double': None}] Qualite : 0.05595290841133162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25696435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696435_06-08-2025_06_13_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696435_06-08-2025_06_13_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25696457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25696458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25696459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25696460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25696461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25696462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25696463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25696464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25696465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25696466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25696467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25696468, 'pht': 3726}}" where mtr_portfolio_id = 25696435 and dashboard_run_id = 2078453 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`=25696435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638763, 0.05595290841133162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696435_06-08-2025_06_13_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25696457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25696458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25696459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25696460, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25696461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25696462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25696463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25696464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25696465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25696466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25696467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25696468, '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 = 25697105 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': 3455274, 'mtr_portfolio_id': 25697105, 'created_at': datetime.datetime(2025, 8, 6, 6, 13, 59), 'result': '0.037839904473479576', 'result_long': None, 'result_double': None}] Qualite : 0.037839904473479576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25697105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697105_06-08-2025_06_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25697105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697105_06-08-2025_06_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25697116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25697117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25697118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25697119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25697120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25697121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25697122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25697123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25697124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25697125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25697126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25697127, 'pht': 3726}}" where mtr_portfolio_id = 25697105 and dashboard_run_id = 2078453 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`=25697105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638764, 0.037839904473479576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697105_06-08-2025_06_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25697116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25697117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25697118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25697119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25697120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25697121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25697122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25697123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25697124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25697125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25697126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25697127, '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 = 25697804 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': 3455275, 'mtr_portfolio_id': 25697804, 'created_at': datetime.datetime(2025, 8, 6, 6, 14, 31), 'result': '0.034705856547590196', 'result_long': None, 'result_double': None}] Qualite : 0.034705856547590196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25697804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697804_06-08-2025_06_14_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25697804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697804_06-08-2025_06_14_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25697869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25697870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25697871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25697872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25697873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25697874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25697875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25697876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25697877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25697878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25697879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25697880, 'pht': 3726}}" where mtr_portfolio_id = 25697804 and dashboard_run_id = 2078453 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`=25697804 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638765, 0.034705856547590196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25697804_06-08-2025_06_14_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25697869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25697870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25697871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25697872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25697873, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25697874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25697875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25697876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25697877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25697878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25697879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25697880, '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 = 25698628 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': 3455276, 'mtr_portfolio_id': 25698628, 'created_at': datetime.datetime(2025, 8, 6, 6, 15, 31), 'result': '0.059944230757536056', 'result_long': None, 'result_double': None}] Qualite : 0.059944230757536056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25698628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25698628_06-08-2025_06_15_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25698628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25698628_06-08-2025_06_15_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25698706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25698707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25698708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25698709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25698710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25698711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25698712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25698713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25698714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25698715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25698716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25698717, 'pht': 3726}}" where mtr_portfolio_id = 25698628 and dashboard_run_id = 2078453 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`=25698628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638766, 0.059944230757536056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25698628_06-08-2025_06_15_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25698706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25698707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25698708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25698709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25698710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25698711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25698712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25698713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25698714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25698715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25698716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25698717, '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 = 25699254 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': 3455277, 'mtr_portfolio_id': 25699254, 'created_at': datetime.datetime(2025, 8, 6, 6, 15, 40), 'result': '0.05174500777960789', 'result_long': None, 'result_double': None}] Qualite : 0.05174500777960789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25699254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699254_06-08-2025_06_15_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25699254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699254_06-08-2025_06_15_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25699277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25699278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25699279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25699280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25699281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25699282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25699284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25699285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25699286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25699287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25699288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25699289, 'pht': 3726}}" where mtr_portfolio_id = 25699254 and dashboard_run_id = 2078453 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`=25699254 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638767, 0.05174500777960789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699254_06-08-2025_06_15_43.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25699277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25699278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25699279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25699280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25699281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25699282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25699284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25699285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25699286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25699287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25699288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25699289, '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 = 25699861 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': 3455278, 'mtr_portfolio_id': 25699861, 'created_at': datetime.datetime(2025, 8, 6, 6, 15, 59), 'result': '0.045264227388221785', 'result_long': None, 'result_double': None}] Qualite : 0.045264227388221785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25699861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699861_06-08-2025_06_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25699861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699861_06-08-2025_06_16_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25699880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25699881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25699882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25699883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25699884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25699885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25699887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25699888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25699889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25699890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25699891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25699892, 'pht': 3726}}" where mtr_portfolio_id = 25699861 and dashboard_run_id = 2078453 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`=25699861 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638768, 0.045264227388221785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699861_06-08-2025_06_16_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25699880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25699881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25699882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25699883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25699884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25699885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25699887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25699888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25699889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25699890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25699891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25699892, '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 = 25700395 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': 3453445, 'mtr_portfolio_id': 25700395, 'created_at': datetime.datetime(2025, 8, 5, 20, 18, 57), 'result': '0.027697805820148445', 'result_long': None, 'result_double': None}] Qualite : 0.027697805820148445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25700395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700395_05-08-2025_20_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700395_05-08-2025_20_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25700438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25700439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25700440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25700441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25700442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25700443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25700444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25700445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25700446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25700447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25700448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25700449, 'pht': 3726}}" where mtr_portfolio_id = 25700395 and dashboard_run_id = 2078453 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`=25700395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638769, 0.027697805820148445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700395_05-08-2025_20_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25700438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25700439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25700440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25700441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25700442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25700443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25700444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25700445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25700446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25700447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25700448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25700449, '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 = 25700999 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': 3453553, 'mtr_portfolio_id': 25700999, 'created_at': datetime.datetime(2025, 8, 5, 20, 32, 58), 'result': '0.03314108872652219', 'result_long': None, 'result_double': None}] Qualite : 0.03314108872652219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25700999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700999_05-08-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700999_05-08-2025_20_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25701062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25701063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25701064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25701065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25701066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25701067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25701068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25701069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25701070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25701071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25701072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25701073, 'pht': 3726}}" where mtr_portfolio_id = 25700999 and dashboard_run_id = 2078453 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`=25700999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638770, 0.03314108872652219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700999_05-08-2025_20_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25701062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25701063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25701064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25701065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25701066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25701067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25701068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25701069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25701070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25701071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25701072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25701073, '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 = 25701540 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': 3453675, 'mtr_portfolio_id': 25701540, 'created_at': datetime.datetime(2025, 8, 5, 21, 9, 28), 'result': '0.07479375162308148', 'result_long': None, 'result_double': None}] Qualite : 0.07479375162308148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25701540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25701540_05-08-2025_21_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25701540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25701540_05-08-2025_21_09_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25701558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25701559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25701560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25701561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25701562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25701563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25701564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25701565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25701566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25701567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25701568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25701569, 'pht': 3726}}" where mtr_portfolio_id = 25701540 and dashboard_run_id = 2078453 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`=25701540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638771, 0.07479375162308148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25701540_05-08-2025_21_09_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25701558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25701559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25701560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25701561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25701562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25701563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25701564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25701565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25701566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25701567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25701568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25701569, '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 = 25702748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25702748 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 25702748 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25702748 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25702748 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3454020, 'mtr_portfolio_id': 25702748, 'created_at': datetime.datetime(2025, 8, 5, 21, 16, 30), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25702748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702748_05-08-2025_21_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702748_05-08-2025_21_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25702770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25702771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25702772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25702773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25702774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25702775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25702776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25702777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25702778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25702779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25702780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25702781, 'pht': 3726}}" where mtr_portfolio_id = 25702748 and dashboard_run_id = 2078453 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`=25702748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638772, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702748_05-08-2025_21_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25702770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25702771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25702772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25702773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25702774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25702775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25702776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25702777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25702778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25702779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25702780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25702781, '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 = 25703032 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': 3454073, 'mtr_portfolio_id': 25703032, 'created_at': datetime.datetime(2025, 8, 5, 21, 32, 58), 'result': '0.08096338558304277', 'result_long': None, 'result_double': None}] Qualite : 0.08096338558304277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25703032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703032_05-08-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25703032 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703032_05-08-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25703052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25703053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25703055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25703056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25703057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25703059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25703060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25703061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25703063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25703064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25703065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25703066, 'pht': 3726}}" where mtr_portfolio_id = 25703032 and dashboard_run_id = 2078453 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`=25703032 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638773, 0.08096338558304277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703032_05-08-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25703052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25703053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25703055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25703056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25703057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25703059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25703060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25703061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25703063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25703064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25703065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25703066, '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 = 25703384 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': 3454113, 'mtr_portfolio_id': 25703384, 'created_at': datetime.datetime(2025, 8, 5, 21, 46, 30), 'result': '0.021248189673693088', 'result_long': None, 'result_double': None}] Qualite : 0.021248189673693088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25703384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703384_05-08-2025_21_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25703384 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703384_05-08-2025_21_46_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25703385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25703386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25703387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25703388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25703389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25703390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25703391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25703392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25703393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25703394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25703395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25703396, 'pht': 3726}}" where mtr_portfolio_id = 25703384 and dashboard_run_id = 2078453 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`=25703384 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638774, 0.021248189673693088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703384_05-08-2025_21_46_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25703385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25703386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25703387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25703388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25703389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25703390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25703391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25703392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25703393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25703394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25703395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25703396, '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 = 25704044 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': 3454244, 'mtr_portfolio_id': 25704044, 'created_at': datetime.datetime(2025, 8, 5, 22, 18, 58), 'result': '0.08156931397906231', 'result_long': None, 'result_double': None}] Qualite : 0.08156931397906231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25704044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25704044_05-08-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25704044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25704044_05-08-2025_22_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25704056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25704057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25704058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25704059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25704060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25704061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25704062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25704063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25704064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25704065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25704066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25704067, 'pht': 3726}}" where mtr_portfolio_id = 25704044 and dashboard_run_id = 2078453 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`=25704044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638775, 0.08156931397906231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25704044_05-08-2025_22_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25704056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25704057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25704058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25704059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25704060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25704061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25704062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25704063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25704064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25704065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25704066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25704067, '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 = 25706103 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': 3454376, 'mtr_portfolio_id': 25706103, 'created_at': datetime.datetime(2025, 8, 5, 23, 18, 58), 'result': '0.033451373568224974', 'result_long': None, 'result_double': None}] Qualite : 0.033451373568224974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25706103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706103_05-08-2025_23_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25706103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706103_05-08-2025_23_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25706105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706116, 'pht': 3726}}" where mtr_portfolio_id = 25706103 and dashboard_run_id = 2078453 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`=25706103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638776, 0.033451373568224974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706103_05-08-2025_23_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25706105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706116, '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 = 25706731 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': 3454423, 'mtr_portfolio_id': 25706731, 'created_at': datetime.datetime(2025, 8, 5, 23, 52, 30), 'result': '0.10247651137012306', 'result_long': None, 'result_double': None}] Qualite : 0.10247651137012306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25706731 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706731_05-08-2025_23_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25706731 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706731_05-08-2025_23_52_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25706740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706744, 'pht': 3726}}" where mtr_portfolio_id = 25706731 and dashboard_run_id = 2078453 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`=25706731 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638777, 0.10247651137012306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706731_05-08-2025_23_52_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25706740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706744, '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 = 25706866 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': 3454461, 'mtr_portfolio_id': 25706866, 'created_at': datetime.datetime(2025, 8, 6, 0, 21), 'result': '0.04968593550525024', 'result_long': None, 'result_double': None}] Qualite : 0.04968593550525024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25706866 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706866_06-08-2025_00_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25706866 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706866_06-08-2025_00_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25706872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706880, 'pht': 3726}}" where mtr_portfolio_id = 25706866 and dashboard_run_id = 2078453 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`=25706866 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13638778, 0.04968593550525024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25706866_06-08-2025_00_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25706869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25706870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25706871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25706872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25706873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25706874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25706875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25706876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25706877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25706878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25706879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25706880, '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 (25656824,25657102,25657469,25657869,25659113,25659455,25659773,25660335,25660840,25661324,25661814,25662166,25662636,25663241,25663405,25664547,25664823,25665083,25665398,25665682,25666221,25666675,25667065,25667514,25668205,25668755,25669367,25669897,25670627,25671246,25672051,25674437,25674964,25675491,25676395,25677216,25677956,25678774,25679889,25680683,25681588,25682251,25686002,25686107,25686614,25687010,25687440,25687915,25688559,25689162,25689632,25690301,25690958,25691602,25692291,25692955,25693423,25694193,25695558,25696002,25696435,25697105,25697804,25698628,25699254,25699861,25700395,25700999,25701540,25702748,25703032,25703384,25704044,25706103,25706731,25706866) result : ((1375186508,), (1375186513,), (1375186530,), (1375186915,), (1375186939,), (1375186963,), (1375186987,), (1375187242,), (1375187243,), (1375187244,), (1375187246,), (1375187249,), (1375187251,), (1375187454,), (1375187459,), (1375187473,), (1375187633,), (1375187635,), (1375187637,), (1375187647,), (1375187648,), (1375187649,), (1375187651,), (1375187661,), (1375187662,), (1375187663,), (1375187665,), (1375187672,), (1375187690,), (1375187710,), (1375187711,), (1375187712,), (1375187720,), (1375187721,), (1375187722,), (1375187723,), (1375187746,), (1375187751,), (1375187753,), (1375187755,), (1375187757,), (1375187760,), (1375187768,), (1375187769,), (1375187771,), (1375187773,), (1375187776,), (1375187781,), (1375187789,), (1375187792,), (1375187797,), (1375187800,), (1375187801,), (1375187802,), (1375187804,), (1375187807,), (1375187858,), (1375187859,), (1375187860,), (1375187877,), (1375187878,), (1375187879,), (1375187881,), (1375187891,), (1375187892,), (1375187893,), (1375187895,), (1375187899,), (1375187915,), (1375187911,), (1375187912,), (1375187913,), (1375187949,), (1375187950,), (1375188005,), (1375188006,), (1375188007,), (1375188009,), (1375188026,), (1375188027,), (1375188028,), (1375188030,), (1375188031,), (1375188043,), (1375188044,), (1375188045,), (1375188047,), (1375188051,), (1375188063,), (1375188065,), (1375188070,), (1375188072,), (1375188082,), (1375188083,), (1375188084,), (1375188100,), (1375188101,), (1375188102,), (1375188104,), (1375188120,), (1375188121,), (1375188123,), (1375188126,), (1375188128,), (1375188131,), (1375188139,), (1375188141,), (1375188144,), (1375188146,), (1375188147,), (1375188148,), (1375188152,), (1375188153,), (1375188154,), (1375188155,), (1375188156,), (1375188157,), (1375188163,), (1375188166,), (1375188169,), (1375188171,), (1375188173,), (1375188174,), (1375188175,), (1375188177,), (1375188199,), (1375188200,), (1375188201,), (1375188203,), (1375188204,), (1375188209,), (1375188217,), (1375188218,), (1375188219,), (1375188221,), (1375188224,), (1375188235,), (1375188237,), (1375188238,), (1375188240,), (1375188245,), (1375188265,), (1375188261,), (1375188262,), (1375188263,), (1375188274,), (1375188275,), (1375188276,), (1375188278,), (1375188279,), (1375188295,), (1375188298,), (1375188300,), (1375188305,), (1375188311,), (1375188313,), (1375188316,), (1375188318,), (1375188319,), (1375188322,), (1375188333,), (1375188338,), (1375188342,), (1375188344,), (1375188347,), (1375188349,), (1375188355,), (1375188356,), (1375188358,), (1375188359,), (1375188361,), (1375188366,), (1375188368,), (1375188371,), (1375188373,), (1375188383,), (1375188384,), (1375188385,), (1375188388,), (1375188391,), (1375188407,), (1375188408,), (1375188409,), (1375188410,), (1375188414,), (1375188429,), (1375188430,), (1375188431,), (1375188433,), (1375188441,), (1375188450,), (1375188455,), (1375188471,), (1375188475,), (1375188476,), (1375188477,), (1375188479,), (1375188493,), (1375188494,), (1375188495,), (1375188510,), (1375188511,), (1375188512,), (1375188528,), (1375188529,), (1375188531,), (1375188536,), (1375188539,), (1375188548,), (1375188551,), (1375188554,), (1375188556,), (1375188559,), (1375188561,), (1375188564,), (1375188565,), (1375188582,), (1375188579,), (1375188580,), (1375188603,), (1375188604,), (1375188618,), (1375188619,), (1375188630,), (1375188631,), (1375188652,), (1375188653,), (1375188669,), (1375188670,), (1375188671,), (1375188674,), (1375188677,), (1375188693,), (1375188694,), (1375188695,), (1375188697,), (1375188699,), (1375188702,), (1375188752,), (1375188753,), (1375188754,), (1375188756,), (1375188771,), (1375188773,), (1375188775,), (1375188779,), (1375188783,), (1375188786,), (1375188791,), (1375188794,), (1375188797,), (1375188799,), (1375188802,), (1375188804,), (1375188806,), (1375188807,), (1375188808,), (1375188819,), (1375188820,), (1375188821,), (1375188839,), (1375189148,), (1375189174,), (1375189195,), (1375189221,), (1375189237,), (1375189542,), (1375189573,), (1375191835,), (1375191831,), (1375191832,), (1375191833,), (1375191856,), (1375191857,), (1375191858,), (1375191893,), (1375191894,), (1375191895,), (1375191913,), (1375191914,), (1375191915,), (1375191917,), (1375191928,), (1375191948,), (1375191949,), (1375191973,), (1375191974,), (1375191975,), (1375191977,), (1375191994,), (1375191995,), (1375192007,), (1375192008,), (1375192009,), (1375192011,), (1375192039,), (1375192040,), (1375192041,), (1375192049,), (1375192050,), (1375192051,), (1375192053,), (1375192077,), (1375192078,), (1375192079,), (1375192096,), (1375192097,), (1375192098,), (1375192100,), (1375192103,), (1375192111,), (1375192112,), (1375192114,), (1375192117,), (1375192120,), (1375192122,), (1375192133,), (1375192138,), (1375192143,), (1375192148,), (1375192152,), (1375192155,), (1375192158,), (1375192162,), (1375192167,), (1375192168,), (1375192169,), (1375192170,), (1375192182,), (1375192184,), (1375192189,), (1375192194,), (1375192195,), (1375192196,), (1375192198,), (1375192210,), (1375192221,), (1375192227,), (1375192229,), (1375192231,), (1375192247,), (1375192248,), (1375192266,), (1375192267,), (1375192268,), (1375192281,), (1375192283,), (1375192285,), (1375192300,), (1375192301,), (1375192302,), (1375192318,), (1375192319,), (1375192332,), (1375192333,), (1375192335,), (1375192339,), (1375192343,), (1375192345,), (1375192356,), (1375192358,), (1375192361,), (1375192364,), (1375192366,), (1375192369,), (1375192374,), (1375192377,), (1375192380,), (1375192383,), (1375192385,), (1375192387,), (1375192390,), (1375192391,), (1375192392,), (1375192401,), (1375192405,), (1375192406,), (1375192413,), (1375192416,), (1375192420,), (1375192422,), (1375192490,), (1375192514,), (1375192544,), (1375192916,), (1375192918,), (1375192921,), (1375192923,), (1375192951,), (1375192944,), (1375192946,), (1375192948,), (1375193086,), (1375193108,), (1375193131,), (1375193154,), (1375193178,), (1375193596,), (1375193618,), (1375193639,), (1375193664,), (1375193687,), (1375194177,), (1375194194,), (1375194196,), (1375194199,), (1375194201,), (1375194204,), (1375194364,), (1375194408,), (1375194457,), (1375194493,), (1375194530,), (1375194552,), (1375194684,), (1375194733,), (1375194761,), (1375194785,), (1375194809,), (1375194926,), (1375194981,), (1375195036,), (1375195210,), (1375195211,), (1375195212,), (1375195395,), (1375195427,), (1375195557,), (1375195581,), (1375195597,), (1375195606,), (1375195608,), (1375195622,), (1375195623,), (1375195624,), (1375195626,), (1375195645,), (1375195646,), (1375195648,), (1375195671,), (1375195672,), (1375195673,), (1375195683,), (1375195684,), (1375195685,), (1375195703,), (1375195704,), (1375195706,), (1375195709,), (1375195711,), (1375195722,), (1375195723,), (1375195725,), (1375195726,), (1375195728,), (1375195753,), (1375195749,), (1375195750,), (1375195751,), (1375195765,), (1375195767,), (1375195768,), (1375195769,), (1375195779,), (1375195780,), (1375195781,), (1375195798,), (1375195799,), (1375195800,), (1375195816,), (1375195817,), (1375195818,), (1375195833,), (1375195834,), (1375195861,), (1375195862,), (1375195863,), (1375195868,), (1375195869,), (1375195870,), (1375195871,), (1375195888,), (1375195890,), (1375195891,), (1375195892,), (1375195906,), (1375195907,), (1375195908,), (1375195909,), (1375195922,), (1375195923,), (1375195924,), (1375195925,), (1375195928,), (1375195937,), (1375195938,), (1375195939,), (1375195940,), (1375195955,), (1375195956,), (1375195968,), (1375195969,), (1375195970,), (1375195971,), (1375195990,), (1375195991,), (1375195993,), (1375195994,), (1375195996,), (1375196011,), (1375196007,), (1375196008,), (1375196009,), (1375196041,), (1375196042,), (1375196043,), (1375196044,), (1375196059,), (1375196060,), (1375196084,), (1375196085,), (1375196087,), (1375196090,), (1375196093,), (1375196095,), (1375196103,), (1375196104,), (1375196107,), (1375196110,), (1375196112,), (1375196116,), (1375196122,), (1375196125,), (1375196133,), (1375196134,), (1375196135,), (1375196136,), (1375196139,), (1375196142,), (1375196178,), (1375196179,), (1375196180,), (1375196181,), (1375196183,), (1375196195,), (1375196196,), (1375196197,), (1375196198,), (1375196207,), (1375196208,), (1375196209,), (1375196211,), (1375196214,), (1375196226,), (1375196227,), (1375196228,), (1375196229,), (1375196233,), (1375196236,), (1375196246,), (1375196250,), (1375196254,), (1375196262,), (1375196265,), (1375196269,), (1375196270,), (1375196272,), (1375196286,), (1375196287,), (1375196288,), (1375196290,), (1375196292,), (1375196310,), (1375196311,), (1375196312,), (1375196314,), (1375196317,), (1375196319,), (1375196335,), (1375196336,), (1375196340,), (1375196343,), (1375196345,), (1375196349,), (1375196353,), (1375196356,), (1375196358,), (1375196359,), (1375196360,), (1375196367,), (1375196363,), (1375196365,), (1375196376,), (1375196377,), (1375196434,), (1375196439,), (1375196465,), (1375196466,), (1375196468,), (1375196470,), (1375196481,), (1375196482,), (1375196483,), (1375196485,), (1375196503,), (1375196504,), (1375196505,), (1375196507,), (1375196520,), (1375196521,), (1375196569,), (1375196572,), (1375196575,), (1375196579,), (1375196586,), (1375196589,), (1375196592,), (1375196595,), (1375196596,), (1375196610,), (1375196615,), (1375196619,), (1375196621,), (1375196625,), (1375196629,), (1375196632,), (1375196633,), (1375196651,), (1375196652,), (1375196653,), (1375196670,), (1375196671,), (1375197242,), (1375197286,), (1375197338,), (1375197390,), (1375197437,), (1375197483,), (1375197607,), (1375197637,), (1375197652,), (1375197678,), (1375197739,), (1375198706,), (1375198724,), (1375198725,), (1375198740,), (1375198755,), (1375198756,), (1375198826,), (1375198828,), (1375198831,), (1375198833,), (1375198847,), (1375198848,), (1375198866,), (1375198867,), (1375198868,), (1375198870,), (1375198907,), (1375198908,), (1375198909,), (1375198911,), (1375198929,), (1375198930,), (1375198931,), (1375198982,), (1375199000,), (1375199001,), (1375199003,), (1375199006,), (1375199021,), (1375199022,), (1375199050,), (1375199043,), (1375199044,), (1375199045,), (1375199047,), (1375199079,), (1375199080,), (1375199104,), (1375199122,), (1375199123,), (1375199124,), (1375199126,), (1375199130,), (1375199141,), (1375199142,), (1375199156,), (1375199157,), (1375199158,), (1375199160,), (1375199164,), (1375199167,), (1375199206,), (1375199207,), (1375199208,), (1375199272,), (1375199292,), (1375199293,), (1375199295,), (1375199307,), (1375199308,), (1375199309,), (1375199328,), (1375199329,), (1375199330,), (1375199338,), (1375199339,), (1375199340,), (1375199342,), (1375199345,), (1375199383,), (1375199384,), (1375199394,), (1375199395,), (1375199396,), (1375199398,), (1375199399,), (1375199416,), (1375199418,), (1375199419,), (1375199422,), (1375199424,), (1375199465,), (1375199460,), (1375199462,), (1375199463,), (1375199478,), (1375199479,), (1375199480,), (1375199490,), (1375199491,), (1375199492,), (1375199495,), (1375199497,), (1375199511,), (1375199512,), (1375199514,), (1375199517,), (1375199520,), (1375199522,), (1375199529,), (1375199532,), (1375199535,), (1375199536,), (1375199537,), (1375199538,), (1375199539,), (1375199543,), (1375199547,), (1375199548,), (1375199549,), (1375199550,), (1375199556,), (1375199559,), (1375199561,), (1375199564,), (1375199566,), (1375199567,), (1375199570,), (1375199571,), (1375199576,), (1375199580,), (1375199584,), (1375199587,), (1375199588,), (1375199589,), (1375199590,), (1375199592,), (1375199607,), (1375199608,), (1375199609,), (1375199611,), (1375199613,), (1375199624,), (1375199625,), (1375199626,), (1375199629,), (1375199633,), (1375199668,), (1375199670,), (1375199673,), (1375199678,), (1375199683,), (1375199685,), (1375199702,), (1375199703,), (1375199704,), (1375199706,), (1375199715,), (1375199716,), (1375199718,), (1375199720,), (1375199740,), (1375199741,), (1375199743,), (1375199746,), (1375199747,), (1375199750,), (1375199758,), (1375199759,), (1375199764,), (1375199766,), (1375199767,), (1375199770,), (1375199772,), (1375199773,), (1375199825,), (1375199974,), (1375200000,), (1375200002,), (1375200004,), (1375200008,), (1375200011,), (1375200024,), (1375200025,), (1375200026,), (1375200028,), (1375200037,), (1375200053,), (1375200054,), (1375200055,), (1375200057,), (1375200076,), (1375200077,), (1375200078,), (1375200080,), (1375200084,), (1375200104,), (1375200107,), (1375200110,), (1375200113,), (1375200116,), (1375200122,), (1375200125,), (1375200130,), (1375200144,), (1375200200,), (1375200164,), (1375200166,), (1375200173,), (1375200483,), (1375200505,), (1375200525,), (1375200545,), (1375200571,), (1375200792,), (1375200793,), (1375200794,), (1375200797,), (1375200801,), (1375201013,), (1375201018,), (1375201020,), (1375201023,), (1375201033,), (1375201059,), (1375201328,), (1375201350,), (1375201374,), (1375201403,), (1375201425,), (1375201447,), (1375201544,), (1375201567,), (1375201584,), (1375201586,), (1375201587,), (1375201600,), (1375201654,), (1375201668,), (1375201680,), (1375201683,), (1375201685,), (1375201689,), (1375201697,), (1375201698,), (1375201701,), (1375201705,), (1375201910,), (1375201939,), (1375201962,), (1375201986,), (1375202015,), (1375202040,), (1375202226,), (1375202227,), (1375202228,), (1375202400,), (1375202424,), (1375202586,), (1375204885,), (1375204857,), (1375205197,), (1375205571,), (1375205574,), (1375205596,), (1375205598,), (1375205600,), (1375205603,), (1375205610,), (1375205653,), (1375205655,), (1375205657,), (1375205660,), (1375205664,), (1375205681,), (1375205682,), (1375205683,), (1375205685,), (1375205687,), (1375205689,), (1375205706,), (1375205751,), (1375205752,), (1375205753,), (1375205755,), (1375205784,), (1375205785,), (1375205786,), (1375205830,), (1375205857,), (1375205858,), (1375205881,), (1375205884,), (1375205885,), (1375205887,), (1375205926,), (1375205923,), (1375205924,), (1375205989,), (1375205991,), (1375205992,), (1375206003,), (1375206005,), (1375206006,), (1375206008,), (1375206010,), (1375206028,), (1375206031,), (1375206063,), (1375206065,), (1375206066,), (1375206070,), (1375206074,), (1375206089,), (1375206091,), (1375206093,), (1375206095,), (1375206098,), (1375206122,), (1375206127,), (1375206131,), (1375206137,), (1375206189,), (1375206191,), (1375206192,), (1375206194,), (1375206196,), (1375206197,), (1375206205,), (1375206207,), (1375206209,), (1375206212,), (1375206214,), (1375206216,), (1375206220,), (1375206229,), (1375206234,), (1375206236,), (1375206237,), (1375206239,), (1375206245,), (1375206246,), (1375206248,), (1375206249,), (1375206251,), (1375206252,), (1375206255,), (1375206256,), (1375206258,), (1375206259,), (1375206260,), (1375206261,), (1375206263,), (1375206265,), (1375206267,), (1375206269,), (1375206270,), (1375206273,), (1375206327,), (1375206334,), (1375206335,), (1375206338,), (1375206357,), (1375206385,), (1375206387,), (1375206389,), (1375206391,), (1375206404,), (1375206406,), (1375206407,), (1375206410,), (1375206413,), (1375206445,), (1375206442,), (1375206444,), (1375206463,), (1375206465,), (1375206467,), (1375206470,), (1375206472,), (1375206484,), (1375206519,), (1375206521,), (1375206523,), (1375206526,), (1375206528,), (1375206535,), (1375206537,), (1375206541,), (1375206544,), (1375206547,), (1375206549,), (1375206559,), (1375206561,), (1375206563,), (1375206565,), (1375206566,), (1375206568,), (1375206573,), (1375206574,), (1375206575,), (1375206576,), (1375206577,), (1375206578,), (1375206581,), (1375206583,), (1375206585,), (1375206587,), (1375206589,), (1375206597,), (1375206598,), (1375206599,), (1375206650,), (1375206657,), (1375206659,), (1375206677,), (1375206679,), (1375206680,), (1375206681,), (1375206699,), (1375206700,), (1375206701,), (1375206740,), (1375206743,), (1375206744,), (1375206747,), (1375206751,), (1375206753,), (1375206769,), (1375206770,), (1375206771,), (1375206773,), (1375206775,), (1375206786,), (1375206787,), (1375206789,), (1375206791,), (1375206816,), (1375206817,), (1375206820,), (1375206822,), (1375206824,), (1375206826,), (1375206865,), (1375206867,), (1375206870,), (1375206872,), (1375206874,), (1375206876,), (1375206878,), (1375206880,), (1375206882,), (1375206884,), (1375206886,), (1375206890,), (1375206897,), (1375206898,), (1375206894,), (1375206896,), (1375206902,), (1375206905,), (1375206908,), (1375206925,), (1375206927,), (1375206929,), (1375206931,), (1375206934,), (1375206945,), (1375206947,), (1375206948,), (1375206950,), (1375206952,), (1375206961,), (1375206962,), (1375206963,), (1375207000,), (1375207002,), (1375207004,), (1375207007,), (1375207029,), (1375207030,), (1375207031,), (1375207033,), (1375207036,), (1375207051,), (1375207053,), (1375207055,), (1375207065,), (1375207068,), (1375207070,), (1375207081,), (1375207082,), (1375207122,), (1375207123,), (1375207124,), (1375207536,), (1375207540,), (1375207546,), (1375207583,), (1375208086,), (1375208001,), (1375208042,), (1375208063,), (1375208238,), (1375208262,), (1375208263,), (1375208265,), (1375208267,), (1375208279,), (1375208280,), (1375208281,), (1375208283,), (1375208286,), (1375208294,), (1375208295,), (1375208296,), (1375208298,), (1375208302,), (1375208503,), (1375208524,), (1375208545,), (1375208573,), (1375208600,), (1375208624,), (1375208851,), (1375208880,), (1375208906,), (1375208931,), (1375209033,), (1375209055,), (1375209076,), (1375209099,), (1375209202,), (1375209203,), (1375209214,), (1375209237,), (1375209317,), (1375209318,), (1375209319,), (1375209321,), (1375209336,), (1375209337,), (1375209338,), (1375209380,), (1375209381,), (1375209382,), (1375209384,), (1375209387,), (1375209398,), (1375209399,), (1375209401,), (1375209404,), (1375209406,), (1375209408,), (1375209417,), (1375209419,), (1375209421,), (1375209427,), (1375209432,), (1375209433,), (1375209447,), (1375209448,), (1375209450,), (1375209453,), (1375209469,), (1375209482,), (1375209480,), (1375209481,), (1375209505,), (1375209507,), (1375209508,), (1375209524,), (1375209534,), (1375209535,), (1375209536,), (1375209552,), (1375209553,), (1375209554,), (1375209631,), (1375209651,), (1375209652,), (1375209654,), (1375209657,), (1375209659,), (1375209662,), (1375209669,), (1375209671,), (1375209673,), (1375209675,), (1375209676,), (1375209678,), (1375209685,), (1375209688,), (1375209704,), (1375209705,), (1375209706,), (1375209707,), (1375209727,), (1375209745,), (1375209748,), (1375209751,), (1375209765,), (1375209767,), (1375209768,), (1375209770,), (1375209772,), (1375209787,), (1375209789,), (1375209790,), (1375209792,), (1375209793,), (1375209806,), (1375209809,), (1375209810,), (1375209812,), (1375209815,), (1375209854,), (1375209850,), (1375209852,), (1375209877,), (1375209879,), (1375209880,), (1375209926,), (1375209928,), (1375209929,), (1375209932,), (1375209935,), (1375209950,), (1375209951,), (1375209953,), (1375209956,), (1375209958,), (1375209962,), (1375209976,), (1375209978,), (1375209981,), (1375209984,), (1375209986,), (1375209989,), (1375209995,), (1375209996,), (1375209999,), (1375210001,), (1375210003,), (1375210007,), (1375210013,), (1375210016,), (1375210019,), (1375210021,), (1375210024,), (1375210030,), (1375210031,), (1375210055,), (1375210057,), (1375210058,), (1375210083,), (1375210122,), (1375210143,), (1375210145,), (1375210146,), (1375210164,), (1375210166,), (1375210167,), (1375210183,), (1375210184,), (1375210186,), (1375210190,), (1375210193,), (1375210208,), (1375210210,), (1375210215,), (1375210218,), (1375210222,), (1375210225,), (1375210236,), (1375210258,), (1375210259,), (1375210322,), (1375210341,), (1375210343,), (1375210344,), (1375210346,), (1375210366,), (1375210387,), (1375210389,), (1375210410,), (1375210412,), (1375210415,), (1375210418,), (1375210422,), (1375210430,), (1375210434,), (1375210436,), (1375210439,), (1375210442,), (1375210446,), (1375210454,), (1375210455,), (1375210459,), (1375210460,), (1375210463,), (1375210466,), (1375210468,), (1375210478,), (1375210479,), (1375210480,), (1375210770,), (1375210792,), (1375210816,), (1375210839,), (1375211237,), (1375211262,), (1375211284,), (1375211323,), (1375211363,), (1375211531,), (1375211533,), (1375211576,), (1375211582,), (1375211627,), (1375211640,), (1375211674,), (1375211685,), (1375211722,), (1375211742,), (1375211993,), (1375211952,), (1375212253,), (1375212255,), (1375212257,), (1375212279,), (1375212509,), (1375212528,), (1375212531,), (1375212535,), (1375212538,), (1375212689,), (1375212715,), (1375212768,), (1375212803,), (1375212805,), (1375212807,), (1375212808,), (1375212812,), (1375212884,), (1375212886,), (1375213130,), (1375213153,), (1375213181,), (1375213184,), (1375213188,), (1375213200,), (1375213202,), (1375213203,), (1375213206,), (1375213224,), (1375213226,), (1375213227,), (1375213283,), (1375213286,), (1375213288,), (1375213310,), (1375213335,), (1375213360,), (1375213415,), (1375213417,), (1375213420,), (1375213422,), (1375213425,), (1375213428,), (1375213433,), (1375213441,), (1375213444,), (1375213446,), (1375213447,), (1375213555,), (1375213519,), (1375213540,), (1375213542,), (1375213621,), (1375213637,), (1375213642,), (1375213750,), (1375213752,), (1375213753,), (1375213755,), (1375213767,), (1375213770,), (1375213771,), (1375213779,), (1375213842,), (1375213844,), (1375213845,), (1375213848,), (1375213851,), (1375213854,), (1375213889,), (1375213891,), (1375214207,), (1375214251,), (1375214292,), (1375214336,), (1375214544,), (1375214565,), (1375214598,), (1375214600,), (1375214614,), (1375214616,), (1375214618,), (1375214620,), (1375214628,), (1375214653,), (1375215043,), (1375215053,), (1375215071,), (1375215084,), (1375215263,), (1375215288,), (1375215313,), (1375215582,), (1375215583,), (1375215604,), (1375215605,), (1375215607,), (1375215609,), (1375215613,), (1375215629,), (1375215631,), (1375215632,), (1375215663,), (1375215658,), (1375215661,), (1375215791,), (1375215792,), (1375215807,), (1375215809,), (1375215853,), (1375215854,), (1375215856,), (1375215859,), (1375215862,), (1375215877,), (1375215878,), (1375215879,), (1375215899,), (1375215901,), (1375215921,), (1375215925,), (1375215926,), (1375215928,), (1375216069,), (1375216092,), (1375216115,), (1375216139,), (1375216488,), (1375216532,), (1375216597,), (1375216650,), (1375216873,), (1375216874,), (1375216877,), (1375216882,), (1375216885,), (1375216906,), (1375216907,), (1375216908,), (1375216910,), (1375216913,), (1375216916,), (1375216940,), (1375216941,), (1375216942,), (1375216944,), (1375217026,), (1375217037,), (1375217039,), (1375217078,), (1375217079,), (1375217080,), (1375217083,), (1375217087,), (1375217089,), (1375217100,), (1375217101,), (1375217103,), (1375217106,), (1375217109,), (1375217111,), (1375217173,), (1375217177,), (1375217181,), (1375217186,), (1375217191,), (1375217193,), (1375217337,), (1375217338,), (1375217341,), (1375217343,), (1375217360,), (1375217361,), (1375217389,), (1375217396,), (1375217413,), (1375217414,), (1375217453,), (1375217457,), (1375217460,), (1375217463,), (1375217547,), (1375217552,), (1375217554,), (1375217556,), (1375217558,), (1375217559,), (1375217577,), (1375217331,), (1375217332,), (1375217439,), (1375217449,), (1375217566,), (1375217570,), (1375217574,), (1375217634,), (1375217657,), (1375217680,), (1375217704,), (1375217729,), (1375217894,), (1375217895,), (1375217896,), (1375217898,), (1375217901,), (1375217985,), (1375217996,), (1375217998,), (1375218001,), (1375218022,), (1375218028,), (1375218032,), (1375218053,), (1375218055,), (1375218057,), (1375218058,), (1375218062,), (1375218079,), (1375218080,), (1375218082,), (1375218085,), (1375218087,), (1375218090,), (1375218098,), (1375218100,), (1375218103,), (1375218106,), (1375218108,), (1375218111,), (1375218162,), (1375218165,), (1375218168,), (1375218172,), (1375218174,), (1375218177,), (1375218181,), (1375218182,), (1375218183,), (1375218184,), (1375218185,), (1375218186,), (1375218197,), (1375218202,), (1375218217,), (1375218240,), (1375218264,), (1375218287,), (1375218382,), (1375218404,), (1375218431,), (1375218456,), (1375218484,), (1375219106,), (1375219164,), (1375219218,), (1375219264,), (1375219316,), (1375219364,), (1375219767,), (1375219659,), (1375219709,), (1375220005,), (1375220030,), (1375220053,), (1375220078,), (1375220101,), (1375220485,), (1375220489,), (1375220513,), (1375220557,), (1375220580,), (1375220735,), (1375220737,), (1375220740,), (1375220743,), (1375220745,), (1375220749,), (1375220761,), (1375220764,), (1375220767,), (1375220769,), (1375220772,), (1375220777,), (1375220783,), (1375220784,), (1375220785,), (1375220786,), (1375220787,), (1375220793,), (1375220795,), (1375220820,), (1375220822,), (1375220871,), (1375220872,), (1375220873,), (1375220944,), (1375220945,), (1375220946,), (1375221005,), (1375221015,), (1375221120,), (1375221143,), (1375221166,), (1375221196,), (1375221274,), (1375221275,), (1375221276,), (1375221308,), (1375221318,), (1375221320,), (1375221432,), (1375221433,), (1375221462,), (1375221491,), (1375221513,), (1375221540,), (1375221779,), (1375221787,), (1375221792,), (1375221795,), (1375221809,), (1375221835,), (1375221912,), (1375221926,), (1375221933,), (1375221935,), (1375221936,), (1375221945,), (1375221940,), (1375221942,), (1375221983,), (1375221984,), (1375221985,), (1375222017,), (1375222020,), (1375222082,), (1375222104,), (1375222124,), (1375222143,), (1375222144,), (1375222145,), (1375222149,), (1375222180,), (1375222182,), (1375222184,), (1375222188,), (1375222190,), (1375222444,), (1375222445,), (1375222454,), (1375222473,), (1375222484,), (1375222493,), (1375222505,), (1375222506,), (1375222507,), (1375222780,), (1375222783,), (1375222785,), (1375222801,), (1375222809,), (1375222814,), (1375222840,), (1375222842,), (1375222846,), (1375222850,), (1375222853,), (1375222858,), (1375222888,), (1375222891,), (1375222896,), (1375222899,), (1375222910,), (1375222936,), (1375223023,), (1375223049,), (1375223072,), (1375223094,), (1375223119,), (1375223141,), (1375223165,), (1375223166,), (1375223169,), (1375223170,), (1375223183,), (1375223184,), (1375223194,), (1375223195,), (1375223197,), (1375223198,), (1375223209,), (1375223210,), (1375223214,), (1375223215,), (1375223216,), (1375223218,), (1375223222,), (1375223226,), (1375223241,), (1375223244,), (1375223249,), (1375223254,), (1375223258,), (1375223263,), (1375223277,), (1375223279,), (1375223280,), (1375223282,), (1375223286,), (1375223289,), (1375223354,), (1375223358,), (1375223365,), (1375223428,), (1375223430,), (1375223466,), (1375223491,), (1375223341,), (1375223344,), (1375223349,), (1375223558,), (1375223581,), (1375223818,), (1375223820,), (1375223831,), (1375223855,), (1375224050,), (1375224077,), (1375224103,), (1375224133,), (1375224162,), (1375224188,), (1375224348,), (1375224378,), (1375224404,), (1375224433,), (1375224458,), (1375224481,), (1375224697,), (1375224701,), (1375224754,), (1375224804,), (1375224812,), (1375224814,), (1375224839,), (1375224856,), (1375224858,), (1375224859,), (1375224860,), (1375224862,), (1375224947,), (1375224948,), (1375224955,), (1375224956,), (1375224963,), (1375224964,), (1375224970,), (1375224971,), (1375224997,), (1375224999,), (1375225007,), (1375225008,), (1375225074,), (1375225086,), (1375225087,), (1375225089,), (1375225092,), (1375225103,), (1375225188,), (1375225213,), (1375225268,), (1375225313,), (1375225328,), (1375225333,), (1375225344,), (1375225364,), (1375225622,), (1375225646,), (1375225648,), (1375225651,), (1375225829,), (1375225831,), (1375225843,), (1375225869,), (1375225936,), (1375225938,), (1375225940,), (1375226084,), (1375226097,), (1375226098,), (1375226102,), (1375226215,), (1375226216,), (1375226219,), (1375226244,), (1375226274,), (1375226288,), (1375226304,), (1375226306,), (1375226321,), (1375226325,), (1375226338,), (1375226343,), (1375226412,), (1375226416,), (1375226420,), (1375226433,), (1375226434,), (1375226436,), (1375226449,), (1375226451,), (1375226452,), (1375226510,), (1375226524,), (1375226537,), (1375226546,), (1375226373,), (1375226375,), (1375226408,), (1375226497,), (1375226499,), (1375226502,), (1375226505,), (1375226507,), (1375226514,), (1375226516,), (1375226517,), (1375226519,), (1375226521,), (1375226578,), (1375226579,), (1375226580,), (1375226582,), (1375226585,), (1375226589,), (1375226609,), (1375226642,), (1375226643,), (1375226644,), (1375226646,), (1375226650,), (1375226666,), (1375226667,), (1375226668,), (1375226670,), (1375226674,), (1375226762,), (1375226808,), (1375226850,), (1375226876,), (1375226907,), (1375227082,), (1375227106,), (1375227131,), (1375227157,), (1375227174,), (1375227177,), (1375227300,), (1375227304,), (1375227308,), (1375227312,), (1375227315,), (1375227317,), (1375227352,), (1375227353,), (1375227354,), (1375227355,), (1375227356,), (1375227421,), (1375227447,), (1375227476,), (1375227578,), (1375227597,), (1375227621,), (1375227623,), (1375227734,), (1375227735,), (1375227736,), (1375228211,), (1375228215,), (1375240589,), (1375240958,), (1375240406,), (1375240940,), (1375241479,), (1375241755,), (1375241781,), (1375241803,), (1375241819,), (1375241915,), (1375241917,), (1375241941,), (1375241964,), (1375242052,), (1375242054,), (1375242055,), (1375242277,), (1375242295,), (1375242318,), (1375242436,), (1375242439,), (1375242441,), (1375242486,), (1375242492,), (1375242493,), (1375242505,), (1375242610,), (1375242629,), (1375242646,), (1375242701,), (1375243574,), (1375243628,), (1375243659,), (1375243673,), (1375243680,), (1375243938,), (1375243948,), (1375243982,), (1375244014,), (1375244051,), (1375244105,), (1375244384,), (1375244393,), (1375244397,), (1375244402,), (1375244429,), (1375244471,), (1375244568,), (1375244592,), (1375244600,), (1375244601,), (1375244602,), (1375244603,), (1375244694,), (1375244721,), (1375244745,), (1375244777,), (1375244653,), (1375244656,), (1375244671,), (1375244687,), (1375244692,), (1375244939,), (1375244940,), (1375244947,), (1375244948,), (1375244953,), (1375244954,), (1375244974,), (1375244977,), (1375245019,), (1375245020,), (1375245021,), (1375245023,), (1375245027,), (1375245126,), (1375245127,), (1375245136,), (1375245139,), (1375245146,), (1375245151,), (1375245197,), (1375245230,), (1375245276,), (1375245390,), (1375245414,), (1375245419,), (1375245421,), (1375245423,), (1375245552,), (1375245578,), (1375245601,), (1375245628,), (1375245654,), (1375246110,), (1375246191,), (1375246842,), (1375246880,), (1375246916,), (1375246947,), (1375247006,), (1375247104,), (1375247457,), (1375247464,), (1375247485,), (1375247510,), (1375247535,), (1375247579,), (1375247649,), (1375247651,), (1375247653,), (1375247654,), (1375247658,), (1375247662,), (1375247666,), (1375247693,), (1375248060,), (1375248067,), (1375248068,), (1375248746,), (1375248769,), (1375248776,), (1375248833,), (1375248838,), (1375248841,), (1375249094,), (1375249041,), (1375249069,), (1375249394,), (1375249397,), (1375249573,), (1375249582,), (1375249605,), (1375249623,), (1375249626,), (1375249662,), (1375249734,), (1375249801,), (1375249871,), (1375249939,), (1375250003,), (1375250492,), (1375250585,), (1375250684,), (1375250739,), (1375250773,), (1375250819,), (1375251240,), (1375251273,), (1375251291,), (1375251384,), (1375251463,), (1375251576,), (1375251711,), (1375251740,), (1375251785,), (1375251871,), (1375251947,), (1375252025,), (1375252157,), (1375252159,), (1375252177,), (1375252178,), (1375252182,), (1375252183,), (1375252198,), (1375252199,), (1375252259,), (1375252267,), (1375252292,), (1375252293,), (1375252434,), (1375252457,), (1375252465,), (1375252477,), (1375252492,), (1375252495,), (1375252544,), (1375252547,), (1375252555,), (1375252557,), (1375252560,), (1375252562,), (1375252589,), (1375252590,), (1375252608,), (1375253066,), (1375253116,), (1375253117,), (1375253118,), (1375253119,), (1375253121,), (1375253164,), (1375253188,), (1375253476,), (1375253479,), (1375253489,), (1375253599,), (1375253588,), (1375253969,), (1375253977,), (1375254490,), (1375254520,), (1375254523,), (1375254681,), (1375254705,), (1375255080,), (1375255102,), (1375255106,), (1375255153,), (1375255268,), (1375255293,), (1375255316,), (1375255341,), (1375255447,), (1375255467,), (1375255490,), (1375255517,), (1375255558,), (1375255583,), (1375255927,), (1375256225,), (1375257260,), (1375257312,), (1375257549,), (1375257310,), (1375257491,), (1375257537,), (1375257540,), (1375257543,), (1375257546,), (1375257563,), (1375257661,), (1375257686,), (1375257711,), (1375257741,), (1375257768,), (1375257794,), (1375258075,), (1375258099,), (1375258107,), (1375258110,), (1375258113,), (1375258115,), (1375258118,), (1375258176,), (1375258214,), (1375258239,), (1375258818,), (1375258841,), (1375258942,), (1375258966,), (1375259355,), (1375259400,), (1375259422,), (1375259430,), (1375259434,), (1375259632,), (1375259656,), (1375259683,), (1375259699,), (1375259704,), (1375259905,), (1375259948,), (1375260235,), (1375260257,), (1375260287,), (1375260306,), (1375260310,), (1375260313,), (1375260595,), (1375260607,), (1375260638,), (1375260639,), (1375260640,), (1375260661,), (1375260662,), (1375260683,), (1375260684,), (1375260701,), (1375260697,), (1375260698,), (1375260699,), (1375260902,), (1375260904,), (1375260905,), (1375261009,), (1375261036,), (1375261058,), (1375261391,), (1375261434,), (1375261477,), (1375261532,), (1375261964,), (1375262001,), (1375262025,), (1375262048,), (1375262097,), (1375262549,), (1375262579,), (1375262622,), (1375262661,), (1375262686,), (1375263108,), (1375263109,), (1375263110,), (1375263144,), (1375263151,), (1375263162,), (1375263165,), (1375263167,), (1375263675,), (1375263741,), (1375263805,), (1375263856,), (1375263911,), (1375263945,), (1375264024,), (1375264047,), (1375264075,), (1375264100,), (1375264125,), (1375264152,), (1375264302,), (1375264336,), (1375264383,), (1375264431,), (1375264560,), (1375264598,), (1375264629,), (1375264667,), (1375264704,), (1375264742,), (1375265005,), (1375265045,), (1375265090,), (1375265826,), (1375265875,), (1375266538,), (1375266542,), (1375266555,), (1375266561,), (1375266562,), (1375267027,), (1375266790,), (1375266837,), (1375266881,), (1375266930,), (1375266984,), (1375267703,), (1375267754,), (1375267804,), (1375267819,), (1375268208,), (1375268219,), (1375268243,), (1375268265,), (1375268468,), (1375268513,), (1375268560,), (1375268603,), (1375269089,), (1375269134,), (1375269170,), (1375269197,), (1375270229,), (1375270230,), (1375270231,), (1375270297,), (1375270298,), (1375270362,), (1375270373,), (1375270400,), (1375270423,), (1375270450,), (1375271074,), (1375271146,), (1375271181,), (1375271212,), (1375271228,), (1375271234,), (1375271519,), (1375271520,), (1375271526,), (1375271530,), (1375271534,), (1375271536,), (1375271653,), (1375271678,), (1375271704,), (1375271733,), (1375271757,), (1375271782,), (1375271879,), (1375271904,), (1375271927,), (1375271950,), (1375271973,), (1375271996,), (1375272172,), (1375272217,), (1375272266,), (1375272847,), (1375273125,), (1375273149,), (1375273172,), (1375273684,), (1375273749,), (1375273808,), (1375273852,), (1375273892,), (1375274453,), (1375274523,), (1375274598,), (1375274651,), (1375274697,), (1375275144,), (1375275199,), (1375275261,), (1375275330,), (1375275377,), (1375275595,), (1375275608,), (1375275630,), (1375275670,), (1375275703,), (1375275749,), (1375276109,), (1375276132,), (1375276200,), (1375277004,), (1375277130,), (1375277181,), (1375277249,), (1375277275,), (1375277307,), (1375277672,), (1375277698,), (1375277727,), (1375277755,), (1375277779,), (1375277788,), (1375277802,), (1375277807,), (1375277824,), (1375277848,), (1375277876,), (1375277921,), (1375278111,), (1375278229,), (1375278272,), (1375278345,), (1375278402,), (1375278453,), (1375278500,), (1375278523,), (1375278550,), (1375278563,), (1375278564,), (1375278578,), (1375278581,), (1375278595,), (1375278611,), (1375278669,), (1375278670,), (1375278671,), (1375278921,), (1375278946,), (1375278971,), (1375278996,), (1375279002,), (1375279015,), (1375279203,), (1375279168,), (1375279172,), (1375279193,), (1375279289,), (1375279291,), (1375279295,), (1375279300,), (1375279815,), (1375279850,), (1375279882,), (1375280131,), (1375280153,), (1375280176,), (1375280200,), (1375280425,), (1375280459,), (1375280509,), (1375281086,), (1375281087,), (1375281089,), (1375281093,), (1375281142,), (1375281145,), (1375281224,), (1375281246,), (1375281346,), (1375281367,), (1375281399,), (1375281447,), (1375281478,), (1375281484,), (1375281692,), (1375281693,), (1375281694,), (1375281696,), (1375281720,), (1375281722,), (1375281723,), (1375281725,), (1375281744,), (1375281745,), (1375281746,), (1375281751,), (1375282081,), (1375282140,), (1375282162,), (1375282433,), (1375282434,), (1375282435,), (1375282437,), (1375282442,), (1375282445,), (1375282472,), (1375282473,), (1375282475,), (1375282478,), (1375282479,), (1375282482,), (1375282501,), (1375282504,), (1375282507,), (1375282510,), (1375282513,), (1375282515,), (1375282564,), (1375282588,), (1375282609,), (1375282632,), (1375282657,), (1375282681,), (1375282958,), (1375283003,), (1375283038,), (1375283186,), (1375282784,), (1375282874,), (1375282914,), (1375283162,), (1375283827,), (1375283849,), (1375283890,), (1375283891,), (1375283906,), (1375283928,), (1375284354,), (1375284356,), (1375284357,), (1375284358,), (1375284359,), (1375284362,), (1375284368,), (1375284372,), (1375284377,), (1375284392,), (1375284415,), (1375284440,), (1375284463,), (1375284489,), (1375284638,), (1375284647,), (1375284670,), (1375284680,), (1375284682,), (1375284685,), (1375284694,), (1375284695,), (1375284697,), (1375284699,), (1375284700,), (1375284702,), (1375284708,), (1375284710,), (1375284713,), (1375284716,), (1375284717,), (1375284719,), (1375284722,), (1375284723,), (1375284739,), (1375284761,), (1375284783,), (1375284806,), (1375284939,), (1375284965,), (1375284991,), (1375285014,), (1375285040,), (1375285053,), (1375285112,), (1375285121,), (1375285122,), (1375285124,), (1375285141,), (1375285166,), (1375285213,), (1375285215,), (1375285626,), (1375285653,), (1375285679,), (1375285712,), (1375285726,), (1375285728,), (1375285731,), (1375286028,), (1375285897,), (1375285939,), (1375285969,), (1375285992,), (1375286526,), (1375286558,), (1375286606,), (1375286630,), (1375286659,), (1375286975,), (1375287010,), (1375287042,), (1375287065,), (1375287092,), (1375287400,), (1375287446,), (1375287476,), (1375287480,), (1375287482,), (1375287484,), (1375287535,), (1375287561,), (1375287589,), (1375287621,), (1375287643,), (1375287646,), (1375287697,), (1375287704,), (1375287705,), (1375287733,), (1375287741,), (1375287750,), (1375287805,), (1375287807,), (1375287809,), (1375287811,), (1375287812,), (1375287817,), (1375287822,), (1375287824,), (1375287828,), (1375287832,), (1375287833,), (1375287868,), (1375287892,), (1375287916,), (1375287938,), (1375287967,), (1375287995,), (1375288113,), (1375288114,), (1375288115,), (1375288117,), (1375288119,), (1375288144,), (1375307237,), (1375307122,), (1375307334,), (1375307369,), (1375307371,), (1375307396,), (1375307450,), (1375307451,), (1375307484,), (1375307483,), (1375307505,), (1375307554,), (1375307556,), (1375307595,), (1375307597,), (1375307598,), (1375307600,), (1375307603,), (1375307640,), (1375307644,), (1375307683,), (1375307686,), (1375307751,), (1375307752,), (1375307753,), (1375307755,), (1375307757,), (1375307777,), (1375307778,), (1375307780,), (1375307782,), (1375307785,), (1375307788,), (1375307801,), (1375307803,), (1375307826,), (1375307854,), (1375307856,), (1375307869,), (1375307884,), (1375307886,), (1375307888,), (1375307891,), (1375307892,), (1375307894,), (1375307896,), (1375307938,), (1375308005,), (1375308007,), (1375308008,), (1375308009,), (1375308013,), (1375308014,), (1375308242,), (1375308270,), (1375308688,), (1375308700,), (1375308727,), (1375308753,), (1375309114,), (1375309081,), (1375311235,), (1375311804,), (1375311806,), (1375311842,), (1375311844,), (1375311845,), (1375311846,), (1375311872,), (1375311873,), (1375311876,), (1375311879,), (1375311901,), (1375311932,), (1375311929,), (1375311930,), (1375311959,), (1375311961,), (1375311962,), (1375312034,), (1375312058,), (1375312081,), (1375312216,), (1375312218,), (1375312219,), (1375312221,), (1375312224,), (1375312354,), (1375312355,), (1375312363,), (1375312719,), (1375312744,), (1375312776,), (1375312789,), (1375312868,), (1375312871,), (1375312873,), (1375312875,), (1375312892,), (1375312894,), (1375312896,), (1375312899,), (1375312904,), (1375313003,), (1375313005,), (1375313008,), (1375313011,), (1375313015,), (1375313019,), (1375313033,), (1375313036,), (1375313040,), (1375313058,), (1375313065,), (1375313068,), (1375313079,), (1375313081,), (1375313086,), (1375313122,), (1375313123,), (1375313125,), (1375313166,), (1375313174,), (1375313178,), (1375313181,), (1375313218,), (1375313221,), (1375313223,), (1375313225,), (1375313227,), (1375313231,), (1375313253,), (1375313255,), (1375313257,), (1375313260,), (1375313264,), (1375313282,), (1375313283,), (1375313284,), (1375313286,), (1375313366,), (1375313368,), (1375313389,), (1375313453,), (1375313448,), (1375313451,), (1375313540,), (1375313541,), (1375313542,), (1375313544,), (1375313549,), (1375313558,), (1375313600,), (1375313602,), (1375313603,), (1375313605,), (1375313608,), (1375313627,), (1375313628,), (1375313630,), (1375313633,), (1375313635,), (1375313638,), (1375313653,), (1375313655,), (1375313658,), (1375313660,), (1375313661,), (1375313662,), (1375313669,), (1375313671,), (1375313673,), (1375313675,), (1375313676,), (1375313678,), (1375313685,), (1375313686,), (1375313689,), (1375313690,), (1375313693,), (1375313694,), (1375313697,), (1375313699,), (1375313701,), (1375313702,), (1375313704,), (1375313705,), (1375313736,), (1375313740,), (1375313752,), (1375313761,), (1375313763,), (1375313782,), (1375313800,), (1375313802,), (1375313806,), (1375313808,), (1375313810,), (1375313812,), (1375313857,), (1375313861,), (1375313863,), (1375313866,), (1375313867,), (1375313869,), (1375313872,), (1375313896,), (1375313898,), (1375313910,), (1375313912,), (1375313984,), (1375313985,), (1375314093,), (1375314106,), (1375314112,), (1375314461,), (1375314477,), (1375314479,), (1375314490,), (1375314496,), (1375314920,), (1375314948,), (1375314980,), (1375315227,), (1375315234,), (1375315242,), (1375315244,), (1375315246,), (1375315399,), (1375315376,), (1375315394,), (1375315396,), (1375315525,), (1375315537,), (1375315538,), (1375315719,), (1375315762,), (1375315873,), (1375315877,), (1375315881,), (1375315885,), (1375315898,), (1375315900,), (1375315927,), (1375315956,), (1375315991,), (1375316005,), (1375316067,), (1375316069,), (1375316071,), (1375316074,), (1375316076,), (1375316115,), (1375316116,), (1375316117,), (1375316119,), (1375316121,), (1375316138,), (1375316139,), (1375316140,), (1375316142,), (1375316145,), (1375316150,), (1375316162,), (1375316163,), (1375316164,), (1375316183,), (1375316184,), (1375316185,), (1375316187,), (1375316220,), (1375316225,), (1375316249,), (1375316276,), (1375316300,), (1375316760,), (1375316771,), (1375316772,), (1375316899,), (1375316902,), (1375316906,), (1375316908,), (1375316911,), (1375316958,), (1375316934,), (1375316936,), (1375317296,), (1375317321,), (1375317351,), (1375317380,), (1375317706,), (1375317729,), (1375317754,), (1375317791,), (1375318159,), (1375318203,), (1375318223,), (1375318235,), (1375318264,), (1375318284,), (1375318297,), (1375318299,), (1375318301,), (1375318331,), (1375318333,), (1375318335,), (1375318337,), (1375318354,), (1375318356,), (1375318361,), (1375318366,), (1375318369,), (1375318410,), (1375318413,), (1375318415,), (1375318433,), (1375318435,), (1375318437,), (1375318455,), (1375318457,), (1375318458,), (1375318461,), (1375318464,), (1375318481,), (1375318483,), (1375318493,), (1375318499,), (1375318503,), (1375318507,), (1375318572,), (1375318574,), (1375318576,), (1375318593,), (1375318596,), (1375318599,), (1375318616,), (1375318618,), (1375318635,), (1375318637,), (1375318639,), (1375318670,), (1375318656,), (1375318659,), (1375318660,), (1375318664,), (1375318666,), (1375318678,), (1375318680,), (1375318683,), (1375318737,), (1375318739,), (1375318742,), (1375318744,), (1375318752,), (1375318754,), (1375318774,), (1375318775,), (1375318777,), (1375318780,), (1375318783,), (1375318804,), (1375318805,), (1375318807,), (1375318810,), (1375318813,), (1375318836,), (1375318837,), (1375318838,), (1375318842,), (1375318845,), (1375318878,), (1375318879,), (1375318881,), (1375318883,), (1375318906,), (1375318908,), (1375318911,), (1375318913,), (1375318915,), (1375318916,), (1375318926,), (1375318927,), (1375318929,), (1375318931,), (1375318933,), (1375318934,), (1375318939,), (1375318941,), (1375318946,), (1375318948,), (1375318949,), (1375318951,), (1375318955,), (1375318957,), (1375318958,), (1375318960,), (1375318961,), (1375318964,), (1375318970,), (1375318974,), (1375318975,), (1375318977,), (1375319023,), (1375319025,), (1375319026,), (1375319028,), (1375319031,), (1375319044,), (1375319046,), (1375319047,), (1375319049,), (1375319071,), (1375319074,), (1375319076,), (1375319077,), (1375319108,), (1375319111,), (1375319117,), (1375319119,), (1375319120,), (1375319098,), (1375319100,), (1375319103,), (1375319105,), (1375319127,), (1375319129,), (1375319131,), (1375319134,), (1375319136,), (1375319162,), (1375319164,), (1375319166,), (1375319180,), (1375319205,), (1375319233,), (1375319469,), (1375319492,), (1375319508,), (1375319649,), (1375319696,), (1375319741,), (1375319778,), (1375319803,), (1375320005,), (1375320007,), (1375320009,), (1375320010,), (1375320013,), (1375320036,), (1375320037,), (1375320038,), (1375320123,), (1375320138,), (1375320139,), (1375320151,), (1375320283,), (1375320285,), (1375320288,), (1375320292,), (1375320308,), (1375320310,), (1375320313,), (1375320316,), (1375320412,), (1375320435,), (1375320458,), (1375320481,), (1375320496,), (1375320498,), (1375320599,), (1375320602,), (1375320603,), (1375320605,), (1375320629,), (1375320638,), (1375320639,), (1375320656,), (1375320658,), (1375320659,), (1375320661,), (1375320682,), (1375320684,), (1375320686,), (1375320700,), (1375320697,), (1375320699,), (1375320716,), (1375320718,), (1375320719,), (1375320721,), (1375320722,), (1375320738,), (1375320740,), (1375320742,), (1375320761,), (1375320763,), (1375320764,), (1375320766,), (1375320788,), (1375320790,), (1375320791,), (1375320793,), (1375320840,), (1375320842,), (1375320843,), (1375320845,), (1375320900,), (1375320909,), (1375320918,), (1375320928,), (1375320949,), (1375320951,), (1375320952,), (1375320954,), (1375320978,), (1375320980,), (1375320981,), (1375320983,), (1375320985,), (1375320988,), (1375321046,), (1375321048,), (1375321049,), (1375321050,), (1375321052,), (1375321055,), (1375321147,), (1375321149,), (1375321150,), (1375321152,), (1375321170,), (1375321172,), (1375321173,), (1375321216,), (1375321217,), (1375321238,), (1375321242,), (1375321245,), (1375321519,), (1375321411,), (1375321438,), (1375321465,), (1375321492,), (1375321818,), (1375321820,), (1375321822,), (1375321826,), (1375321836,), (1375322074,), (1375322075,), (1375322076,), (1375322097,), (1375322098,), (1375322099,), (1375322101,), (1375322324,), (1375322352,), (1375322377,), (1375322402,), (1375322431,), (1375322714,), (1375322739,), (1375322763,), (1375322787,), (1375322811,), (1375322876,), (1375322877,), (1375322878,), (1375322892,), (1375322916,), (1375323225,), (1375323260,), (1375323307,), (1375323746,), (1375323772,), (1375323798,), (1375323829,), (1375323858,), (1375323886,), (1375324127,), (1375324157,), (1375324158,), (1375324160,), (1375324375,), (1375324403,), (1375324428,), (1375324631,), (1375324654,), (1375324658,), (1375324663,), (1375324668,), (1375324711,), (1375324715,), (1375324716,), (1375324718,), (1375324722,), (1375324754,), (1375324756,), (1375324758,), (1375324809,), (1375324811,), (1375324814,), (1375324820,), (1375324825,), (1375324832,), (1375325030,), (1375325024,), (1375325025,), (1375325026,), (1375325027,), (1375325048,), (1375325049,), (1375325055,), (1375325141,), (1375325143,), (1375325144,), (1375325146,), (1375325306,), (1375325326,), (1375325330,), (1375325332,), (1375325334,), (1375325418,), (1375325443,), (1375325469,), (1375325542,), (1375325544,), (1375325545,), (1375325547,), (1375325688,), (1375325712,), (1375325737,), (1375325762,), (1375325968,), (1375325970,), (1375325972,), (1375325974,), (1375325977,), (1375325987,), (1375325989,), (1375325991,), (1375325995,), (1375326027,), (1375326028,), (1375326029,), (1375326031,), (1375326033,), (1375326037,), (1375326075,), (1375326109,), (1375326133,), (1375326167,), (1375326481,), (1375326680,), (1375326692,), (1375326705,), (1375326712,), (1375326713,), (1375326819,), (1375326821,), (1375326827,), (1375326890,), (1375326892,), (1375326893,), (1375327241,), (1375327339,), (1375327340,), (1375327344,), (1375327397,), (1375327418,), (1375327437,), (1375327438,), (1375327439,), (1375327441,), (1375327449,), (1375327641,), (1375327664,), (1375327688,), (1375327708,), (1375327710,), (1375327734,), (1375327828,), (1375327897,), (1375327924,), (1375327974,), (1375328284,), (1375328308,), (1375328336,), (1375328372,), (1375328421,), (1375328468,), (1375328877,), (1375328901,), (1375328929,), (1375328974,), (1375329015,), (1375329042,), (1375329331,), (1375329352,), (1375329354,), (1375329355,), (1375329404,), (1375329426,), (1375329450,), (1375329477,), (1375329500,), (1375329525,), (1375329702,), (1375329704,), (1375329706,), (1375329708,), (1375329712,), (1375329716,), (1375329900,), (1375329959,), (1375329982,), (1375329990,), (1375330100,), (1375330143,), (1375330206,), (1375330276,), (1375330343,), (1375330720,), (1375330722,), (1375330726,), (1375330729,), (1375330852,), (1375330844,), (1375330846,), (1375330849,), (1375330864,), (1375330865,), (1375330866,), (1375330868,), (1375330875,), (1375330877,), (1375330944,), (1375330945,), (1375330946,), (1375330947,), (1375330968,), (1375330969,), (1375330970,), (1375330971,), (1375330974,), (1375330991,), (1375330992,), (1375331030,), (1375331031,), (1375331063,), (1375331171,), (1375331172,), (1375331359,), (1375331382,), (1375331414,), (1375331437,), (1375331461,), (1375331489,), (1375331544,), (1375331545,), (1375331547,), (1375331549,), (1375331551,), (1375331568,), (1375331569,), (1375331570,), (1375331571,), (1375331592,), (1375331593,), (1375331594,), (1375331595,), (1375331840,), (1375331866,), (1375331890,), (1375331912,), (1375332541,), (1375332569,), (1375332597,), (1375332623,), (1375332649,), (1375333028,), (1375333031,), (1375333034,), (1375333917,), (1375333952,), (1375333999,), (1375334050,), (1375334126,), (1375334400,), (1375332976,), (1375333003,), (1375333026,), (1375333176,), (1375333237,), (1375333321,), (1375333422,), (1375333494,), (1375333577,), (1375333851,), (1375334277,), (1375334326,), (1375334350,), (1375334375,), (1375334584,), (1375334611,), (1375334634,), (1375334686,), (1375334738,), (1375334790,), (1375334837,), (1375334876,), (1375335089,), (1375335091,), (1375335109,), (1375335132,), (1375335164,), (1375335253,), (1375335255,), (1375335257,), (1375335259,), (1375335262,), (1375335287,), (1375335289,), (1375335307,), (1375335309,), (1375335330,), (1375335332,), (1375335334,), (1375335336,), (1375335340,), (1375335343,), (1375335356,), (1375335362,), (1375335366,), (1375335370,), (1375335372,), (1375335376,), (1375335397,), (1375335400,), (1375335404,), (1375335407,), (1375335410,), (1375335425,), (1375335428,), (1375335430,), (1375335434,), (1375335629,), (1375335652,), (1375335677,), (1375335721,), (1375335769,), (1375335827,), (1375336335,), (1375336374,), (1375336401,), (1375336431,), (1375336745,), (1375336773,), (1375336798,), (1375336823,), (1375336858,), (1375336878,), (1375336972,), (1375336911,), (1375336915,), (1375336916,), (1375336920,), (1375336942,), (1375337181,), (1375337203,), (1375337227,), (1375337251,), (1375337352,), (1375337354,), (1375337366,), (1375337389,), (1375337415,), (1375337569,), (1375337573,), (1375337577,), (1375337581,), (1375337600,), (1375337813,), (1375337842,), (1375337865,), (1375337886,), (1375337896,), (1375337910,), (1375337942,), (1375337945,), (1375337949,), (1375337952,), (1375337970,), (1375337972,), (1375337973,), (1375337975,), (1375337978,), (1375338024,), (1375338028,), (1375338033,), (1375338037,), (1375338041,), (1375338044,), (1375338049,), (1375338051,), (1375338054,), (1375338056,), (1375338059,), (1375338062,), (1375338066,), (1375338071,), (1375338083,), (1375338085,), (1375338086,), (1375338088,), (1375338092,), (1375338116,), (1375338118,), (1375338119,), (1375338122,), (1375338126,), (1375338142,), (1375338144,), (1375338146,), (1375338148,), (1375338177,), (1375338180,), (1375338183,), (1375338186,), (1375338189,), (1375338205,), (1375338207,), (1375338209,), (1375341626,), (1375341622,), (1375341624,), (1375341837,), (1375341858,), (1375341871,), (1375341876,), (1375341904,), (1375341925,), (1375341928,), (1375342079,), (1375342464,), (1375342719,), (1375342950,), (1375343139,), (1375343243,), (1375343254,), (1375343508,), (1375343510,), (1375343513,), (1375343517,), (1375343521,), (1375343523,), (1375343588,), (1375343589,), (1375343613,), (1375343617,), (1375343620,), (1375343686,), (1375343687,), (1375343703,), (1375343705,), (1375343706,), (1375343724,), (1375343730,), (1375343791,), (1375343799,), (1375343800,), (1375343801,), (1375343868,), (1375344436,), (1375344424,), (1375344432,), (1375344434,), (1375344449,), (1375344450,), (1375344451,), (1375344519,), (1375344520,), (1375344521,), (1375344523,), (1375344526,), (1375344551,), (1375344552,), (1375344553,), (1375344555,), (1375344559,), (1375344576,), (1375344577,), (1375344578,), (1375344624,), (1375344625,), (1375344626,), (1375344628,), (1375344630,), (1375344660,), (1375344661,), (1375344662,), (1375344664,), (1375344666,), (1375344787,), (1375344790,), (1375344795,), (1375344802,), (1375344808,), (1375344813,), (1375344825,), (1375344828,), (1375344829,), (1375344854,), (1375344861,), (1375344865,), (1375344870,), (1375344961,), (1375344985,), (1375345008,), (1375345033,), (1375345062,), (1375345087,), (1375345235,), (1375345236,), (1375345237,), (1375345239,), (1375345243,), (1375345257,), (1375345258,), (1375345260,), (1375345263,), (1375345272,), (1375345311,), (1375345312,), (1375345313,), (1375345316,), (1375345319,), (1375345323,), (1375345365,), (1375345366,), (1375345367,), (1375345368,), (1375345399,), (1375345401,), (1375345402,), (1375345404,), (1375345406,), (1375345410,), (1375345458,), (1375345449,), (1375345450,), (1375345451,), (1375345453,), (1375345456,), (1375345472,), (1375345473,), (1375345474,), (1375345476,), (1375345494,), (1375345495,), (1375345497,), (1375345500,), (1375345503,), (1375345505,), (1375345517,), (1375345519,), (1375345520,), (1375345521,), (1375345523,), (1375345526,), (1375345529,), (1375345532,), (1375345536,), (1375345549,), (1375345552,), (1375345555,), (1375345556,), (1375345559,), (1375345561,), (1375345616,), (1375345646,), (1375345680,), (1375345727,), (1375345774,), (1375345939,), (1375345986,), (1375346032,), (1375346082,), (1375346125,), (1375346172,), (1375346312,), (1375346313,), (1375346314,), (1375346673,), (1375346689,), (1375346711,), (1375346738,), (1375346769,), (1375346788,), (1375347118,), (1375347152,), (1375347178,), (1375347180,), (1375347228,), (1375347229,), (1375347230,), (1375347232,), (1375347235,), (1375347431,), (1375347437,), (1375347474,), (1375347494,), (1375347496,), (1375347574,), (1375347577,), (1375347578,), (1375347601,), (1375347657,), (1375347662,), (1375347671,), (1375347695,), (1375347724,), (1375347748,), (1375347854,), (1375347878,), (1375347901,), (1375347928,), (1375347951,), (1375348182,), (1375348207,), (1375348216,), (1375348218,), (1375348416,), (1375348310,), (1375348341,), (1375348364,), (1375348391,), (1375348434,), (1375348435,), (1375348436,), (1375348438,), (1375348634,), (1375348649,), (1375348650,), (1375348657,), (1375348685,), (1375348700,), (1375348713,), (1375348714,), (1375348715,), (1375348717,), (1375348721,), (1375348724,), (1375348926,), (1375348963,), (1375348997,), (1375349034,), (1375349072,), (1375349211,), (1375349212,), (1375349213,), (1375349215,), (1375349217,), (1375349236,), (1375349237,), (1375349247,), (1375349249,), (1375349368,), (1375349396,), (1375349399,), (1375349404,), (1375349433,), (1375349605,), (1375349606,), (1375349607,), (1375349626,), (1375349679,), (1375349680,), (1375349682,), (1375349706,), (1375349898,), (1375349904,), (1375349928,), (1375349938,), (1375350134,), (1375350138,), (1375350139,), (1375350166,), (1375350169,), (1375350170,), (1375350171,), (1375350173,), (1375350182,), (1375350637,), (1375350662,), (1375350688,), (1375350696,), (1375350699,), (1375351020,), (1375350959,), (1375350986,), (1375351399,), (1375351413,), (1375351620,), (1375351628,), (1375351629,), (1375351644,), (1375351673,), (1375351675,), (1375351676,), (1375351701,), (1375351736,), (1375351769,), (1375352020,), (1375352045,), (1375352296,), (1375352320,), (1375352347,), (1375352372,), (1375352810,), (1375352815,), (1375352838,), (1375353169,), (1375353226,), (1375353271,), (1375353307,), (1375353487,), (1375353489,), (1375353492,), (1375353495,), (1375353515,), (1375353516,), (1375353517,), (1375353518,), (1375353520,), (1375353524,), (1375353643,), (1375353644,), (1375353645,), (1375353661,), (1375353689,), (1375353703,), (1375353755,), (1375353757,), (1375353762,), (1375353771,), (1375353822,), (1375353823,), (1375353824,), (1375353826,), (1375353829,), (1375353844,), (1375353845,), (1375353846,), (1375353848,), (1375353976,), (1375354002,), (1375354025,), (1375354310,), (1375354229,), (1375354254,), (1375354273,), (1375354280,), (1375354291,), (1375354390,), (1375354391,), (1375354392,), (1375354393,), (1375354425,), (1375354449,), (1375354673,), (1375356115,), (1375356137,), (1375356468,), (1375356669,), (1375356714,), (1375356757,), (1375356795,), (1375356820,), (1375357036,), (1375357038,), (1375357039,), (1375357041,), (1375357047,), (1375357167,), (1375357162,), (1375357164,), (1375357165,), (1375357185,), (1375357186,), (1375357405,), (1375357428,), (1375357429,), (1375357431,), (1375357450,), (1375357494,), (1375357496,), (1375357498,), (1375357512,), (1375357513,), (1375357514,), (1375357537,), (1375357538,), (1375357539,), (1375357541,), (1375357560,), (1375357561,), (1375357583,), (1375357584,), (1375357585,), (1375357587,), (1375357590,), (1375357600,), (1375357601,), (1375357602,), (1375357603,), (1375357605,), (1375357637,), (1375357649,), (1375357654,), (1375357679,), (1375357681,), (1375357682,), (1375357684,), (1375357752,), (1375357776,), (1375357799,), (1375357822,), (1375357845,), (1375358027,), (1375358029,), (1375358030,), (1375358032,), (1375358034,), (1375358057,), (1375358060,), (1375358062,), (1375358064,), (1375358067,), (1375358076,), (1375358079,), (1375358081,), (1375358109,), (1375358103,), (1375358105,), (1375358106,), (1375358107,), (1375358108,), (1375358122,), (1375358123,), (1375358125,), (1375358126,), (1375358159,), (1375358161,), (1375358162,), (1375358164,), (1375358166,), (1375358183,), (1375358185,), (1375358186,), (1375358208,), (1375358210,), (1375358212,), (1375358246,), (1375358248,), (1375358250,), (1375358251,), (1375358272,), (1375358274,), (1375358275,), (1375358277,), (1375358360,), (1375358384,), (1375358407,), (1375358642,), (1375358769,), (1375358859,), (1375359721,), (1375360645,), (1375360499,), (1375360551,), (1375360596,), (1375361051,), (1375361075,), (1375361100,), (1375361124,), (1375361515,), (1375361516,), (1375361518,), (1375361520,), (1375361545,), (1375361572,), (1375361655,), (1375361657,), (1375361658,), (1375361660,), (1375361662,), (1375361676,), (1375361678,), (1375361679,), (1375361681,), (1375361683,), (1375361741,), (1375361743,), (1375361752,), (1375361757,), (1375361759,), (1375361761,), (1375361827,), (1375361864,), (1375361865,), (1375361866,), (1375361908,), (1375361911,), (1375361912,), (1375361915,), (1375361917,), (1375361934,), (1375361935,), (1375361936,), (1375361952,), (1375361980,), (1375361981,), (1375361982,), (1375361983,), (1375361992,), (1375362142,), (1375362158,), (1375362199,), (1375362200,), (1375362201,), (1375362222,), (1375362250,), (1375362273,), (1375362539,), (1375362564,), (1375362577,), (1375362580,), (1375362584,), (1375362786,), (1375362811,), (1375362833,), (1375363008,), (1375362999,), (1375363000,), (1375363001,), (1375363003,), (1375363005,), (1375363029,), (1375363030,), (1375363033,), (1375363057,), (1375363156,), (1375363158,), (1375363181,), (1375363205,), (1375363555,), (1375363574,), (1375363578,), (1375363582,), (1375363585,), (1375363587,), (1375363690,), (1375363692,), (1375363697,), (1375363700,), (1375363791,), (1375363814,), (1375363845,), (1375363852,), (1375363998,), (1375364004,), (1375364006,), (1375364009,), (1375364025,), (1375364026,), (1375364027,), (1375364029,), (1375364031,), (1375364059,), (1375364061,), (1375364062,), (1375364063,), (1375364106,), (1375364108,), (1375364109,), (1375364111,), (1375364113,), (1375364137,), (1375364143,), (1375364168,), (1375364189,), (1375364192,), (1375364269,), (1375364293,), (1375364314,), (1375364336,), (1375364338,), (1375364420,), (1375364422,), (1375364560,), (1375364562,), (1375364563,), (1375364564,), (1375364735,), (1375364738,), (1375364739,), (1375364790,), (1375364787,), (1375364789,), (1375364805,), (1375364807,), (1375364812,), (1375364871,), (1375364895,), (1375364919,), (1375365187,), (1375365196,), (1375365220,), (1375365246,), (1375365352,), (1375365375,), (1375365399,), (1375365426,), (1375365428,), (1375365443,), (1375365461,), (1375365463,), (1375365464,), (1375365466,), (1375365469,), (1375365498,), (1375365500,), (1375365501,), (1375365503,), (1375365505,), (1375365515,), (1375365517,), (1375365519,), (1375365521,), (1375365523,), (1375365524,), (1375365566,), (1375368447,), (1375368465,), (1375368445,), (1375368460,), (1375368462,), (1375368649,), (1375368937,), (1375369156,), (1375369719,), (1375369720,), (1375369938,), (1375369975,), (1375370039,), (1375370043,), (1375370044,), (1375370157,), (1375370183,), (1375370299,), (1375370408,), (1375370526,), (1375370528,), (1375370903,), (1375370962,), (1375370963,), (1375370964,), (1375371024,), (1375371021,), (1375371023,), (1375371194,), (1375371293,), (1375371338,), (1375371358,), (1375371360,), (1375371372,), (1375371389,), (1375373756,), (1375373758,), (1375373774,), (1375373780,), (1375373797,), (1375373966,), (1375374228,), (1375374286,), (1375374288,), (1375374534,), (1375375150,), (1375386062,), (1375386761,), (1375386773,), (1375386775,), (1375387100,), (1375387554,), (1375388346,), (1375388347,), (1375388920,), (1375389458,), (1375389459,), (1375391629,), (1375392235,), (1375392236,), (1375392255,), (1375392351,), (1375392352,), (1375392381,), (1375392383,), (1375392572,), (1375392585,), (1375392633,), (1375392686,), (1375392866,), (1375392865,), (1375392959,), (1375392985,), (1375392986,), (1375392987,), (1375392989,), (1375393941,), (1375393969,), (1375395039,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05082025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25699861]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] map_info['map_portfolio_photo'] : {25699861: [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103]} final : True mtd_id 4302 list_pids : [1375360645, 1375359721, 1375358859, 1375358769, 1375358642, 1375358407, 1375358384, 1375358360, 1375358277, 1375358275, 1375358274, 1375358272, 1375358251, 1375358250, 1375358248, 1375358246, 1375358212, 1375358210, 1375358208, 1375358186, 1375358185, 1375358183, 1375358166, 1375358164, 1375358162, 1375358161, 1375358159, 1375358126, 1375358125, 1375358123, 1375358122, 1375358108, 1375358107, 1375358106, 1375358105, 1375358103] Looping around the photos to save general results len do output : 1 /25699861Didn'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, '3455278') ('4302', '25699861', '1375360645', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278') ('4302', None, None, None, None, None, None, None, '3455278') ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '25699861', 'None', None, None, None, None, '3455278'), ('4302', '25699861', '1375360645', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375359721', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358859', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358769', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358642', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358407', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358384', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358360', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358277', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358275', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358274', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358272', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358251', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358250', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358248', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358246', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358212', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358210', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358208', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358186', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358185', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358183', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358166', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358164', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358162', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358161', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358159', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358126', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358125', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358123', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358122', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358108', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358107', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358106', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358105', None, None, None, None, None, '3455278'), ('4302', '25699861', '1375358103', None, None, None, None, None, '3455278')] time used for this insertion : 0.08757615089416504 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.365908861160278 time spend to save output : 0.08795046806335449 total time spend for step 5 : 12.453859329223633 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 (3455278) 2.88user 2.09system 0:25.72elapsed 19%CPU (0avgtext+0avgdata 168560maxresident)k 520inputs+27608outputs (7major+78792minor)pagefaults 0swaps