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 : 462015 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 (3546001) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3546001) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990076 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3546001'] with mtr_portfolio_ids : ['25990076'] and first list_photo_ids : [] new path : /proc/462015/ Name: python3 Umask: 0002 State: R (running) Tgid: 462015 Ngid: 0 Pid: 462015 PPid: 462014 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 462015 NSpid: 462015 NSpgid: 461767 NSsid: 461767 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100532 kB VmRSS: 100532 kB RssAnon: 60164 kB RssFile: 40368 kB RssShmem: 0 kB VmData: 866000 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: 53 nonvoluntary_ctxt_switches: 107 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '462015', 'Ngid': '0', 'Pid': '462015', 'PPid': '462014', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '462015', 'NSpid': '462015', 'NSpgid': '461767', 'NSsid': '461767', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100532 kB', 'VmRSS': '100532 kB', 'RssAnon': '60164 kB', 'RssFile': '40368 kB', 'RssShmem': '0 kB', 'VmData': '866000 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': '53', 'nonvoluntary_ctxt_switches': '107'} ('datou_batch_current', '462015', '1107248', '0', '1107248', '866000', '100532', b'', 'marlene', '3546001') 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 (25990076) 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 (3546001 ) ) 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 (25990076) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1377039741, 'portfolio_id': 25990076}, {'photo_id': 1377039402, 'portfolio_id': 25990076}, {'photo_id': 1377039394, 'portfolio_id': 25990076}, {'photo_id': 1377039089, 'portfolio_id': 25990076}, {'photo_id': 1377039081, 'portfolio_id': 25990076}, {'photo_id': 1377039064, 'portfolio_id': 25990076}, {'photo_id': 1377039061, 'portfolio_id': 25990076}, {'photo_id': 1377039057, 'portfolio_id': 25990076}, {'photo_id': 1377039053, 'portfolio_id': 25990076}, {'photo_id': 1377039049, 'portfolio_id': 25990076}, {'photo_id': 1377039045, 'portfolio_id': 25990076}, {'photo_id': 1377039023, 'portfolio_id': 25990076}, {'photo_id': 1377039018, 'portfolio_id': 25990076}, {'photo_id': 1377038949, 'portfolio_id': 25990076}, {'photo_id': 1377038947, 'portfolio_id': 25990076}, {'photo_id': 1377038944, 'portfolio_id': 25990076}, {'photo_id': 1377038935, 'portfolio_id': 25990076}, {'photo_id': 1377038843, 'portfolio_id': 25990076}, {'photo_id': 1377038840, 'portfolio_id': 25990076}, {'photo_id': 1377038837, 'portfolio_id': 25990076}, {'photo_id': 1377038760, 'portfolio_id': 25990076}, {'photo_id': 1377038757, 'portfolio_id': 25990076}, {'photo_id': 1377038407, 'portfolio_id': 25990076}, {'photo_id': 1377038287, 'portfolio_id': 25990076}, {'photo_id': 1377038283, 'portfolio_id': 25990076}, {'photo_id': 1377038278, 'portfolio_id': 25990076}, {'photo_id': 1377038276, 'portfolio_id': 25990076}, {'photo_id': 1377038274, 'portfolio_id': 25990076}, {'photo_id': 1377038272, 'portfolio_id': 25990076}, {'photo_id': 1377038259, 'portfolio_id': 25990076}, {'photo_id': 1377038254, 'portfolio_id': 25990076}, {'photo_id': 1377038250, 'portfolio_id': 25990076}, {'photo_id': 1377038247, 'portfolio_id': 25990076}, {'photo_id': 1377038246, 'portfolio_id': 25990076}, {'photo_id': 1377038230, 'portfolio_id': 25990076}, {'photo_id': 1377038226, 'portfolio_id': 25990076}, {'photo_id': 1377038224, 'portfolio_id': 25990076}, {'photo_id': 1377038222, 'portfolio_id': 25990076}, {'photo_id': 1377038218, 'portfolio_id': 25990076}, {'photo_id': 1377038196, 'portfolio_id': 25990076}] map_portfolio_id_photo_id: {25990076: [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196]} ##### 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.026590347290039062 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Aug 15 06:09:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25990076) 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 : 25990076 get user id for portfolio 25990076 get sub ptf for main ptf 25990076, type 3726 and hashtags ['cartonnette', 'environnement', 'Teint_Dans_La_Masse', 'kraft', 'papier', 'Carton_brun', 'Carton_gris', 'mal_croppe', 'plastique', 'metal', 'autre_refus', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25990076 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','Teint_Dans_La_Masse','kraft','papier','Carton_brun','Carton_gris','mal_croppe','plastique','metal','autre_refus','flou')) 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`=25990076 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','Teint_Dans_La_Masse','kraft','papier','Carton_brun','Carton_gris','mal_croppe','plastique','metal','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 25990076, 'sub_port_id': 25990082, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505749, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'kraft': {'main_port_id': 25990076, 'sub_port_id': 25990084, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505750, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'Carton_gris': {'main_port_id': 25990076, 'sub_port_id': 25990085, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505751, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'mal_croppe': {'main_port_id': 25990076, 'sub_port_id': 25990086, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505752, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'metal': {'main_port_id': 25990076, 'sub_port_id': 25990087, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505753, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'autre_refus': {'main_port_id': 25990076, 'sub_port_id': 25990088, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505754, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'flou': {'main_port_id': 25990076, 'sub_port_id': 25990089, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505755, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'cartonnette': {'main_port_id': 25990076, 'sub_port_id': 25990090, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505756, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'Carton_brun': {'main_port_id': 25990076, 'sub_port_id': 25990091, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505757, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'papier': {'main_port_id': 25990076, 'sub_port_id': 25990092, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505758, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 25990076, 'sub_port_id': 25990093, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505759, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}, 'environnement': {'main_port_id': 25990076, 'sub_port_id': 25990094, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505760, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25990082 , 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=25990076 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 (25990082) result : ((1377038728,), (1377038729,), (1377046705,), (1377046706,), (1377046707,), (1377046708,), (1377046804,), (1377046978,), (1377047247,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990084 , 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=25990076 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 (25990084) result : ((1377046806,), (1377046807,), (1377046884,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990085 , 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=25990076 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 (25990085) result : ((1377038715,), (1377038717,), (1377038719,), (1377038721,), (1377038722,), (1377038723,), (1377046691,), (1377046692,), (1377046693,), (1377046694,), (1377046695,), (1377046876,), (1377046974,), (1377046975,), (1377047186,), (1377047187,), (1377047245,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990086 , 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=25990076 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 (25990086) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990087 , 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=25990076 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 (25990087) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990088 , 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=25990076 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 (25990088) result : ((1377038713,), (1377038714,), (1377046453,), (1377046687,), (1377046688,), (1377046875,), (1377047240,), (1377047241,), (1377047242,), (1377047243,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990089 , 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=25990076 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 (25990089) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990090 , 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=25990076 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 (25990090) result : ((1377038724,), (1377038751,), (1377046455,), (1377046583,), (1377046697,), (1377046698,), (1377046699,), (1377046797,), (1377046798,), (1377046799,), (1377046877,), (1377046878,), (1377046976,), (1377047188,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990091 , 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=25990076 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 (25990091) result : ((1377038725,), (1377038726,), (1377038727,), (1377038752,), (1377038753,), (1377046701,), (1377046702,), (1377046800,), (1377046801,), (1377046802,), (1377046879,), (1377046880,), (1377046881,), (1377046882,), (1377046883,), (1377046977,), (1377047246,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990092 , 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=25990076 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 (25990092) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990093 , 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=25990076 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 (25990093) result : ((1377038706,), (1377038708,), (1377038709,), (1377038710,), (1377038711,), (1377038712,), (1377038748,), (1377038750,), (1377046452,), (1377046580,), (1377046680,), (1377046681,), (1377046682,), (1377046683,), (1377046684,), (1377046685,), (1377046796,), (1377046873,), (1377047183,), (1377047184,), (1377047185,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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 25990094 , 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=25990076 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 (25990094) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25990076) result : ((1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,)) 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`=25990076 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','Teint_Dans_La_Masse','kraft','papier','Carton_brun','Carton_gris','mal_croppe','plastique','metal','autre_refus','flou')) 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`=25990076 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','Teint_Dans_La_Masse','kraft','papier','Carton_brun','Carton_gris','mal_croppe','plastique','metal','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 25990076, 'sub_port_id': 25990096, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505761, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'kraft': {'main_port_id': 25990076, 'sub_port_id': 25990097, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505762, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'Carton_gris': {'main_port_id': 25990076, 'sub_port_id': 25990098, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505763, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'mal_croppe': {'main_port_id': 25990076, 'sub_port_id': 25990099, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505764, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'metal': {'main_port_id': 25990076, 'sub_port_id': 25990100, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505765, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'autre_refus': {'main_port_id': 25990076, 'sub_port_id': 25990101, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505766, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'flou': {'main_port_id': 25990076, 'sub_port_id': 25990102, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505767, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'cartonnette': {'main_port_id': 25990076, 'sub_port_id': 25990103, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505768, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'Carton_brun': {'main_port_id': 25990076, 'sub_port_id': 25990104, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505769, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'papier': {'main_port_id': 25990076, 'sub_port_id': 25990105, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505770, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 25990076, 'sub_port_id': 25990106, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505771, 'last_updated_at': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 16, 49, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}, 'environnement': {'main_port_id': 25990076, 'sub_port_id': 25990107, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17505772, 'last_updated_at': datetime.datetime(2025, 8, 14, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 14, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 14, 16, 49, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990096,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990082 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990097,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990084 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990098,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990085 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990099,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990086 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990100,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990087 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990101,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990088 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990102,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990089 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990103,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990090 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990104,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990091 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990105,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990092 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990106,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990093 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25990107,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25990094 lien utilise dans velours : https://www.fotonower.com/velours/25990096,25990097,25990098,25990099,25990100,25990101,25990102,25990103,25990104,25990105,25990106,25990107?tags=plastique,kraft,Carton_gris,mal_croppe,metal,autre_refus,flou,cartonnette,Carton_brun,papier,Teint_Dans_La_Masse,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25990076]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] map_info['map_portfolio_photo'] : {25990076: [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196]} final : False mtd_id 4302 list_pids : [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] Looping around the photos to save general results len do output : 1 /25990076. 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, '3546001') ('4302', '25990076', '1377039741', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '25990076', "{'plastique': 25990082, 'kraft': 25990084, 'Carton_gris': 25990085, 'mal_croppe': 25990086, 'metal': 25990087, 'autre_refus': 25990088, 'flou': 25990089, 'cartonnette': 25990090, 'Carton_brun': 25990091, 'papier': 25990092, 'Teint_Dans_La_Masse': 25990093, 'environnement': 25990094}", None, None, None, None, '3546001'), ('4302', '25990076', '1377039741', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001')] time used for this insertion : 0.022948741912841797 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6628947257995605 time spend to save output : 0.023375272750854492 total time spend for step 1 : 1.686269998550415 step2:final Fri Aug 15 06:09:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25990076) 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 25990076 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1377038196,1377038230,1377038226,1377038224,1377038222,1377038218,1377038259,1377038254,1377038250,1377038247,1377038246,1377038287,1377038283,1377038278,1377038276,1377038274,1377038272,1377038407,1377038843,1377038840,1377038837,1377038760,1377038757,1377038949,1377038935,1377038947,1377038944,1377039023,1377039018,1377039064,1377039061,1377039057,1377039053,1377039049,1377039045,1377039089,1377039081,1377039402,1377039394,1377039741); 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([25990076]) Inside saveOutput : final : False verbose : True original output for save of step final : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} new output for save of step final : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] map_info['map_portfolio_photo'] : {25990076: [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196]} final : False mtd_id 4302 list_pids : [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] Looping around the photos to save general results len do output : 40 /1377039741.Didn't retrieve data . /1377039402.Didn't retrieve data . /1377039394.Didn't retrieve data . /1377039089.Didn't retrieve data . /1377039081.Didn't retrieve data . /1377039064.Didn't retrieve data . /1377039061.Didn't retrieve data . /1377039057.Didn't retrieve data . /1377039053.Didn't retrieve data . /1377039049.Didn't retrieve data . /1377039045.Didn't retrieve data . /1377039023.Didn't retrieve data . /1377039018.Didn't retrieve data . /1377038949.Didn't retrieve data . /1377038947.Didn't retrieve data . /1377038944.Didn't retrieve data . /1377038935.Didn't retrieve data . /1377038843.Didn't retrieve data . /1377038840.Didn't retrieve data . /1377038837.Didn't retrieve data . /1377038760.Didn't retrieve data . /1377038757.Didn't retrieve data . /1377038407.Didn't retrieve data . /1377038287.Didn't retrieve data . /1377038283.Didn't retrieve data . /1377038278.Didn't retrieve data . /1377038276.Didn't retrieve data . /1377038274.Didn't retrieve data . /1377038272.Didn't retrieve data . /1377038259.Didn't retrieve data . /1377038254.Didn't retrieve data . /1377038250.Didn't retrieve data . /1377038247.Didn't retrieve data . /1377038246.Didn't retrieve data . /1377038230.Didn't retrieve data . /1377038226.Didn't retrieve data . /1377038224.Didn't retrieve data . /1377038222.Didn't retrieve data . /1377038218.Didn't retrieve data . /1377038196.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, '3546001') ('4302', '25990076', '1377039741', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '25990076', '1377039741', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039402', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039394', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039089', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039081', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039064', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039061', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039057', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039053', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039049', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039045', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039023', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377039018', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038949', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038947', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038944', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038935', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038843', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038840', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038837', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038760', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038757', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038407', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038287', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038283', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038278', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038276', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038274', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038272', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038259', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038254', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038250', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038247', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038246', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038230', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038226', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038224', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038222', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038218', '0.048397163122804766', None, None, None, None, '3546001'), ('4302', '25990076', '1377038196', '0.048397163122804766', None, None, None, None, '3546001')] time used for this insertion : 0.020466089248657227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08378744125366211 time spend to save output : 0.0220029354095459 total time spend for step 2 : 0.10579037666320801 step3:velours_tree Fri Aug 15 06:09:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {25990076: [{'plastique': 25990082, 'kraft': 25990084, 'Carton_gris': 25990085, 'mal_croppe': 25990086, 'metal': 25990087, 'autre_refus': 25990088, 'flou': 25990089, 'cartonnette': 25990090, 'Carton_brun': 25990091, 'papier': 25990092, 'Teint_Dans_La_Masse': 25990093, 'environnement': 25990094}]} input_args_next_step : {25990076: ()} output_args : {25990076: [{'plastique': 25990082, 'kraft': 25990084, 'Carton_gris': 25990085, 'mal_croppe': 25990086, 'metal': 25990087, 'autre_refus': 25990088, 'flou': 25990089, 'cartonnette': 25990090, 'Carton_brun': 25990091, 'papier': 25990092, 'Teint_Dans_La_Masse': 25990093, 'environnement': 25990094}]} args : 25990076 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 : ({'plastique': 25990082, 'kraft': 25990084, 'Carton_gris': 25990085, 'mal_croppe': 25990086, 'metal': 25990087, 'autre_refus': 25990088, 'flou': 25990089, 'cartonnette': 25990090, 'Carton_brun': 25990091, 'papier': 25990092, 'Teint_Dans_La_Masse': 25990093, 'environnement': 25990094},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25990076) 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([25990076]) 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.2945535182952881 time spend to save output : 5.173683166503906e-05 total time spend for step 3 : 0.2946052551269531 step4:send_mail_cod Fri Aug 15 06:09:32 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 : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} input_args_next_step : {1377039741: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039741 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039402 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039394 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039089 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039081 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039064 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039061 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039057 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039053 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039049 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039045 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039023 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377039018 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038949 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038947 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038944 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038935 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038843 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038840 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038837 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038760 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038757 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038407 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038287 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038283 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038278 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038276 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038274 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038272 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038259 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038254 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038250 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038247 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038246 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038230 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038226 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038224 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038222 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038218 depend.output_id : 0 input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ()} output_args : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',)} args : 1377038196 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 : {25990076: [{'plastique': 25990082, 'kraft': 25990084, 'Carton_gris': 25990085, 'mal_croppe': 25990086, 'metal': 25990087, 'autre_refus': 25990088, 'flou': 25990089, 'cartonnette': 25990090, 'Carton_brun': 25990091, 'papier': 25990092, 'Teint_Dans_La_Masse': 25990093, 'environnement': 25990094}]} input_args_next_step : {1377039741: ('0.048397163122804766',), 1377039402: ('0.048397163122804766',), 1377039394: ('0.048397163122804766',), 1377039089: ('0.048397163122804766',), 1377039081: ('0.048397163122804766',), 1377039064: ('0.048397163122804766',), 1377039061: ('0.048397163122804766',), 1377039057: ('0.048397163122804766',), 1377039053: ('0.048397163122804766',), 1377039049: ('0.048397163122804766',), 1377039045: ('0.048397163122804766',), 1377039023: ('0.048397163122804766',), 1377039018: ('0.048397163122804766',), 1377038949: ('0.048397163122804766',), 1377038947: ('0.048397163122804766',), 1377038944: ('0.048397163122804766',), 1377038935: ('0.048397163122804766',), 1377038843: ('0.048397163122804766',), 1377038840: ('0.048397163122804766',), 1377038837: ('0.048397163122804766',), 1377038760: ('0.048397163122804766',), 1377038757: ('0.048397163122804766',), 1377038407: ('0.048397163122804766',), 1377038287: ('0.048397163122804766',), 1377038283: ('0.048397163122804766',), 1377038278: ('0.048397163122804766',), 1377038276: ('0.048397163122804766',), 1377038274: ('0.048397163122804766',), 1377038272: ('0.048397163122804766',), 1377038259: ('0.048397163122804766',), 1377038254: ('0.048397163122804766',), 1377038250: ('0.048397163122804766',), 1377038247: ('0.048397163122804766',), 1377038246: ('0.048397163122804766',), 1377038230: ('0.048397163122804766',), 1377038226: ('0.048397163122804766',), 1377038224: ('0.048397163122804766',), 1377038222: ('0.048397163122804766',), 1377038218: ('0.048397163122804766',), 1377038196: ('0.048397163122804766',), 25990076: ()} output_args : {25990076: [{'plastique': 25990082, 'kraft': 25990084, 'Carton_gris': 25990085, 'mal_croppe': 25990086, 'metal': 25990087, 'autre_refus': 25990088, 'flou': 25990089, 'cartonnette': 25990090, 'Carton_brun': 25990091, 'papier': 25990092, 'Teint_Dans_La_Masse': 25990093, 'environnement': 25990094}]} args : 25990076 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 :41, first value : ('0.048397163122804766',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25990076) 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 (1377039741,1377039402,1377039394,1377039089,1377039081,1377039064,1377039061,1377039057,1377039053,1377039049,1377039045,1377039023,1377039018,1377038949,1377038947,1377038944,1377038935,1377038843,1377038840,1377038837,1377038760,1377038757,1377038407,1377038287,1377038283,1377038278,1377038276,1377038274,1377038272,1377038259,1377038254,1377038250,1377038247,1377038246,1377038230,1377038226,1377038224,1377038222,1377038218,1377038196) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1377038196 begin to download photo : 1377038254 begin to download photo : 1377038757 begin to download photo : 1377039018 begin to download photo : 1377039089 download finish for photo 1377039089 begin to download photo : 1377039394 download finish for photo 1377038757 begin to download photo : 1377038760 download finish for photo 1377039018 begin to download photo : 1377039023 download finish for photo 1377038254 begin to download photo : 1377038259 download finish for photo 1377038196 begin to download photo : 1377038218 download finish for photo 1377039394 begin to download photo : 1377039402 download finish for photo 1377039023 begin to download photo : 1377039045 download finish for photo 1377038259 begin to download photo : 1377038272 download finish for photo 1377038760 begin to download photo : 1377038837 download finish for photo 1377038218 begin to download photo : 1377038222 download finish for photo 1377039402 begin to download photo : 1377039741 download finish for photo 1377039045 begin to download photo : 1377039049 download finish for photo 1377038272 begin to download photo : 1377038274 download finish for photo 1377038837 begin to download photo : 1377038840 download finish for photo 1377038274 begin to download photo : 1377038276 download finish for photo 1377039741 download finish for photo 1377039049 begin to download photo : 1377039053 download finish for photo 1377038222 begin to download photo : 1377038224 download finish for photo 1377038840 begin to download photo : 1377038843 download finish for photo 1377038276 begin to download photo : 1377038278 download finish for photo 1377038224 begin to download photo : 1377038226 download finish for photo 1377038843 begin to download photo : 1377038935 download finish for photo 1377039053 begin to download photo : 1377039057 download finish for photo 1377038278 begin to download photo : 1377038283 download finish for photo 1377038226 begin to download photo : 1377038230 download finish for photo 1377039057 begin to download photo : 1377039061 download finish for photo 1377038935 begin to download photo : 1377038944 download finish for photo 1377038283 begin to download photo : 1377038287 download finish for photo 1377038230 begin to download photo : 1377038246 download finish for photo 1377039061 begin to download photo : 1377039064 download finish for photo 1377038944 begin to download photo : 1377038947 download finish for photo 1377039064 begin to download photo : 1377039081 download finish for photo 1377038246 begin to download photo : 1377038247 download finish for photo 1377038287 begin to download photo : 1377038407 download finish for photo 1377038247 begin to download photo : 1377038250 download finish for photo 1377039081 download finish for photo 1377038947 begin to download photo : 1377038949 download finish for photo 1377038407 download finish for photo 1377038949 download finish for photo 1377038250 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P25990076_15-08-2025_06_09_33.pdf 25990082 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=25990082 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377038728: '1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926589_0.png', 1377038729: '1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926595_0.png', 1377046705: '1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984793_0.png', 1377046706: '1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984817_0.png', 1377046707: '1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984832_0.png', 1377046708: '1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984840_0.png', 1377046804: '1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985690_0.png', 1377046978: '1755185365_1317026_1377038760_07a654c7b591aa774384d394b301c2ae_rle_crop_3914986800_0.png', 1377047247: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987487_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13eb069a31b3533433691cf53e5ba9a2_91855819.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12a73b1c977dc5ab655e3f2a145d5605_44231222.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5de28b381b4c4c0c087b72776efad892_70002669.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cd67cc63cb6a9397820cf68dcb74b29_12825445.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9336085825ad1617184af3734da99551_61289887.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34a487c150f88acb55c2260708f55ee4_46193693.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49669c23cead8b58aa6d46682978f6ca_97544280.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/565fda683b555ab7536af613e203e765_52116684.png change filename to text .imagette259900821755230973/ imagette259900821755230973/1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984793_0.png.png imagette259900821755230973/1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926589_0.png.png imagette259900821755230973/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987487_0.png.png imagette259900821755230973/1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984817_0.png.png imagette259900821755230973/1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984832_0.png.png imagette259900821755230973/1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926595_0.png.png imagette259900821755230973/1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985690_0.png.png imagette259900821755230973/1755185365_1317026_1377038760_07a654c7b591aa774384d394b301c2ae_rle_crop_3914986800_0.png.png imagette259900821755230973/1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984840_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a9b84d1e74bcf36a870649ab439bcc0_95984212.png imagette259900821755230973 25990084 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=25990084 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377046806: '1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985689_0.png', 1377046807: '1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985726_0.png', 1377046884: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986174_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed1f5bc6bfb89c3b6bc8fd08b957c238_97735467.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c803befb7e1b3d97d63bbeff0874de4_17374465.png change filename to text .imagette259900841755230974/ imagette259900841755230974/1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985726_0.png.png imagette259900841755230974/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986174_0.png.png imagette259900841755230974/1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985689_0.png.png imagette259900861755230975/ imagette259900871755230975/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd10c7625a017a3f6079afb9e96e775f_79642494.png imagette259900841755230974 25990086 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=25990086 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259900861755230975 25990087 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=25990087 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259900871755230975 25990088 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=25990088 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377038713: '1755183145_1260789_1377038283_68587c8c3f7e12ca8b3e5a8bd19dda22_rle_crop_3914926557_0.png', 1377038714: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926576_0.png', 1377046453: '1755184765_1301210_1377039402_6c2ba354910c195c4f1970af2f92a3c5_rle_crop_3914984125_0.png', 1377046687: '1755185005_1307735_1377039089_56d2ced214e0013431fdbbbed9ba7409_rle_crop_3914984777_0.png', 1377046688: '1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984795_0.png', 1377046875: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986158_0.png', 1377047240: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987474_0.png', 1377047241: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987475_0.png', 1377047242: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987477_0.png', 1377047243: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987472_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a3e6da3fdbdf927ce5d23968d7fcd14_18612315.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d95084fcfda08b6c8f8d5cd47cc7168_46367705.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e447b6be56f2ddee6cfeb8df87ccff97_86447814.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/933a18bc1d81c164bce68f2cabacd95f_41494066.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a1d28efb4cfcaa0da84499e3f7ba2ea_87013072.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7847fa70adcbbe9bdee572b9e637baa6_60364238.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d64e897a04c21fcf74760d305930106f_14280034.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eefbcbd16a599531b90a46570e21cfe9_52798550.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/892237314a7320cafcd107f75f1457fc_20641786.png change filename to text .imagette259900881755230975/ imagette259900881755230975/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987475_0.png.png imagette259900881755230975/1755184765_1301210_1377039402_6c2ba354910c195c4f1970af2f92a3c5_rle_crop_3914984125_0.png.png imagette259900881755230975/1755183145_1260789_1377038283_68587c8c3f7e12ca8b3e5a8bd19dda22_rle_crop_3914926557_0.png.png imagette259900881755230975/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987472_0.png.png imagette259900881755230975/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926576_0.png.png imagette259900881755230975/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987474_0.png.png imagette259900881755230975/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986158_0.png.png imagette259900881755230975/1755185005_1307735_1377039089_56d2ced214e0013431fdbbbed9ba7409_rle_crop_3914984777_0.png.png imagette259900881755230975/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987477_0.png.png imagette259900881755230975/1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984795_0.png.png imagette259900891755230976/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13ac816da30bf8a42561c18d37725279_17178200.png imagette259900881755230975 25990089 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=25990089 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette259900891755230976 25990090 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=25990090 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377038724: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926564_0.png', 1377038751: '1755183206_1262730_1377038218_77cb391ede30dedbe13c24e9cc8b5355_rle_crop_3914926271_0.png', 1377046455: '1755184765_1301210_1377039081_c6af408407a21b489ba1fe08a228bc9a_rle_crop_3914984147_0.png', 1377046583: '1755184887_1304147_1377039394_de0e9c996b553bb4928e5041c7164fb3_rle_crop_3914984450_0.png', 1377046697: '1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984809_0.png', 1377046698: '1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984824_0.png', 1377046699: '1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984842_0.png', 1377046797: '1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985691_0.png', 1377046798: '1755185126_1310559_1377038947_dd1000f5e3d2762b65c6eb562e115b47_rle_crop_3914985707_0.png', 1377046799: '1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985722_0.png', 1377046877: '1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986141_0.png', 1377046878: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986160_0.png', 1377046976: '1755185365_1317026_1377038837_df5fb84d1a0b25b14c48a0cffc6dc6ca_rle_crop_3914986715_0.png', 1377047188: '1755185486_1320879_1377038287_d4c28803032f06f7ac0550b87f72be0a_rle_crop_3914987244_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b20b1adb9fb183a2076c94dc351c0f2_57477047.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f88293dff2e4cda14342eb5dc91375a_61590606.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c67730c84805a97ac07a80d8eb66cec9_65737957.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ca8373c6138ceb10594ea456477a7eb_41886187.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f93a6173421b455a00a906f602d7c806_27572791.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4eb06913c7034b914164445680da8f3_1982223.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d9ac95bcec571d5ffdb830b8de2840f_15918116.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1433a94f8bb302a331981d78e77f0694_83892751.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fda98b44884dc01b08866e0ce0b9681_83069365.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a82e0d75a75d12087afc62fe9559fc5b_49681706.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3cdd19a21b2dde7d1d25e924a02f32da_68440086.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3463e4e9f14a3710d1a8fecbe52ffd4a_18626856.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10e4cfd42913b078f7d50d25e4a6303d_98285041.png change filename to text .imagette259900901755230976/ imagette259900901755230976/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986160_0.png.png imagette259900901755230976/1755183206_1262730_1377038218_77cb391ede30dedbe13c24e9cc8b5355_rle_crop_3914926271_0.png.png imagette259900901755230976/1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986141_0.png.png imagette259900901755230976/1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984809_0.png.png imagette259900901755230976/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926564_0.png.png imagette259900901755230976/1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984842_0.png.png imagette259900901755230976/1755185486_1320879_1377038287_d4c28803032f06f7ac0550b87f72be0a_rle_crop_3914987244_0.png.png imagette259900901755230976/1755185126_1310559_1377038947_dd1000f5e3d2762b65c6eb562e115b47_rle_crop_3914985707_0.png.png imagette259900901755230976/1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985722_0.png.png imagette259900901755230976/1755184765_1301210_1377039081_c6af408407a21b489ba1fe08a228bc9a_rle_crop_3914984147_0.png.png imagette259900901755230976/1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984824_0.png.png imagette259900901755230976/1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985691_0.png.png imagette259900901755230976/1755184887_1304147_1377039394_de0e9c996b553bb4928e5041c7164fb3_rle_crop_3914984450_0.png.png imagette259900901755230976/1755185365_1317026_1377038837_df5fb84d1a0b25b14c48a0cffc6dc6ca_rle_crop_3914986715_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6f4a9cc1ab169431d5a33b9c4011df9_81422144.png imagette259900901755230976 25990085 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=25990085 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377046693: '1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984807_0.png', 1377047245: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987476_0.png', 1377047187: '1755185486_1320879_1377038247_4ca3a01f302c61ad76fb8d3dab720df5_rle_crop_3914987378_0.png', 1377047186: '1755185486_1320879_1377038287_d4c28803032f06f7ac0550b87f72be0a_rle_crop_3914987242_0.png', 1377046975: '1755185365_1317026_1377038840_abb428aa0737c70d0ac24c8470aea70c_rle_crop_3914986578_0.png', 1377046974: '1755185365_1317026_1377038840_abb428aa0737c70d0ac24c8470aea70c_rle_crop_3914986576_0.png', 1377046876: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986161_0.png', 1377046695: '1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984849_0.png', 1377046694: '1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984831_0.png', 1377038715: '1755183145_1260789_1377038407_ea868586f571f278a1302e4b0153b981_rle_crop_3914926544_0.png', 1377046692: '1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984791_0.png', 1377046691: '1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984799_0.png', 1377038723: '1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926598_0.png', 1377038722: '1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926591_0.png', 1377038721: '1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926584_0.png', 1377038719: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926573_0.png', 1377038717: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926565_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e34d2b28b33e8328bd86e25361176009_47037794.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ecd24aba2613feaf53f1d194fed9668_58198270.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67bcf5eccc22aa2edb68d9f39c7272fc_81199546.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e31d059406af6774f449d216b8c5ce6_58568127.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd77d5c98dc5dafcfa6cfcca376b1b1a_49669573.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dd79fcbedc73f0d56331278ecbc2961_84509451.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a6bbb893508d43dff765f3787d58211_27003922.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d78ec3a1ae6e4b6657e462b3328367fa_52540688.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fc56d9d0b839bd9c7535815eb38dfe2_27712129.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/db146340fa5d6e9ed93e4b9bcb72a916_21637320.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96ab191b40252564cffd156b4cbf98f3_70984684.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5b610590d009ed0cc0cb11ead67808f_95603240.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36631f347e415286cad61b1818ffeb90_42164452.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c30641975338395e6c9ec42bd0557b91_84585302.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79b2e65e4655e2fb815d0a4631a5ce16_1374451.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57867d7199c76ebb4dc5473d868c054c_54290551.png change filename to text .imagette259900851755230977/ imagette259900851755230977/1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984807_0.png.png imagette259900851755230977/1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926598_0.png.png imagette259900851755230977/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926565_0.png.png imagette259900851755230977/1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984831_0.png.png imagette259900851755230977/1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926591_0.png.png imagette259900851755230977/1755185486_1320879_1377038247_4ca3a01f302c61ad76fb8d3dab720df5_rle_crop_3914987378_0.png.png imagette259900851755230977/1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984791_0.png.png imagette259900851755230977/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986161_0.png.png imagette259900851755230977/1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984849_0.png.png imagette259900851755230977/1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984799_0.png.png imagette259900851755230977/1755185365_1317026_1377038840_abb428aa0737c70d0ac24c8470aea70c_rle_crop_3914986578_0.png.png imagette259900851755230977/1755185365_1317026_1377038840_abb428aa0737c70d0ac24c8470aea70c_rle_crop_3914986576_0.png.png imagette259900851755230977/1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926584_0.png.png imagette259900851755230977/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926573_0.png.png imagette259900851755230977/1755185486_1320879_1377038287_d4c28803032f06f7ac0550b87f72be0a_rle_crop_3914987242_0.png.png imagette259900851755230977/1755183145_1260789_1377038407_ea868586f571f278a1302e4b0153b981_rle_crop_3914926544_0.png.png imagette259900851755230977/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987476_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b73b4cf6da59ac2542b8e61d99fdf05d_79435786.png imagette259900851755230977 25990091 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=25990091 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377046801: '1755185126_1310559_1377038947_dd1000f5e3d2762b65c6eb562e115b47_rle_crop_3914985711_0.png', 1377047246: '1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987482_0.png', 1377046977: '1755185365_1317026_1377038760_07a654c7b591aa774384d394b301c2ae_rle_crop_3914986802_0.png', 1377046883: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986165_0.png', 1377046882: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986159_0.png', 1377046881: '1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986163_0.png', 1377046880: '1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986148_0.png', 1377046879: '1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986145_0.png', 1377046802: '1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985725_0.png', 1377038725: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926575_0.png', 1377046800: '1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985694_0.png', 1377046702: '1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984813_0.png', 1377046701: '1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984797_0.png', 1377038753: '1755183206_1262730_1377038222_b302fb5f11bce4a6465e5aa941ed7dee_rle_crop_3914926254_0.png', 1377038752: '1755183206_1262730_1377038224_e5aa89314bdc948474ca6e1daacb5e1c_rle_crop_3914926238_0.png', 1377038727: '1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926588_0.png', 1377038726: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926569_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8eaa8168c1f895f23b03bca2d308fa81_32715217.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/187b03366713429c04930f1973ab975c_82392342.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74b595cff877b7a99bf5eb0cebfb5782_78632316.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb3b8e076d9d2b22bff1ebaa467f2097_84453973.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/19320fcd95c25f124c9d5540a5e1bc64_60415870.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b909a4abe3e53ddfb83b042eb77a11bf_41431879.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a8e62d4fae7b3025690d9e992358603_17631020.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/469bca5ed0c923a100e17aa95d9b38fd_51902574.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79c21238d90d3bda3aaa96a92983c5a1_79303985.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c90fa4276613aa5b69e18fd5d6c7361f_71208512.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b34d9ca1bc68101e8412da81bf6b1449_61018405.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/983cafe0ff27fb28a37adb2e92c7d7ea_38232557.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d715fdb3d2d3a701f980e3525f22c0e_44328771.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5e326ac23d6c40f8e06360747e3eeb6_58068543.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d1d55a1865b175647e02d941e988eeb_45334800.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aba002593d3ed7c70185fa6713093671_80754992.png change filename to text .imagette259900911755230979/ imagette259900911755230979/1755185365_1317026_1377038760_07a654c7b591aa774384d394b301c2ae_rle_crop_3914986802_0.png.png imagette259900911755230979/1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986148_0.png.png imagette259900911755230979/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926569_0.png.png imagette259900911755230979/1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986145_0.png.png imagette259900911755230979/1755185126_1310559_1377038947_dd1000f5e3d2762b65c6eb562e115b47_rle_crop_3914985711_0.png.png imagette259900911755230979/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986159_0.png.png imagette259900911755230979/1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926588_0.png.png imagette259900911755230979/1755183206_1262730_1377038222_b302fb5f11bce4a6465e5aa941ed7dee_rle_crop_3914926254_0.png.png imagette259900911755230979/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926575_0.png.png imagette259900911755230979/1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985725_0.png.png imagette259900911755230979/1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984813_0.png.png imagette259900911755230979/1755183206_1262730_1377038224_e5aa89314bdc948474ca6e1daacb5e1c_rle_crop_3914926238_0.png.png imagette259900911755230979/1755185005_1307735_1377039061_93db2366197c4c7fb160b04f1a81cdd0_rle_crop_3914984797_0.png.png imagette259900911755230979/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986165_0.png.png imagette259900911755230979/1755185246_1314131_1377039018_8d5b51225f3b73e8e67429c388ad8b13_rle_crop_3914986163_0.png.png imagette259900911755230979/1755185126_1310559_1377039023_ea5bda70150f02d26157db65a0f28364_rle_crop_3914985694_0.png.png imagette259900911755230979/1755185606_1324296_1377038196_b45d883573657aec740f287ca25be496_rle_crop_3914987482_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78d690b5d2a0ae9922caef4aef817d30_62672341.png imagette259900911755230979 25990093 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=25990093 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1377046680: '1755185005_1307735_1377039089_56d2ced214e0013431fdbbbed9ba7409_rle_crop_3914984781_0.png', 1377047185: '1755185486_1320879_1377038246_9ed3e88a6a4dfb95dc80113e2f30a1e2_rle_crop_3914987395_0.png', 1377047184: '1755185486_1320879_1377038246_9ed3e88a6a4dfb95dc80113e2f30a1e2_rle_crop_3914987396_0.png', 1377047183: '1755185486_1320879_1377038247_4ca3a01f302c61ad76fb8d3dab720df5_rle_crop_3914987383_0.png', 1377046873: '1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986143_0.png', 1377046796: '1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985728_0.png', 1377046685: '1755185005_1307735_1377039045_f3577797f12d86b4f4269e4f26a58a14_rle_crop_3914984867_0.png', 1377046684: '1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984846_0.png', 1377046683: '1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984827_0.png', 1377046682: '1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984812_0.png', 1377046681: '1755185005_1307735_1377039089_56d2ced214e0013431fdbbbed9ba7409_rle_crop_3914984786_0.png', 1377038706: '1755183145_1260789_1377038283_68587c8c3f7e12ca8b3e5a8bd19dda22_rle_crop_3914926555_0.png', 1377046580: '1755184887_1304147_1377039394_de0e9c996b553bb4928e5041c7164fb3_rle_crop_3914984451_0.png', 1377046452: '1755184765_1301210_1377039081_c6af408407a21b489ba1fe08a228bc9a_rle_crop_3914984149_0.png', 1377038750: '1755183206_1262730_1377038222_b302fb5f11bce4a6465e5aa941ed7dee_rle_crop_3914926251_0.png', 1377038748: '1755183206_1262730_1377038222_b302fb5f11bce4a6465e5aa941ed7dee_rle_crop_3914926255_0.png', 1377038712: '1755183145_1260789_1377038272_8bac19599bbabfdcf958cd3c6c7e6949_rle_crop_3914926612_0.png', 1377038711: '1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926604_0.png', 1377038710: '1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926587_0.png', 1377038709: '1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926571_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/101796892432e49bd03519f903f0dc03_61134300.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a348c7a72a0b88909e93c43517401e57_91102527.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67add6afc8036da0d29deed13976a0c5_52437438.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35dc862918ffe366a0a3e9a1569f4c55_96376826.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd5b10d4146f5e340668b72b6e8049f4_95109249.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb5cb22ff0c1e57680b8f9a2c91b74f4_3528695.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfd04bb93cb34a3062e5f2094eb52998_40937962.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13b71eea4e90e214cf14f21ba9e58318_93240556.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa384d8ddfae520dd074685951e73208_33555569.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c71ed986e2653d670ec67e62c786ad65_92642978.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/08abb6261ffbe24b066982405f3afb33_94447849.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70a0e62844ec75ca81ce257a8f98327f_12171666.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7f2feb51fc5a4932c3efb856497b07e_24802864.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/222fd1c6026f069c75bb6b3dfb447f8c_95251274.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7edeb49fce8db4b3987d3f8a337b0c37_79163385.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/077c214fd210bc8c8b95b5ba5e07349e_15202226.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc21b2baf8598e72497fa889c823fd46_31598742.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d1708ade626c90ddd1e800c783deee5_29162819.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28e55abcf663e02a3e03ef350bd33947_27088520.png change filename to text .imagette259900931755230982/ imagette259900931755230982/1755183206_1262730_1377038222_b302fb5f11bce4a6465e5aa941ed7dee_rle_crop_3914926255_0.png.png imagette259900931755230982/1755185005_1307735_1377039049_c3c499dbac5e86a0a15e86e98f01e55f_rle_crop_3914984846_0.png.png imagette259900931755230982/1755183145_1260789_1377038274_11c60625d8dd6cc09626b71155e7d53f_rle_crop_3914926604_0.png.png imagette259900931755230982/1755185005_1307735_1377039089_56d2ced214e0013431fdbbbed9ba7409_rle_crop_3914984786_0.png.png imagette259900931755230982/1755183145_1260789_1377038283_68587c8c3f7e12ca8b3e5a8bd19dda22_rle_crop_3914926555_0.png.png imagette259900931755230982/1755183145_1260789_1377038272_8bac19599bbabfdcf958cd3c6c7e6949_rle_crop_3914926612_0.png.png imagette259900931755230982/1755185126_1310559_1377038944_733c5212e26fb94dc48b512039667816_rle_crop_3914985728_0.png.png imagette259900931755230982/1755185005_1307735_1377039045_f3577797f12d86b4f4269e4f26a58a14_rle_crop_3914984867_0.png.png imagette259900931755230982/1755185005_1307735_1377039057_851cd1766f6d855701b9c8d216e51f3a_rle_crop_3914984812_0.png.png imagette259900931755230982/1755185486_1320879_1377038246_9ed3e88a6a4dfb95dc80113e2f30a1e2_rle_crop_3914987395_0.png.png imagette259900931755230982/1755185246_1314131_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c_rle_crop_3914986143_0.png.png imagette259900931755230982/1755183145_1260789_1377038276_9e042e906160678012508f5ba6c3be25_rle_crop_3914926587_0.png.png imagette259900931755230982/1755185486_1320879_1377038247_4ca3a01f302c61ad76fb8d3dab720df5_rle_crop_3914987383_0.png.png imagette259900931755230982/1755184887_1304147_1377039394_de0e9c996b553bb4928e5041c7164fb3_rle_crop_3914984451_0.png.png imagette259900931755230982/1755185005_1307735_1377039089_56d2ced214e0013431fdbbbed9ba7409_rle_crop_3914984781_0.png.png imagette259900931755230982/1755185486_1320879_1377038246_9ed3e88a6a4dfb95dc80113e2f30a1e2_rle_crop_3914987396_0.png.png imagette259900931755230982/1755183206_1262730_1377038222_b302fb5f11bce4a6465e5aa941ed7dee_rle_crop_3914926251_0.png.png imagette259900931755230982/1755185005_1307735_1377039053_a851e8d4f47237fe6f25883d7d51ffd5_rle_crop_3914984827_0.png.png imagette259900931755230982/1755183145_1260789_1377038278_22541f9d25bea142dfac059d89fe9fd5_rle_crop_3914926571_0.png.png imagette259900931755230982/1755184765_1301210_1377039081_c6af408407a21b489ba1fe08a228bc9a_rle_crop_3914984149_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d94c3d465d0542d90f60775365312d3_28773689.png imagette259900931755230982 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25990076 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25990096,25990097,25990098,25990099,25990100,25990101,25990102,25990103,25990104,25990105,25990106,25990107?tags=plastique,kraft,Carton_gris,mal_croppe,metal,autre_refus,flou,cartonnette,Carton_brun,papier,Teint_Dans_La_Masse,environnement your option no_mail is active, we will not send the real mail to your client args[1377039741] : ('0.048397163122804766',) no score found for photo 1377039741 We are sending mail with results at report@fotonower.com args[1377039402] : ('0.048397163122804766',) no score found for photo 1377039402 We are sending mail with results at report@fotonower.com args[1377039394] : ('0.048397163122804766',) no score found for photo 1377039394 We are sending mail with results at report@fotonower.com args[1377039089] : ('0.048397163122804766',) no score found for photo 1377039089 We are sending mail with results at report@fotonower.com args[1377039081] : ('0.048397163122804766',) no score found for photo 1377039081 We are sending mail with results at report@fotonower.com args[1377039064] : ('0.048397163122804766',) no score found for photo 1377039064 We are sending mail with results at report@fotonower.com args[1377039061] : ('0.048397163122804766',) no score found for photo 1377039061 We are sending mail with results at report@fotonower.com args[1377039057] : ('0.048397163122804766',) no score found for photo 1377039057 We are sending mail with results at report@fotonower.com args[1377039053] : ('0.048397163122804766',) no score found for photo 1377039053 We are sending mail with results at report@fotonower.com args[1377039049] : ('0.048397163122804766',) no score found for photo 1377039049 We are sending mail with results at report@fotonower.com args[1377039045] : ('0.048397163122804766',) no score found for photo 1377039045 We are sending mail with results at report@fotonower.com args[1377039023] : ('0.048397163122804766',) no score found for photo 1377039023 We are sending mail with results at report@fotonower.com args[1377039018] : ('0.048397163122804766',) no score found for photo 1377039018 We are sending mail with results at report@fotonower.com args[1377038949] : ('0.048397163122804766',) no score found for photo 1377038949 We are sending mail with results at report@fotonower.com args[1377038947] : ('0.048397163122804766',) no score found for photo 1377038947 We are sending mail with results at report@fotonower.com args[1377038944] : ('0.048397163122804766',) no score found for photo 1377038944 We are sending mail with results at report@fotonower.com args[1377038935] : ('0.048397163122804766',) no score found for photo 1377038935 We are sending mail with results at report@fotonower.com args[1377038843] : ('0.048397163122804766',) no score found for photo 1377038843 We are sending mail with results at report@fotonower.com args[1377038840] : ('0.048397163122804766',) no score found for photo 1377038840 We are sending mail with results at report@fotonower.com args[1377038837] : ('0.048397163122804766',) no score found for photo 1377038837 We are sending mail with results at report@fotonower.com args[1377038760] : ('0.048397163122804766',) no score found for photo 1377038760 We are sending mail with results at report@fotonower.com args[1377038757] : ('0.048397163122804766',) no score found for photo 1377038757 We are sending mail with results at report@fotonower.com args[1377038407] : ('0.048397163122804766',) no score found for photo 1377038407 We are sending mail with results at report@fotonower.com args[1377038287] : ('0.048397163122804766',) no score found for photo 1377038287 We are sending mail with results at report@fotonower.com args[1377038283] : ('0.048397163122804766',) no score found for photo 1377038283 We are sending mail with results at report@fotonower.com args[1377038278] : ('0.048397163122804766',) no score found for photo 1377038278 We are sending mail with results at report@fotonower.com args[1377038276] : ('0.048397163122804766',) no score found for photo 1377038276 We are sending mail with results at report@fotonower.com args[1377038274] : ('0.048397163122804766',) no score found for photo 1377038274 We are sending mail with results at report@fotonower.com args[1377038272] : ('0.048397163122804766',) no score found for photo 1377038272 We are sending mail with results at report@fotonower.com args[1377038259] : ('0.048397163122804766',) no score found for photo 1377038259 We are sending mail with results at report@fotonower.com args[1377038254] : ('0.048397163122804766',) no score found for photo 1377038254 We are sending mail with results at report@fotonower.com args[1377038250] : ('0.048397163122804766',) no score found for photo 1377038250 We are sending mail with results at report@fotonower.com args[1377038247] : ('0.048397163122804766',) no score found for photo 1377038247 We are sending mail with results at report@fotonower.com args[1377038246] : ('0.048397163122804766',) no score found for photo 1377038246 We are sending mail with results at report@fotonower.com args[1377038230] : ('0.048397163122804766',) no score found for photo 1377038230 We are sending mail with results at report@fotonower.com args[1377038226] : ('0.048397163122804766',) no score found for photo 1377038226 We are sending mail with results at report@fotonower.com args[1377038224] : ('0.048397163122804766',) no score found for photo 1377038224 We are sending mail with results at report@fotonower.com args[1377038222] : ('0.048397163122804766',) no score found for photo 1377038222 We are sending mail with results at report@fotonower.com args[1377038218] : ('0.048397163122804766',) no score found for photo 1377038218 We are sending mail with results at report@fotonower.com args[1377038196] : ('0.048397163122804766',) no score found for photo 1377038196 We are sending mail with results at report@fotonower.com refus_total : 0.048397163122804766 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=25990076 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_P25990076_15-08-2025_06_09_33.pdf results_Auto_P25990076_15-08-2025_06_09_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990076_15-08-2025_06_09_33.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','25990076','results_Auto_P25990076_15-08-2025_06_09_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990076_15-08-2025_06_09_33.pdf','pdf','','0.52','0.048397163122804766') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25990076]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] map_info['map_portfolio_photo'] : {25990076: [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196]} final : False mtd_id 4302 list_pids : [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] 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, '3546001') ('4302', '25990076', '1377039741', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '25990076', '1377039741', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001')] time used for this insertion : 0.016876935958862305 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.226755142211914 time spend to save output : 0.017308712005615234 total time spend for step 4 : 14.24406385421753 step5:split_time_score Fri Aug 15 06:09:46 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 : ['25990076'] 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 : [('25990076',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25990076) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1377039089: {'path': 'temp/1755230972_462015_1377039089_56d2ced214e0013431fdbbbed9ba7409.jpg', 'extension': 'jpg'}, 1377039394: {'path': 'temp/1755230972_462015_1377039394_de0e9c996b553bb4928e5041c7164fb3.jpg', 'extension': 'jpg'}, 1377039402: {'path': 'temp/1755230972_462015_1377039402_6c2ba354910c195c4f1970af2f92a3c5.jpg', 'extension': 'jpg'}, 1377039741: {'path': 'temp/1755230972_462015_1377039741_75ed60bf066fde939d94febfd262d810.jpg', 'extension': 'jpg'}, 1377039018: {'path': 'temp/1755230972_462015_1377039018_8d5b51225f3b73e8e67429c388ad8b13.jpg', 'extension': 'jpg'}, 1377039023: {'path': 'temp/1755230972_462015_1377039023_ea5bda70150f02d26157db65a0f28364.jpg', 'extension': 'jpg'}, 1377039045: {'path': 'temp/1755230972_462015_1377039045_f3577797f12d86b4f4269e4f26a58a14.jpg', 'extension': 'jpg'}, 1377039049: {'path': 'temp/1755230972_462015_1377039049_c3c499dbac5e86a0a15e86e98f01e55f.jpg', 'extension': 'jpg'}, 1377039053: {'path': 'temp/1755230972_462015_1377039053_a851e8d4f47237fe6f25883d7d51ffd5.jpg', 'extension': 'jpg'}, 1377039057: {'path': 'temp/1755230972_462015_1377039057_851cd1766f6d855701b9c8d216e51f3a.jpg', 'extension': 'jpg'}, 1377039061: {'path': 'temp/1755230972_462015_1377039061_93db2366197c4c7fb160b04f1a81cdd0.jpg', 'extension': 'jpg'}, 1377039064: {'path': 'temp/1755230972_462015_1377039064_2359754f9b1e88e0a01dae4fc98f3b1c.jpg', 'extension': 'jpg'}, 1377039081: {'path': 'temp/1755230972_462015_1377039081_c6af408407a21b489ba1fe08a228bc9a.jpg', 'extension': 'jpg'}, 1377038254: {'path': 'temp/1755230972_462015_1377038254_8c2994b994f6122811a2ae41b5da5fb3.jpg', 'extension': 'jpg'}, 1377038259: {'path': 'temp/1755230972_462015_1377038259_cb186048a476548fa71dae5693ddd3aa.jpg', 'extension': 'jpg'}, 1377038272: {'path': 'temp/1755230972_462015_1377038272_8bac19599bbabfdcf958cd3c6c7e6949.jpg', 'extension': 'jpg'}, 1377038274: {'path': 'temp/1755230972_462015_1377038274_11c60625d8dd6cc09626b71155e7d53f.jpg', 'extension': 'jpg'}, 1377038276: {'path': 'temp/1755230972_462015_1377038276_9e042e906160678012508f5ba6c3be25.jpg', 'extension': 'jpg'}, 1377038278: {'path': 'temp/1755230972_462015_1377038278_22541f9d25bea142dfac059d89fe9fd5.jpg', 'extension': 'jpg'}, 1377038283: {'path': 'temp/1755230972_462015_1377038283_68587c8c3f7e12ca8b3e5a8bd19dda22.jpg', 'extension': 'jpg'}, 1377038287: {'path': 'temp/1755230972_462015_1377038287_d4c28803032f06f7ac0550b87f72be0a.jpg', 'extension': 'jpg'}, 1377038407: {'path': 'temp/1755230972_462015_1377038407_ea868586f571f278a1302e4b0153b981.jpg', 'extension': 'jpg'}, 1377038757: {'path': 'temp/1755230972_462015_1377038757_18d6c2fcc63c9b2e2eaa97ff72f9c113.jpg', 'extension': 'jpg'}, 1377038760: {'path': 'temp/1755230972_462015_1377038760_07a654c7b591aa774384d394b301c2ae.jpg', 'extension': 'jpg'}, 1377038837: {'path': 'temp/1755230972_462015_1377038837_df5fb84d1a0b25b14c48a0cffc6dc6ca.jpg', 'extension': 'jpg'}, 1377038840: {'path': 'temp/1755230972_462015_1377038840_abb428aa0737c70d0ac24c8470aea70c.jpg', 'extension': 'jpg'}, 1377038843: {'path': 'temp/1755230972_462015_1377038843_3ac97fbe7e238e2ef0f5b1f1d063d02a.jpg', 'extension': 'jpg'}, 1377038935: {'path': 'temp/1755230972_462015_1377038935_7fec4c26ba2313213db52d26d874c4d6.jpg', 'extension': 'jpg'}, 1377038944: {'path': 'temp/1755230972_462015_1377038944_733c5212e26fb94dc48b512039667816.jpg', 'extension': 'jpg'}, 1377038947: {'path': 'temp/1755230972_462015_1377038947_dd1000f5e3d2762b65c6eb562e115b47.jpg', 'extension': 'jpg'}, 1377038949: {'path': 'temp/1755230972_462015_1377038949_f0511c3331c3174b16e1ec73af831642.jpg', 'extension': 'jpg'}, 1377038196: {'path': 'temp/1755230972_462015_1377038196_b45d883573657aec740f287ca25be496.jpg', 'extension': 'jpg'}, 1377038218: {'path': 'temp/1755230972_462015_1377038218_77cb391ede30dedbe13c24e9cc8b5355.jpg', 'extension': 'jpg'}, 1377038222: {'path': 'temp/1755230972_462015_1377038222_b302fb5f11bce4a6465e5aa941ed7dee.jpg', 'extension': 'jpg'}, 1377038224: {'path': 'temp/1755230972_462015_1377038224_e5aa89314bdc948474ca6e1daacb5e1c.jpg', 'extension': 'jpg'}, 1377038226: {'path': 'temp/1755230972_462015_1377038226_8b0e09502869cf4c6dcbb6baae492de5.jpg', 'extension': 'jpg'}, 1377038230: {'path': 'temp/1755230972_462015_1377038230_90d7281eca364411b82ee92c0dc083b4.jpg', 'extension': 'jpg'}, 1377038246: {'path': 'temp/1755230972_462015_1377038246_9ed3e88a6a4dfb95dc80113e2f30a1e2.jpg', 'extension': 'jpg'}, 1377038247: {'path': 'temp/1755230972_462015_1377038247_4ca3a01f302c61ad76fb8d3dab720df5.jpg', 'extension': 'jpg'}, 1377038250: {'path': 'temp/1755230972_462015_1377038250_f1c62f5dc65615ea366391897d2bc16f.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 = 25990076; (('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 = 25990076 group by h (('16', 40),) 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=25990076 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 (25990076) 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 (25990076) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14082025 25990076 Nombre de photos uploadées : 40 / 23040 (0%) 14082025 25990076 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 14082025 25990076 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1377038196, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b45d883573657aec740f287ca25be496.jpg', 'username': None, 'uploaded_at': 1755182768, 'text': 'image_14082025_16_45_44_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1377038230, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90d7281eca364411b82ee92c0dc083b4.jpg', 'username': None, 'uploaded_at': 1755182828, 'text': 'image_14082025_16_45_54_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1377038226, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b0e09502869cf4c6dcbb6baae492de5.jpg', 'username': None, 'uploaded_at': 1755182828, 'text': 'image_14082025_16_46_04_010144m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1377038224, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5aa89314bdc948474ca6e1daacb5e1c.jpg', 'username': None, 'uploaded_at': 1755182828, 'text': 'image_14082025_16_46_13_009127m0.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.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018520355224609375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25990076, '2025-08-14' ) 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-14' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2114655,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2114717960357666 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= 2114655 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25957846, 'dashboard_result_id': 14044418, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957846_15-08-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25957848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25957849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25957850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25957851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25957852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25957853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25957854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25957855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25957856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25957857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25957858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25957859, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25958208, 'dashboard_result_id': 14044419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958208_15-08-2025_05_34_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25958216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958227, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25958481, 'dashboard_result_id': 14044420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958481_15-08-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25958509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958517, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25958896, 'dashboard_result_id': 14044421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958896_15-08-2025_05_35_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25958932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958941, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25960055, 'dashboard_result_id': 14044422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960055_15-08-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25960064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960075, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25960403, 'dashboard_result_id': 14044423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960403_15-08-2025_05_38_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25960411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960418, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25960559, 'dashboard_result_id': 14044424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960559_15-08-2025_05_39_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25960573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960580, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25961140, 'dashboard_result_id': 14044425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961140_15-08-2025_05_39_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25961186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25961187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25961188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25961189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25961190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25961191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25961192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25961193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25961194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25961195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25961196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25961197, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25961631, 'dashboard_result_id': 14044426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961631_15-08-2025_05_40_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25961648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25961649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25961650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25961651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25961652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25961653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25961654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25961655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25961656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25961657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25961658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25961659, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25962142, 'dashboard_result_id': 14044427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962142_15-08-2025_05_40_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25962158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25962159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25962160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25962161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25962162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25962163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25962164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25962165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25962166, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25962167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25962168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25962169, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25962665, 'dashboard_result_id': 14044428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962665_15-08-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25962682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25962683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25962685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25962686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25962687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25962688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25962689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25962690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25962691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25962692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25962693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25962694, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25963363, 'dashboard_result_id': 14044429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963363_15-08-2025_05_41_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25963395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25963396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25963397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25963398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25963399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25963400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25963401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25963402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25963403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25963404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25963406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25963407, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25963828, 'dashboard_result_id': 14044430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963828_15-08-2025_05_41_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25963861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25963862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25963863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25963864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25963865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25963866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25963867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25963868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25963869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25963870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25963871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25963872, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25964375, 'dashboard_result_id': 14044431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964375_15-08-2025_05_42_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25964384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25964385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25964386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25964387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25964388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25964389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25964390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25964391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25964392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25964393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25964394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25964395, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25964780, 'dashboard_result_id': 14044432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964780_15-08-2025_05_42_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25964793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25964794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25964795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25964796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25964797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25964798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25964799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25964800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25964801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25964802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25964803, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25964804, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25965323, 'dashboard_result_id': 14044433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965323_15-08-2025_05_43_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25965357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25965358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25965359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25965360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25965361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25965362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25965363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25965364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25965365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25965366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25965367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25965368, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25965736, 'dashboard_result_id': 14044434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965736_15-08-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25965769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25965770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25965771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25965772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25965773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25965774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25965775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25965776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25965777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25965778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25965780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25965781, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25966441, 'dashboard_result_id': 14044435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25966441_15-08-2025_05_43_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25966445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25966446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25966447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25966448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25966449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25966450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25966451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25966452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25966453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25966454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25966455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25966456, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25967036, 'dashboard_result_id': 14044436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967036_15-08-2025_05_44_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967049, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25967240, 'dashboard_result_id': 14044437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967240_15-08-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967256, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25967455, 'dashboard_result_id': 14044438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967455_15-08-2025_05_45_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967471, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25968017, 'dashboard_result_id': 14044439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968017_15-08-2025_05_45_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25968034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968045, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25968402, 'dashboard_result_id': 14044440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968402_15-08-2025_05_45_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25968418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968428, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25968826, 'dashboard_result_id': 14044441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968826_15-08-2025_05_46_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25968844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968846, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25969226, 'dashboard_result_id': 14044442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969226_15-08-2025_05_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25969235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25969236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25969237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25969238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25969239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25969240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25969241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25969242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25969243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25969244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25969245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25969246, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25969892, 'dashboard_result_id': 14044443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969892_15-08-2025_05_47_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25969902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25969903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25969904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25969905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25969906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25969907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25969908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25969909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25969910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25969911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25969912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25969913, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25970482, 'dashboard_result_id': 14044444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970482_15-08-2025_05_47_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25970504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25970505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25970506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25970507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25970508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25970509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25970510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25970511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25970512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25970513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25970514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25970515, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25970923, 'dashboard_result_id': 14044445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970923_15-08-2025_05_47_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25970940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25970941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25970942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25970943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25970944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25970945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25970946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25970947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25970948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25970949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25970950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25970951, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25971275, 'dashboard_result_id': 14044446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971275_15-08-2025_05_48_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25971284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25971285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25971286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25971287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25971288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25971289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25971290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25971291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25971293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25971294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25971295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25971296, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25971884, 'dashboard_result_id': 14044447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971884_15-08-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25971901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25971902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25971903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25971904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25971905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25971906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25971907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25971908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25971909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25971911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25971912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25971913, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25972260, 'dashboard_result_id': 14044448, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972260_15-08-2025_05_51_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25972269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25972270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25972271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25972272, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25972273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25972274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25972275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25972276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25972277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25972279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25972280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25972281, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25972719, 'dashboard_result_id': 14044449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972719_15-08-2025_05_51_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25972731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25972732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25972733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25972734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25972735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25972736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25972737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25972738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25972739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25972740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25972741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25972742, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25974371, 'dashboard_result_id': 14044450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974371_15-08-2025_05_51_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25974375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25974376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25974377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25974378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25974379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25974380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25974381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25974382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25974383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25974384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25974385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25974386, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25974831, 'dashboard_result_id': 14044451, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974831_15-08-2025_05_52_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25974836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25974838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25974839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25974840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25974841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25974842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25974843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25974844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25974845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25974846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25974847, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25974998, 'dashboard_result_id': 14044452, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974998_15-08-2025_05_52_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975028, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25975505, 'dashboard_result_id': 14044453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25975505_15-08-2025_05_53_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975549, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25975774, 'dashboard_result_id': 14044454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25975774_15-08-2025_05_53_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975794, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25976001, 'dashboard_result_id': 14044455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976001_15-08-2025_05_53_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25976027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976031, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25976449, 'dashboard_result_id': 14044456, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976449_15-08-2025_05_54_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25976484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976486, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25976961, 'dashboard_result_id': 14044457, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976961_15-08-2025_05_54_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25976983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976994, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25977377, 'dashboard_result_id': 14044458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977377_15-08-2025_05_55_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25977408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25977409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25977411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25977412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25977413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25977414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25977415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25977416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25977417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25977418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25977419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25977420, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25977847, 'dashboard_result_id': 14044459, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977847_15-08-2025_05_55_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25977876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25977877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25977878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25977879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25977880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25977881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25977882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25977883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25977884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25977885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25977886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25977887, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25978393, 'dashboard_result_id': 14044460, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25978393_15-08-2025_05_56_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25978401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25978402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25978403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25978404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25978405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25978406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25978407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25978408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25978409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25978410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25978411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25978412, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25979121, 'dashboard_result_id': 14044461, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979121_15-08-2025_05_56_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25979145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25979146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25979147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25979148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25979149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25979150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25979151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25979152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25979153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25979154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25979155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25979156, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25979919, 'dashboard_result_id': 14044462, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979919_15-08-2025_05_57_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25979965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25979966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25979967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25979968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25979969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25979970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25979971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25979972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25979973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25979974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25979975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25979976, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25981717, 'dashboard_result_id': 14044463, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25981717_15-08-2025_05_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25981734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25981735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25981736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25981737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25981738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25981739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25981740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25981741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25981742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25981743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25981744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25981745, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25982176, 'dashboard_result_id': 14044464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982176_15-08-2025_05_58_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25982182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25982184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25982185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25982186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25982187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25982188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25982189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25982191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25982192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25982193, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25982493, 'dashboard_result_id': 14044465, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982493_15-08-2025_05_59_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25982543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25982544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25982545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25982546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25982547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25982548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25982549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25982550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25982552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25982553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982554, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25982967, 'dashboard_result_id': 14044466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982967_15-08-2025_05_59_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25983000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25983001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25983002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25983003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25983004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25983005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25983006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25983007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25983008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25983009, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25983413, 'dashboard_result_id': 14044467, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25983413_15-08-2025_06_00_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25983424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25983425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25983426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25983427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25983428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25983429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25983430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25983431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25983432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25983433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25983434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25983435, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25984362, 'dashboard_result_id': 14044468, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984362_15-08-2025_06_01_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25984392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25984393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25984394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25984396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25984397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25984398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25984400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25984401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25984402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25984403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25984405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25984406, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25984930, 'dashboard_result_id': 14044469, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984930_15-08-2025_06_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25984984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25984985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25984987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25984988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25984989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25984990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25984991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25984992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25984993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25984994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25984995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25984996, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25985746, 'dashboard_result_id': 14044470, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25985746_15-08-2025_06_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25985755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25985756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25985757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25985758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25985759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25985760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25985761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25985762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25985763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25985764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25985765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25985766, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25986148, 'dashboard_result_id': 14044471, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986148_15-08-2025_06_03_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986175, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986186, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25986485, 'dashboard_result_id': 14044472, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986485_15-08-2025_06_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986524, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25986853, 'dashboard_result_id': 14044473, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986853_15-08-2025_06_04_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986890, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25987396, 'dashboard_result_id': 14044474, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987396_15-08-2025_06_05_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25987432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25987433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25987434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25987435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25987436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25987437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25987438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25987439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25987440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25987441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25987442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25987443, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25987936, 'dashboard_result_id': 14044475, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987936_15-08-2025_06_05_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25987995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25987996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25987997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25987998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25987999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25988000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25988001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25988002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25988003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25988004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25988005, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25988006, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25988825, 'dashboard_result_id': 14044476, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25988825_15-08-2025_06_09_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25988837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25988838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25988839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25988840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25988841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25988842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25988843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25988844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25988845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25988846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25988847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25988848, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25990030, 'dashboard_result_id': 14044477, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990030_14-08-2025_16_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990050, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25990076, 'dashboard_result_id': 14044478, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990076_14-08-2025_17_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990094, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25990465, 'dashboard_result_id': 14044479, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990465_14-08-2025_17_44_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990480, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25991498, 'dashboard_result_id': 14044480, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991498_14-08-2025_17_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25991508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25991509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25991510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25991511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25991512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25991513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25991514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25991515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25991516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25991517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25991518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25991519, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25991954, 'dashboard_result_id': 14044481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991954_14-08-2025_18_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25991961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25991962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25991963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25991964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25991965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25991966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25991967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25991968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25991970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25991971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25991972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25991973, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25992397, 'dashboard_result_id': 14044482, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25992397_14-08-2025_18_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25992410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25992411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25992412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25992413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25992414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25992415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25992416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25992417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25992418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25992420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25992421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25992422, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25993028, 'dashboard_result_id': 14044483, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993028_14-08-2025_18_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25993052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25993053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25993054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25993055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25993056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25993057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25993058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25993059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25993060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25993061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25993062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25993063, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25993776, 'dashboard_result_id': 14044484, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993776_15-08-2025_05_38_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25993841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25993842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25993843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25993844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25993845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25993846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25993847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25993848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25993849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25993850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25993851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25993852, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25994603, 'dashboard_result_id': 14044485, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25994603_15-08-2025_05_37_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25994616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25994617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25994618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25994619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25994620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25994621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25994622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25994623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25994625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25994626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25994627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25994628, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25995228, 'dashboard_result_id': 14044486, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25995228_15-08-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25995263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25995264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25995265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25995266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25995267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25995268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25995269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25995270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25995271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25995272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25995273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25995274, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25996018, 'dashboard_result_id': 14044487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996018_15-08-2025_05_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25996070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25996071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25996072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25996073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25996074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25996075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25996076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25996077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25996079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25996080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25996081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25996082, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25996878, 'dashboard_result_id': 14044488, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996878_15-08-2025_05_37_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25996896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25996897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25996898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25996899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25996900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25996901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25996903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25996904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25996905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25996906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25996907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25996908, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25997645, 'dashboard_result_id': 14044489, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25997645_15-08-2025_05_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25997690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25997691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25997692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25997693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25997694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25997695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25997696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25997697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25997698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25997699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25997700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25997701, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25998184, 'dashboard_result_id': 14044490, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998184_15-08-2025_05_36_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25998230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25998231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25998232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25998233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25998234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25998235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25998236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25998237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25998238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25998239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25998240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25998241, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25998883, 'dashboard_result_id': 14044491, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998883_14-08-2025_20_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25998969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25998970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25998972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25998973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25998974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25998975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25998976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25998977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25998978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25998979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25998980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25998981, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 25999484, 'dashboard_result_id': 14044492, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25999484_14-08-2025_21_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25999545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25999546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25999547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25999548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25999549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25999550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25999551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25999552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25999553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25999554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25999555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25999556, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26000707, 'dashboard_result_id': 14044493, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26000707_14-08-2025_21_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26000733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26000734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26000735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26000736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26000737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26000738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26000739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26000740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26000741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26000742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26000743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26000744, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26001264, 'dashboard_result_id': 14044494, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26001264_14-08-2025_21_32_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26001282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26001283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26001284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26001285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26001286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26001287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26001288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26001289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26001290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26001291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26001292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26001293, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26002005, 'dashboard_result_id': 14044495, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002005_14-08-2025_21_48_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26002014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26002015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26002016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26002018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26002019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26002020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26002021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26002023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26002024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26002026, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26002582, 'dashboard_result_id': 14044496, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002582_15-08-2025_05_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26002615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26002617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26002618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26002619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26002620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26002621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26002622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26002623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26002624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26002625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26002626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26002627, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26003110, 'dashboard_result_id': 14044497, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003110_15-08-2025_05_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26003126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26003127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26003128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26003129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26003130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26003131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26003132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26003133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26003134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26003135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26003136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26003137, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26003929, 'dashboard_result_id': 14044498, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003929_15-08-2025_05_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26003968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26003969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26003970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26003971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26003972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26003973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26003974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26003975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26003976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26003977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26003978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26003979, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26004748, 'dashboard_result_id': 14044499, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26004748_15-08-2025_05_49_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26004790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26004791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26004792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26004793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26004794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26004795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26004796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26004797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26004798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26004799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26004800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26004801, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26005639, 'dashboard_result_id': 14044500, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26005639_15-08-2025_05_50_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26005652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26005653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26005654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26005655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26005656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26005657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26005658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26005659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26005660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26005661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26005662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26005663, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26006249, 'dashboard_result_id': 14044501, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006249_14-08-2025_23_22_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26006277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26006278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26006279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26006280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26006281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26006282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26006283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26006284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26006285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26006286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26006287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26006288, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26006939, 'dashboard_result_id': 14044502, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006939_14-08-2025_23_33_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26006956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26006957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26006958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26006959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26006960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26006961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26006962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26006963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26006964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26006965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26006966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26006967, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26007443, 'dashboard_result_id': 14044503, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26007443_14-08-2025_23_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26007494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26007495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26007496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26007497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26007498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26007499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26007500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26007501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26007502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26007503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26007504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26007505, 'pht': 3726}}"}, {'dashboat_entry_day': 2114655, 'dashboard_run_id': 2131261, 'mtr_portfolio_id': 26008090, 'dashboard_result_id': 14044504, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26008090_15-08-2025_01_01_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26008107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26008108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26008109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26008110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26008111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26008112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26008113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26008114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26008115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26008116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26008117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26008118, '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 = 25957846 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545941, 'mtr_portfolio_id': 25957846, 'created_at': datetime.datetime(2025, 8, 15, 5, 34, 28), 'result': '0.05899785751415774', 'result_long': None, 'result_double': None}] Qualite : 0.05899785751415774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25957846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957846_15-08-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25957846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957846_15-08-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25957848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25957849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25957850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25957851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25957852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25957853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25957854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25957855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25957856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25957857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25957858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25957859, 'pht': 3726}}" where mtr_portfolio_id = 25957846 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25957846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044418, 0.05899785751415774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25957846_15-08-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25957848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25957849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25957850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25957851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25957852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25957853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25957854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25957855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25957856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25957857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25957858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25957859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25958208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545942, 'mtr_portfolio_id': 25958208, 'created_at': datetime.datetime(2025, 8, 15, 5, 34, 27), 'result': '0.06954581677072803', 'result_long': None, 'result_double': None}] Qualite : 0.06954581677072803 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25958208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958208_15-08-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25958208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958208_15-08-2025_05_34_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25958216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958227, 'pht': 3726}}" where mtr_portfolio_id = 25958208 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25958208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044419, 0.06954581677072803, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958208_15-08-2025_05_34_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25958216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25958481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545943, 'mtr_portfolio_id': 25958481, 'created_at': datetime.datetime(2025, 8, 15, 5, 35, 27), 'result': '0.0519868189659249', 'result_long': None, 'result_double': None}] Qualite : 0.0519868189659249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25958481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958481_15-08-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25958481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958481_15-08-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25958509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958517, 'pht': 3726}}" where mtr_portfolio_id = 25958481 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25958481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044420, 0.0519868189659249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958481_15-08-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25958509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958517, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25958896 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545944, 'mtr_portfolio_id': 25958896, 'created_at': datetime.datetime(2025, 8, 15, 5, 35, 29), 'result': '0.05694973610862853', 'result_long': None, 'result_double': None}] Qualite : 0.05694973610862853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25958896 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958896_15-08-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25958896 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958896_15-08-2025_05_35_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25958932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958941, 'pht': 3726}}" where mtr_portfolio_id = 25958896 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25958896 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044421, 0.05694973610862853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25958896_15-08-2025_05_35_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25958930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25958931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25958932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25958933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25958934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25958935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25958936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25958937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25958938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25958939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25958940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25958941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25960055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545945, 'mtr_portfolio_id': 25960055, 'created_at': datetime.datetime(2025, 8, 15, 5, 35, 58), 'result': '0.04747243606978841', 'result_long': None, 'result_double': None}] Qualite : 0.04747243606978841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25960055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960055_15-08-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25960055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960055_15-08-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25960064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960075, 'pht': 3726}}" where mtr_portfolio_id = 25960055 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25960055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044422, 0.04747243606978841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960055_15-08-2025_05_36_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25960064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25960403 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545946, 'mtr_portfolio_id': 25960403, 'created_at': datetime.datetime(2025, 8, 15, 5, 38, 57), 'result': '0.06823633895401231', 'result_long': None, 'result_double': None}] Qualite : 0.06823633895401231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25960403 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960403_15-08-2025_05_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25960403 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960403_15-08-2025_05_38_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25960411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960418, 'pht': 3726}}" where mtr_portfolio_id = 25960403 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25960403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044423, 0.06823633895401231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960403_15-08-2025_05_38_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25960411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960418, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25960559 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545947, 'mtr_portfolio_id': 25960559, 'created_at': datetime.datetime(2025, 8, 15, 5, 39, 27), 'result': '0.049829573767651854', 'result_long': None, 'result_double': None}] Qualite : 0.049829573767651854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25960559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960559_15-08-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25960559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960559_15-08-2025_05_39_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25960573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960580, 'pht': 3726}}" where mtr_portfolio_id = 25960559 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25960559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044424, 0.049829573767651854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25960559_15-08-2025_05_39_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25960569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25960570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25960571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25960572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25960573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25960574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25960575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25960576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25960577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25960578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25960579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25960580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25961140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545948, 'mtr_portfolio_id': 25961140, 'created_at': datetime.datetime(2025, 8, 15, 5, 39, 33), 'result': '0.047097403387423395', 'result_long': None, 'result_double': None}] Qualite : 0.047097403387423395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25961140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961140_15-08-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25961140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961140_15-08-2025_05_39_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25961186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25961187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25961188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25961189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25961190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25961191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25961192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25961193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25961194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25961195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25961196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25961197, 'pht': 3726}}" where mtr_portfolio_id = 25961140 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25961140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044425, 0.047097403387423395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961140_15-08-2025_05_39_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25961186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25961187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25961188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25961189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25961190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25961191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25961192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25961193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25961194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25961195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25961196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25961197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25961631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545949, 'mtr_portfolio_id': 25961631, 'created_at': datetime.datetime(2025, 8, 15, 5, 39, 56), 'result': '0.03726646207680607', 'result_long': None, 'result_double': None}] Qualite : 0.03726646207680607 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25961631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961631_15-08-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25961631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961631_15-08-2025_05_40_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25961648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25961649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25961650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25961651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25961652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25961653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25961654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25961655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25961656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25961657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25961658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25961659, 'pht': 3726}}" where mtr_portfolio_id = 25961631 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25961631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044426, 0.03726646207680607, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25961631_15-08-2025_05_40_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25961648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25961649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25961650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25961651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25961652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25961653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25961654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25961655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25961656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25961657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25961658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25961659, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25962142 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545950, 'mtr_portfolio_id': 25962142, 'created_at': datetime.datetime(2025, 8, 15, 5, 40, 30), 'result': '0.03881141729232841', 'result_long': None, 'result_double': None}] Qualite : 0.03881141729232841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25962142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962142_15-08-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25962142 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962142_15-08-2025_05_40_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25962158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25962159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25962160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25962161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25962162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25962163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25962164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25962165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25962166, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25962167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25962168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25962169, 'pht': 3726}}" where mtr_portfolio_id = 25962142 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25962142 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044427, 0.03881141729232841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962142_15-08-2025_05_40_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25962158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25962159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25962160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25962161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25962162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25962163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25962164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25962165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25962166, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25962167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25962168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25962169, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25962665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545951, 'mtr_portfolio_id': 25962665, 'created_at': datetime.datetime(2025, 8, 15, 5, 40, 58), 'result': '0.04073056350512067', 'result_long': None, 'result_double': None}] Qualite : 0.04073056350512067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25962665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962665_15-08-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25962665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962665_15-08-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25962682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25962683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25962685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25962686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25962687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25962688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25962689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25962690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25962691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25962692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25962693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25962694, 'pht': 3726}}" where mtr_portfolio_id = 25962665 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25962665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044428, 0.04073056350512067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25962665_15-08-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25962682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25962683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25962685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25962686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25962687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25962688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25962689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25962690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25962691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25962692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25962693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25962694, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25963363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545952, 'mtr_portfolio_id': 25963363, 'created_at': datetime.datetime(2025, 8, 15, 5, 41, 32), 'result': '0.030406088233890047', 'result_long': None, 'result_double': None}] Qualite : 0.030406088233890047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25963363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963363_15-08-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25963363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963363_15-08-2025_05_41_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25963395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25963396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25963397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25963398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25963399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25963400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25963401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25963402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25963403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25963404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25963406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25963407, 'pht': 3726}}" where mtr_portfolio_id = 25963363 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25963363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044429, 0.030406088233890047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963363_15-08-2025_05_41_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25963395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25963396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25963397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25963398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25963399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25963400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25963401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25963402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25963403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25963404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25963406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25963407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25963828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545953, 'mtr_portfolio_id': 25963828, 'created_at': datetime.datetime(2025, 8, 15, 5, 41, 29), 'result': '0.047518525491537476', 'result_long': None, 'result_double': None}] Qualite : 0.047518525491537476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25963828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963828_15-08-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25963828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963828_15-08-2025_05_41_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25963861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25963862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25963863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25963864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25963865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25963866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25963867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25963868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25963869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25963870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25963871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25963872, 'pht': 3726}}" where mtr_portfolio_id = 25963828 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25963828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044430, 0.047518525491537476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25963828_15-08-2025_05_41_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25963861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25963862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25963863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25963864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25963865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25963866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25963867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25963868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25963869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25963870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25963871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25963872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25964375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545954, 'mtr_portfolio_id': 25964375, 'created_at': datetime.datetime(2025, 8, 15, 5, 41, 58), 'result': '0.08058939002094953', 'result_long': None, 'result_double': None}] Qualite : 0.08058939002094953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25964375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964375_15-08-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25964375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964375_15-08-2025_05_42_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25964384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25964385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25964386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25964387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25964388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25964389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25964390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25964391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25964392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25964393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25964394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25964395, 'pht': 3726}}" where mtr_portfolio_id = 25964375 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25964375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044431, 0.08058939002094953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964375_15-08-2025_05_42_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25964384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25964385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25964386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25964387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25964388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25964389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25964390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25964391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25964392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25964393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25964394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25964395, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25964780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545955, 'mtr_portfolio_id': 25964780, 'created_at': datetime.datetime(2025, 8, 15, 5, 42, 28), 'result': '0.044287097897939505', 'result_long': None, 'result_double': None}] Qualite : 0.044287097897939505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25964780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964780_15-08-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25964780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964780_15-08-2025_05_42_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25964793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25964794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25964795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25964796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25964797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25964798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25964799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25964800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25964801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25964802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25964803, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25964804, 'pht': 3726}}" where mtr_portfolio_id = 25964780 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25964780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044432, 0.044287097897939505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25964780_15-08-2025_05_42_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25964793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25964794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25964795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25964796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25964797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25964798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25964799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25964800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25964801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25964802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25964803, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25964804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25965323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545956, 'mtr_portfolio_id': 25965323, 'created_at': datetime.datetime(2025, 8, 15, 5, 43), 'result': '0.04526484693516153', 'result_long': None, 'result_double': None}] Qualite : 0.04526484693516153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25965323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965323_15-08-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25965323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965323_15-08-2025_05_43_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25965357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25965358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25965359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25965360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25965361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25965362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25965363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25965364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25965365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25965366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25965367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25965368, 'pht': 3726}}" where mtr_portfolio_id = 25965323 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25965323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044433, 0.04526484693516153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965323_15-08-2025_05_43_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25965357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25965358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25965359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25965360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25965361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25965362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25965363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25965364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25965365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25965366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25965367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25965368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25965736 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545957, 'mtr_portfolio_id': 25965736, 'created_at': datetime.datetime(2025, 8, 15, 5, 43, 31), 'result': '0.06209488623417022', 'result_long': None, 'result_double': None}] Qualite : 0.06209488623417022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25965736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965736_15-08-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25965736 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965736_15-08-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25965769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25965770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25965771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25965772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25965773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25965774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25965775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25965776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25965777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25965778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25965780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25965781, 'pht': 3726}}" where mtr_portfolio_id = 25965736 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25965736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044434, 0.06209488623417022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25965736_15-08-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25965769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25965770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25965771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25965772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25965773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25965774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25965775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25965776, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25965777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25965778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25965780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25965781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25966441 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545958, 'mtr_portfolio_id': 25966441, 'created_at': datetime.datetime(2025, 8, 15, 5, 43, 27), 'result': '0.04481093728186757', 'result_long': None, 'result_double': None}] Qualite : 0.04481093728186757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25966441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25966441_15-08-2025_05_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25966441 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25966441_15-08-2025_05_43_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25966445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25966446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25966447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25966448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25966449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25966450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25966451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25966452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25966453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25966454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25966455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25966456, 'pht': 3726}}" where mtr_portfolio_id = 25966441 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25966441 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044435, 0.04481093728186757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25966441_15-08-2025_05_43_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25966445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25966446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25966447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25966448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25966449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25966450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25966451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25966452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25966453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25966454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25966455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25966456, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25967036 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545959, 'mtr_portfolio_id': 25967036, 'created_at': datetime.datetime(2025, 8, 15, 5, 43, 58), 'result': '0.03184989857305887', 'result_long': None, 'result_double': None}] Qualite : 0.03184989857305887 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25967036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967036_15-08-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25967036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967036_15-08-2025_05_44_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967049, 'pht': 3726}}" where mtr_portfolio_id = 25967036 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25967036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044436, 0.03184989857305887, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967036_15-08-2025_05_44_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967049, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25967240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545960, 'mtr_portfolio_id': 25967240, 'created_at': datetime.datetime(2025, 8, 15, 5, 44, 28), 'result': '0.035817705897803476', 'result_long': None, 'result_double': None}] Qualite : 0.035817705897803476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25967240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967240_15-08-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25967240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967240_15-08-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967256, 'pht': 3726}}" where mtr_portfolio_id = 25967240 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25967240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044437, 0.035817705897803476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967240_15-08-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967256, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25967455 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545961, 'mtr_portfolio_id': 25967455, 'created_at': datetime.datetime(2025, 8, 15, 5, 44, 57), 'result': '0.07167555102107441', 'result_long': None, 'result_double': None}] Qualite : 0.07167555102107441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25967455 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967455_15-08-2025_05_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25967455 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967455_15-08-2025_05_45_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967471, 'pht': 3726}}" where mtr_portfolio_id = 25967455 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25967455 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044438, 0.07167555102107441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25967455_15-08-2025_05_45_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25967460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25967461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25967462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25967463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25967464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25967465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25967466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25967467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25967468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25967469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25967470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25967471, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25968017 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545962, 'mtr_portfolio_id': 25968017, 'created_at': datetime.datetime(2025, 8, 15, 5, 45, 31), 'result': '0.055589892403701185', 'result_long': None, 'result_double': None}] Qualite : 0.055589892403701185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25968017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968017_15-08-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25968017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968017_15-08-2025_05_45_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25968034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968045, 'pht': 3726}}" where mtr_portfolio_id = 25968017 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25968017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044439, 0.055589892403701185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968017_15-08-2025_05_45_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25968034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25968402 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545963, 'mtr_portfolio_id': 25968402, 'created_at': datetime.datetime(2025, 8, 15, 5, 45, 31), 'result': '0.05195050956327917', 'result_long': None, 'result_double': None}] Qualite : 0.05195050956327917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25968402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968402_15-08-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25968402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968402_15-08-2025_05_45_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25968418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968428, 'pht': 3726}}" where mtr_portfolio_id = 25968402 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25968402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044440, 0.05195050956327917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968402_15-08-2025_05_45_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25968418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25968826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545964, 'mtr_portfolio_id': 25968826, 'created_at': datetime.datetime(2025, 8, 15, 5, 45, 59), 'result': '0.04958856204977315', 'result_long': None, 'result_double': None}] Qualite : 0.04958856204977315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25968826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968826_15-08-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25968826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968826_15-08-2025_05_46_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25968844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968846, 'pht': 3726}}" where mtr_portfolio_id = 25968826 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25968826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044441, 0.04958856204977315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25968826_15-08-2025_05_46_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25968835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25968836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25968837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25968838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25968839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25968840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25968841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25968842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25968843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25968844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25968845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25968846, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25969226 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545965, 'mtr_portfolio_id': 25969226, 'created_at': datetime.datetime(2025, 8, 15, 5, 46, 28), 'result': '0.051061258005449695', 'result_long': None, 'result_double': None}] Qualite : 0.051061258005449695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25969226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969226_15-08-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25969226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969226_15-08-2025_05_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25969235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25969236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25969237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25969238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25969239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25969240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25969241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25969242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25969243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25969244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25969245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25969246, 'pht': 3726}}" where mtr_portfolio_id = 25969226 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25969226 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044442, 0.051061258005449695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969226_15-08-2025_05_46_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25969235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25969236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25969237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25969238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25969239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25969240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25969241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25969242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25969243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25969244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25969245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25969246, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25969892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545966, 'mtr_portfolio_id': 25969892, 'created_at': datetime.datetime(2025, 8, 15, 5, 47, 1), 'result': '0.044681298989005684', 'result_long': None, 'result_double': None}] Qualite : 0.044681298989005684 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25969892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969892_15-08-2025_05_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25969892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969892_15-08-2025_05_47_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25969902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25969903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25969904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25969905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25969906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25969907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25969908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25969909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25969910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25969911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25969912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25969913, 'pht': 3726}}" where mtr_portfolio_id = 25969892 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25969892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044443, 0.044681298989005684, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25969892_15-08-2025_05_47_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25969902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25969903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25969904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25969905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25969906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25969907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25969908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25969909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25969910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25969911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25969912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25969913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25970482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545967, 'mtr_portfolio_id': 25970482, 'created_at': datetime.datetime(2025, 8, 15, 5, 47, 32), 'result': '0.040555856805083806', 'result_long': None, 'result_double': None}] Qualite : 0.040555856805083806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25970482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970482_15-08-2025_05_47_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25970482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970482_15-08-2025_05_47_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25970504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25970505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25970506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25970507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25970508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25970509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25970510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25970511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25970512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25970513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25970514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25970515, 'pht': 3726}}" where mtr_portfolio_id = 25970482 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25970482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044444, 0.040555856805083806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970482_15-08-2025_05_47_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25970504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25970505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25970506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25970507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25970508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25970509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25970510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25970511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25970512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25970513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25970514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25970515, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25970923 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545968, 'mtr_portfolio_id': 25970923, 'created_at': datetime.datetime(2025, 8, 15, 5, 47, 30), 'result': '0.05404468704385825', 'result_long': None, 'result_double': None}] Qualite : 0.05404468704385825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25970923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970923_15-08-2025_05_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25970923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970923_15-08-2025_05_47_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25970940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25970941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25970942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25970943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25970944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25970945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25970946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25970947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25970948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25970949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25970950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25970951, 'pht': 3726}}" where mtr_portfolio_id = 25970923 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25970923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044445, 0.05404468704385825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25970923_15-08-2025_05_47_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25970940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25970941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25970942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25970943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25970944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25970945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25970946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25970947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25970948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25970949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25970950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25970951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25971275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545969, 'mtr_portfolio_id': 25971275, 'created_at': datetime.datetime(2025, 8, 15, 5, 47, 58), 'result': '0.038488331776221865', 'result_long': None, 'result_double': None}] Qualite : 0.038488331776221865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25971275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971275_15-08-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25971275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971275_15-08-2025_05_48_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25971284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25971285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25971286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25971287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25971288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25971289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25971290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25971291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25971293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25971294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25971295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25971296, 'pht': 3726}}" where mtr_portfolio_id = 25971275 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25971275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044446, 0.038488331776221865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971275_15-08-2025_05_48_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25971284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25971285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25971286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25971287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25971288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25971289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25971290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25971291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25971293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25971294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25971295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25971296, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25971884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545970, 'mtr_portfolio_id': 25971884, 'created_at': datetime.datetime(2025, 8, 15, 5, 49, 56), 'result': '0.08345219504170148', 'result_long': None, 'result_double': None}] Qualite : 0.08345219504170148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25971884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971884_15-08-2025_05_49_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25971884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971884_15-08-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25971901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25971902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25971903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25971904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25971905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25971906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25971907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25971908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25971909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25971911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25971912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25971913, 'pht': 3726}}" where mtr_portfolio_id = 25971884 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25971884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044447, 0.08345219504170148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25971884_15-08-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25971901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25971902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25971903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25971904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25971905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25971906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25971907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25971908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25971909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25971911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25971912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25971913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25972260 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545971, 'mtr_portfolio_id': 25972260, 'created_at': datetime.datetime(2025, 8, 15, 5, 51), 'result': '0.04745555420356583', 'result_long': None, 'result_double': None}] Qualite : 0.04745555420356583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25972260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972260_15-08-2025_05_51_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25972260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972260_15-08-2025_05_51_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25972269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25972270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25972271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25972272, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25972273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25972274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25972275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25972276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25972277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25972279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25972280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25972281, 'pht': 3726}}" where mtr_portfolio_id = 25972260 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25972260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044448, 0.04745555420356583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972260_15-08-2025_05_51_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25972269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25972270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25972271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25972272, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25972273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25972274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25972275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25972276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25972277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25972279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25972280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25972281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25972719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545972, 'mtr_portfolio_id': 25972719, 'created_at': datetime.datetime(2025, 8, 15, 5, 51, 28), 'result': '0.05200913755566663', 'result_long': None, 'result_double': None}] Qualite : 0.05200913755566663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25972719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972719_15-08-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25972719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972719_15-08-2025_05_51_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25972731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25972732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25972733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25972734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25972735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25972736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25972737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25972738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25972739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25972740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25972741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25972742, 'pht': 3726}}" where mtr_portfolio_id = 25972719 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25972719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044449, 0.05200913755566663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25972719_15-08-2025_05_51_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25972731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25972732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25972733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25972734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25972735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25972736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25972737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25972738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25972739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25972740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25972741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25972742, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25974371 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545973, 'mtr_portfolio_id': 25974371, 'created_at': datetime.datetime(2025, 8, 15, 5, 51, 28), 'result': '0.07461204268793503', 'result_long': None, 'result_double': None}] Qualite : 0.07461204268793503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25974371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974371_15-08-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974371 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974371_15-08-2025_05_51_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25974375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25974376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25974377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25974378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25974379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25974380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25974381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25974382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25974383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25974384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25974385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25974386, 'pht': 3726}}" where mtr_portfolio_id = 25974371 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25974371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044450, 0.07461204268793503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974371_15-08-2025_05_51_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25974375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25974376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25974377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25974378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25974379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25974380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25974381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25974382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25974383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25974384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25974385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25974386, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25974831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545974, 'mtr_portfolio_id': 25974831, 'created_at': datetime.datetime(2025, 8, 15, 5, 51, 59), 'result': '0.026393352120772654', 'result_long': None, 'result_double': None}] Qualite : 0.026393352120772654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25974831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974831_15-08-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974831_15-08-2025_05_52_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25974836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25974838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25974839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25974840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25974841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25974842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25974843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25974844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25974845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25974846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25974847, 'pht': 3726}}" where mtr_portfolio_id = 25974831 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25974831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044451, 0.026393352120772654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974831_15-08-2025_05_52_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25974836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25974837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25974838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25974839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25974840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25974841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25974842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25974843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25974844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25974845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25974846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25974847, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25974998 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545975, 'mtr_portfolio_id': 25974998, 'created_at': datetime.datetime(2025, 8, 15, 5, 52, 27), 'result': '0.052771903659271396', 'result_long': None, 'result_double': None}] Qualite : 0.052771903659271396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25974998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974998_15-08-2025_05_52_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974998_15-08-2025_05_52_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975028, 'pht': 3726}}" where mtr_portfolio_id = 25974998 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25974998 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044452, 0.052771903659271396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974998_15-08-2025_05_52_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975028, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25975505 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 = 25975505 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 = 25975505 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25975505 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 = 25975505 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25975505 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25975505_15-08-2025_05_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25975505 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25975505_15-08-2025_05_53_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975549, 'pht': 3726}}" where mtr_portfolio_id = 25975505 and dashboard_run_id = 2131261 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25975774 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 = 25975774 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 = 25975774 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25975774 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 = 25975774 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25975774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25975774_15-08-2025_05_53_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25975774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25975774_15-08-2025_05_53_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25975783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25975784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25975785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25975786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25975787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25975788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25975789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25975790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25975791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25975792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25975793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25975794, 'pht': 3726}}" where mtr_portfolio_id = 25975774 and dashboard_run_id = 2131261 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25976001 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 = 25976001 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 = 25976001 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25976001 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 = 25976001 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25976001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976001_15-08-2025_05_53_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25976001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976001_15-08-2025_05_53_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25976027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976031, 'pht': 3726}}" where mtr_portfolio_id = 25976001 and dashboard_run_id = 2131261 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25976449 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545979, 'mtr_portfolio_id': 25976449, 'created_at': datetime.datetime(2025, 8, 15, 5, 53, 59), 'result': '0.07137575819516724', 'result_long': None, 'result_double': None}] Qualite : 0.07137575819516724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25976449 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976449_15-08-2025_05_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25976449 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976449_15-08-2025_05_54_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25976484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976486, 'pht': 3726}}" where mtr_portfolio_id = 25976449 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25976449 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044456, 0.07137575819516724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976449_15-08-2025_05_54_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976479, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25976484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976486, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25976961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545980, 'mtr_portfolio_id': 25976961, 'created_at': datetime.datetime(2025, 8, 15, 5, 54, 29), 'result': '0.02616477339292592', 'result_long': None, 'result_double': None}] Qualite : 0.02616477339292592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25976961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976961_15-08-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25976961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976961_15-08-2025_05_54_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25976983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976994, 'pht': 3726}}" where mtr_portfolio_id = 25976961 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25976961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044457, 0.02616477339292592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25976961_15-08-2025_05_54_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25976983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25976984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25976985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25976986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25976987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25976988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25976989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25976990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25976991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25976992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25976993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25976994, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25977377 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545981, 'mtr_portfolio_id': 25977377, 'created_at': datetime.datetime(2025, 8, 15, 5, 55), 'result': '0.03578170751202495', 'result_long': None, 'result_double': None}] Qualite : 0.03578170751202495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25977377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977377_15-08-2025_05_55_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25977377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977377_15-08-2025_05_55_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25977408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25977409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25977411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25977412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25977413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25977414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25977415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25977416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25977417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25977418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25977419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25977420, 'pht': 3726}}" where mtr_portfolio_id = 25977377 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25977377 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044458, 0.03578170751202495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977377_15-08-2025_05_55_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25977408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25977409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25977411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25977412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25977413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25977414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25977415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25977416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25977417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25977418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25977419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25977420, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25977847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545982, 'mtr_portfolio_id': 25977847, 'created_at': datetime.datetime(2025, 8, 15, 5, 55, 31), 'result': '0.021273873277302662', 'result_long': None, 'result_double': None}] Qualite : 0.021273873277302662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25977847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977847_15-08-2025_05_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25977847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977847_15-08-2025_05_55_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25977876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25977877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25977878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25977879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25977880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25977881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25977882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25977883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25977884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25977885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25977886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25977887, 'pht': 3726}}" where mtr_portfolio_id = 25977847 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25977847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044459, 0.021273873277302662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25977847_15-08-2025_05_55_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25977876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25977877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25977878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25977879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25977880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25977881, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25977882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25977883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25977884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25977885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25977886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25977887, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25978393 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545983, 'mtr_portfolio_id': 25978393, 'created_at': datetime.datetime(2025, 8, 15, 5, 55, 57), 'result': '0.07535468841486592', 'result_long': None, 'result_double': None}] Qualite : 0.07535468841486592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25978393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25978393_15-08-2025_05_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25978393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25978393_15-08-2025_05_56_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25978401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25978402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25978403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25978404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25978405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25978406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25978407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25978408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25978409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25978410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25978411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25978412, 'pht': 3726}}" where mtr_portfolio_id = 25978393 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25978393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044460, 0.07535468841486592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25978393_15-08-2025_05_56_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25978401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25978402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25978403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25978404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25978405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25978406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25978407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25978408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25978409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25978410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25978411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25978412, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25979121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545984, 'mtr_portfolio_id': 25979121, 'created_at': datetime.datetime(2025, 8, 15, 5, 56, 27), 'result': '0.03574253624947983', 'result_long': None, 'result_double': None}] Qualite : 0.03574253624947983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25979121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979121_15-08-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25979121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979121_15-08-2025_05_56_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25979145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25979146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25979147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25979148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25979149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25979150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25979151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25979152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25979153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25979154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25979155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25979156, 'pht': 3726}}" where mtr_portfolio_id = 25979121 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25979121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044461, 0.03574253624947983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979121_15-08-2025_05_56_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25979145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25979146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25979147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25979148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25979149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25979150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25979151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25979152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25979153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25979154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25979155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25979156, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25979919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545985, 'mtr_portfolio_id': 25979919, 'created_at': datetime.datetime(2025, 8, 15, 5, 56, 58), 'result': '0.06675069899869666', 'result_long': None, 'result_double': None}] Qualite : 0.06675069899869666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25979919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979919_15-08-2025_05_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25979919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979919_15-08-2025_05_57_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25979965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25979966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25979967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25979968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25979969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25979970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25979971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25979972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25979973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25979974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25979975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25979976, 'pht': 3726}}" where mtr_portfolio_id = 25979919 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25979919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044462, 0.06675069899869666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25979919_15-08-2025_05_57_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25979965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25979966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25979967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25979968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25979969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25979970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25979971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25979972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25979973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25979974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25979975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25979976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25981717 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545986, 'mtr_portfolio_id': 25981717, 'created_at': datetime.datetime(2025, 8, 15, 5, 57, 30), 'result': '0.07386394326735214', 'result_long': None, 'result_double': None}] Qualite : 0.07386394326735214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25981717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25981717_15-08-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25981717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25981717_15-08-2025_05_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25981734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25981735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25981736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25981737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25981738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25981739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25981740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25981741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25981742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25981743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25981744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25981745, 'pht': 3726}}" where mtr_portfolio_id = 25981717 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25981717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044463, 0.07386394326735214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25981717_15-08-2025_05_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25981734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25981735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25981736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25981737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25981738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25981739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25981740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25981741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25981742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25981743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25981744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25981745, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25982176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545987, 'mtr_portfolio_id': 25982176, 'created_at': datetime.datetime(2025, 8, 15, 5, 57, 59), 'result': '0.028950911271027013', 'result_long': None, 'result_double': None}] Qualite : 0.028950911271027013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25982176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982176_15-08-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25982176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982176_15-08-2025_05_58_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25982182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25982184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25982185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25982186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25982187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25982188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25982189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25982191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25982192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25982193, 'pht': 3726}}" where mtr_portfolio_id = 25982176 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25982176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044464, 0.028950911271027013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982176_15-08-2025_05_58_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25982182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25982184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25982185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25982186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25982187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25982188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25982189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25982191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25982192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25982193, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25982493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545988, 'mtr_portfolio_id': 25982493, 'created_at': datetime.datetime(2025, 8, 15, 5, 58, 58), 'result': '0.0408058470186743', 'result_long': None, 'result_double': None}] Qualite : 0.0408058470186743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25982493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982493_15-08-2025_05_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25982493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982493_15-08-2025_05_59_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25982543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25982544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25982545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25982546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25982547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25982548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25982549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25982550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25982552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25982553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982554, 'pht': 3726}}" where mtr_portfolio_id = 25982493 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25982493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044465, 0.0408058470186743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982493_15-08-2025_05_59_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25982543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25982544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25982545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25982546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25982547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25982548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25982549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25982550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25982552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25982553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982554, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25982967 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545989, 'mtr_portfolio_id': 25982967, 'created_at': datetime.datetime(2025, 8, 15, 5, 59, 29), 'result': '0.05251934972561638', 'result_long': None, 'result_double': None}] Qualite : 0.05251934972561638 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25982967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982967_15-08-2025_05_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25982967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982967_15-08-2025_05_59_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25983000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25983001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25983002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25983003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25983004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25983005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25983006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25983007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25983008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25983009, 'pht': 3726}}" where mtr_portfolio_id = 25982967 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25982967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044466, 0.05251934972561638, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25982967_15-08-2025_05_59_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25982998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25982999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25983000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25983001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25983002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25983003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25983004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25983005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25983006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25983007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25983008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25983009, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25983413 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545990, 'mtr_portfolio_id': 25983413, 'created_at': datetime.datetime(2025, 8, 15, 5, 59, 59), 'result': '0.03463238519885149', 'result_long': None, 'result_double': None}] Qualite : 0.03463238519885149 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25983413 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25983413_15-08-2025_06_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25983413 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25983413_15-08-2025_06_00_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25983424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25983425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25983426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25983427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25983428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25983429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25983430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25983431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25983432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25983433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25983434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25983435, 'pht': 3726}}" where mtr_portfolio_id = 25983413 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25983413 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044467, 0.03463238519885149, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25983413_15-08-2025_06_00_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25983424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25983425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25983426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25983427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25983428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25983429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25983430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25983431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25983432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25983433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25983434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25983435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25984362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545991, 'mtr_portfolio_id': 25984362, 'created_at': datetime.datetime(2025, 8, 15, 6, 1, 29), 'result': '0.06270058070626094', 'result_long': None, 'result_double': None}] Qualite : 0.06270058070626094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25984362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984362_15-08-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25984362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984362_15-08-2025_06_01_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25984392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25984393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25984394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25984396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25984397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25984398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25984400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25984401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25984402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25984403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25984405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25984406, 'pht': 3726}}" where mtr_portfolio_id = 25984362 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25984362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044468, 0.06270058070626094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984362_15-08-2025_06_01_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25984392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25984393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25984394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25984396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25984397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25984398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25984400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25984401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25984402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25984403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25984405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25984406, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25984930 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545992, 'mtr_portfolio_id': 25984930, 'created_at': datetime.datetime(2025, 8, 15, 6, 2, 28), 'result': '0.06436732409168927', 'result_long': None, 'result_double': None}] Qualite : 0.06436732409168927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25984930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984930_15-08-2025_06_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25984930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984930_15-08-2025_06_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25984984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25984985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25984987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25984988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25984989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25984990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25984991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25984992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25984993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25984994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25984995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25984996, 'pht': 3726}}" where mtr_portfolio_id = 25984930 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25984930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044469, 0.06436732409168927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25984930_15-08-2025_06_02_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25984984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25984985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25984987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25984988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25984989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25984990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25984991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25984992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25984993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25984994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25984995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25984996, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25985746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545993, 'mtr_portfolio_id': 25985746, 'created_at': datetime.datetime(2025, 8, 15, 6, 2, 56), 'result': '0.029388031136229883', 'result_long': None, 'result_double': None}] Qualite : 0.029388031136229883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25985746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25985746_15-08-2025_06_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25985746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25985746_15-08-2025_06_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25985755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25985756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25985757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25985758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25985759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25985760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25985761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25985762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25985763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25985764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25985765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25985766, 'pht': 3726}}" where mtr_portfolio_id = 25985746 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25985746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044470, 0.029388031136229883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25985746_15-08-2025_06_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25985755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25985756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25985757, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25985758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25985759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25985760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25985761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25985762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25985763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25985764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25985765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25985766, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25986148 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545994, 'mtr_portfolio_id': 25986148, 'created_at': datetime.datetime(2025, 8, 15, 6, 3, 32), 'result': '0.08215101971788401', 'result_long': None, 'result_double': None}] Qualite : 0.08215101971788401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25986148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986148_15-08-2025_06_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25986148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986148_15-08-2025_06_03_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986175, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986186, 'pht': 3726}}" where mtr_portfolio_id = 25986148 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25986148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044471, 0.08215101971788401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986148_15-08-2025_06_03_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986175, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986186, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25986485 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545995, 'mtr_portfolio_id': 25986485, 'created_at': datetime.datetime(2025, 8, 15, 6, 4), 'result': '0.053881270044127294', 'result_long': None, 'result_double': None}] Qualite : 0.053881270044127294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25986485 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986485_15-08-2025_06_04_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25986485 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986485_15-08-2025_06_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986524, 'pht': 3726}}" where mtr_portfolio_id = 25986485 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25986485 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044472, 0.053881270044127294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986485_15-08-2025_06_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986524, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25986853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545996, 'mtr_portfolio_id': 25986853, 'created_at': datetime.datetime(2025, 8, 15, 6, 4, 29), 'result': '0.056210265221053116', 'result_long': None, 'result_double': None}] Qualite : 0.056210265221053116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25986853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986853_15-08-2025_06_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25986853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986853_15-08-2025_06_04_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986890, 'pht': 3726}}" where mtr_portfolio_id = 25986853 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25986853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044473, 0.056210265221053116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25986853_15-08-2025_06_04_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25986879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25986880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25986881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25986882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25986883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25986884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25986885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25986886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25986887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25986888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25986889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25986890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25987396 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545997, 'mtr_portfolio_id': 25987396, 'created_at': datetime.datetime(2025, 8, 15, 6, 5), 'result': '0.06990674953553132', 'result_long': None, 'result_double': None}] Qualite : 0.06990674953553132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25987396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987396_15-08-2025_06_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25987396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987396_15-08-2025_06_05_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25987432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25987433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25987434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25987435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25987436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25987437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25987438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25987439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25987440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25987441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25987442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25987443, 'pht': 3726}}" where mtr_portfolio_id = 25987396 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25987396 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044474, 0.06990674953553132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987396_15-08-2025_06_05_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25987432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25987433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25987434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25987435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25987436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25987437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25987438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25987439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25987440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25987441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25987442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25987443, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25987936 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545998, 'mtr_portfolio_id': 25987936, 'created_at': datetime.datetime(2025, 8, 15, 6, 5, 30), 'result': '0.053944062499504904', 'result_long': None, 'result_double': None}] Qualite : 0.053944062499504904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25987936 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987936_15-08-2025_06_05_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25987936 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987936_15-08-2025_06_05_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25987995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25987996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25987997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25987998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25987999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25988000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25988001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25988002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25988003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25988004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25988005, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25988006, 'pht': 3726}}" where mtr_portfolio_id = 25987936 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25987936 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044475, 0.053944062499504904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25987936_15-08-2025_06_05_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25987995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25987996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25987997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25987998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25987999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25988000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25988001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25988002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25988003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25988004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25988005, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25988006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25988825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3545999, 'mtr_portfolio_id': 25988825, 'created_at': datetime.datetime(2025, 8, 15, 6, 8, 59), 'result': '0.0443337144700601', 'result_long': None, 'result_double': None}] Qualite : 0.0443337144700601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25988825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25988825_15-08-2025_06_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25988825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25988825_15-08-2025_06_09_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25988837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25988838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25988839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25988840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25988841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25988842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25988843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25988844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25988845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25988846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25988847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25988848, 'pht': 3726}}" where mtr_portfolio_id = 25988825 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25988825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044476, 0.0443337144700601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25988825_15-08-2025_06_09_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25988837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25988838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25988839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25988840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25988841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25988842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25988843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25988844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25988845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25988846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25988847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25988848, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25990030 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546000, 'mtr_portfolio_id': 25990030, 'created_at': datetime.datetime(2025, 8, 15, 6, 9, 33), 'result': '0.062258166349927764', 'result_long': None, 'result_double': None}] Qualite : 0.062258166349927764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25990030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990030_15-08-2025_06_09_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25990030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990030_15-08-2025_06_09_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990050, 'pht': 3726}}" where mtr_portfolio_id = 25990030 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25990030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044477, 0.062258166349927764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990030_15-08-2025_06_09_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25990076 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546001, 'mtr_portfolio_id': 25990076, 'created_at': datetime.datetime(2025, 8, 15, 6, 9, 31), 'result': '0.048397163122804766', 'result_long': None, 'result_double': None}] Qualite : 0.048397163122804766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25990076 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990076_15-08-2025_06_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25990076 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990076_15-08-2025_06_09_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990094, 'pht': 3726}}" where mtr_portfolio_id = 25990076 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25990076 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044478, 0.048397163122804766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990076_15-08-2025_06_09_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25990465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3538183, 'mtr_portfolio_id': 25990465, 'created_at': datetime.datetime(2025, 8, 14, 17, 44, 59), 'result': '0.028624931395293356', 'result_long': None, 'result_double': None}] Qualite : 0.028624931395293356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25990465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990465_14-08-2025_17_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25990465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990465_14-08-2025_17_44_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990480, 'pht': 3726}}" where mtr_portfolio_id = 25990465 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25990465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044479, 0.028624931395293356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25990465_14-08-2025_17_44_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25990469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25990470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25990471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25990472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25990473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25990474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25990475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25990476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25990477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25990478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25990479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25990480, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25991498 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3538393, 'mtr_portfolio_id': 25991498, 'created_at': datetime.datetime(2025, 8, 14, 17, 48, 57), 'result': '0.035191787858299885', 'result_long': None, 'result_double': None}] Qualite : 0.035191787858299885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25991498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991498_14-08-2025_17_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25991498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991498_14-08-2025_17_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25991508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25991509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25991510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25991511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25991512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25991513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25991514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25991515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25991516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25991517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25991518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25991519, 'pht': 3726}}" where mtr_portfolio_id = 25991498 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25991498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044480, 0.035191787858299885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991498_14-08-2025_17_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25991508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25991509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25991510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25991511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25991512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25991513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25991514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25991515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25991516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25991517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25991518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25991519, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25991954 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3538460, 'mtr_portfolio_id': 25991954, 'created_at': datetime.datetime(2025, 8, 14, 18, 4, 59), 'result': '0.05951114953536241', 'result_long': None, 'result_double': None}] Qualite : 0.05951114953536241 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25991954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991954_14-08-2025_18_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25991954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991954_14-08-2025_18_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25991961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25991962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25991963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25991964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25991965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25991966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25991967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25991968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25991970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25991971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25991972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25991973, 'pht': 3726}}" where mtr_portfolio_id = 25991954 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25991954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044481, 0.05951114953536241, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25991954_14-08-2025_18_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25991961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25991962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25991963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25991964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25991965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25991966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25991967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25991968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25991970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25991971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25991972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25991973, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25992397 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3538537, 'mtr_portfolio_id': 25992397, 'created_at': datetime.datetime(2025, 8, 14, 18, 17), 'result': '0.03547652827773298', 'result_long': None, 'result_double': None}] Qualite : 0.03547652827773298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25992397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25992397_14-08-2025_18_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25992397 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25992397_14-08-2025_18_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25992410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25992411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25992412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25992413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25992414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25992415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25992416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25992417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25992418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25992420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25992421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25992422, 'pht': 3726}}" where mtr_portfolio_id = 25992397 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25992397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044482, 0.03547652827773298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25992397_14-08-2025_18_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25992410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25992411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25992412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25992413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25992414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25992415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25992416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25992417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25992418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25992420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25992421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25992422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25993028 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3538640, 'mtr_portfolio_id': 25993028, 'created_at': datetime.datetime(2025, 8, 14, 18, 33), 'result': '0.0446219081156288', 'result_long': None, 'result_double': None}] Qualite : 0.0446219081156288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25993028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993028_14-08-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25993028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993028_14-08-2025_18_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25993052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25993053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25993054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25993055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25993056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25993057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25993058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25993059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25993060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25993061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25993062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25993063, 'pht': 3726}}" where mtr_portfolio_id = 25993028 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25993028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044483, 0.0446219081156288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993028_14-08-2025_18_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25993052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25993053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25993054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25993055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25993056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25993057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25993058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25993059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25993060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25993061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25993062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25993063, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25993776 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546007, 'mtr_portfolio_id': 25993776, 'created_at': datetime.datetime(2025, 8, 15, 5, 38, 27), 'result': '0.05428408677053658', 'result_long': None, 'result_double': None}] Qualite : 0.05428408677053658 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25993776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993776_15-08-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25993776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993776_15-08-2025_05_38_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25993841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25993842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25993843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25993844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25993845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25993846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25993847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25993848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25993849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25993850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25993851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25993852, 'pht': 3726}}" where mtr_portfolio_id = 25993776 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25993776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044484, 0.05428408677053658, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25993776_15-08-2025_05_38_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25993841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25993842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25993843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25993844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25993845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25993846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25993847, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25993848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25993849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25993850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25993851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25993852, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25994603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546008, 'mtr_portfolio_id': 25994603, 'created_at': datetime.datetime(2025, 8, 15, 5, 37, 33), 'result': '0.052759349475279604', 'result_long': None, 'result_double': None}] Qualite : 0.052759349475279604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25994603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25994603_15-08-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25994603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25994603_15-08-2025_05_37_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25994616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25994617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25994618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25994619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25994620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25994621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25994622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25994623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25994625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25994626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25994627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25994628, 'pht': 3726}}" where mtr_portfolio_id = 25994603 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25994603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044485, 0.052759349475279604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25994603_15-08-2025_05_37_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25994616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25994617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25994618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25994619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25994620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25994621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25994622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25994623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25994625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25994626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25994627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25994628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25995228 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546009, 'mtr_portfolio_id': 25995228, 'created_at': datetime.datetime(2025, 8, 15, 5, 37, 28), 'result': '0.05178652179453578', 'result_long': None, 'result_double': None}] Qualite : 0.05178652179453578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25995228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25995228_15-08-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25995228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25995228_15-08-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25995263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25995264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25995265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25995266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25995267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25995268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25995269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25995270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25995271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25995272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25995273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25995274, 'pht': 3726}}" where mtr_portfolio_id = 25995228 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25995228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044486, 0.05178652179453578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25995228_15-08-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25995263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25995264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25995265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25995266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25995267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25995268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25995269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25995270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25995271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25995272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25995273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25995274, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25996018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546010, 'mtr_portfolio_id': 25996018, 'created_at': datetime.datetime(2025, 8, 15, 5, 38), 'result': '0.05676483224352839', 'result_long': None, 'result_double': None}] Qualite : 0.05676483224352839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25996018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996018_15-08-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25996018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996018_15-08-2025_05_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25996070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25996071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25996072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25996073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25996074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25996075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25996076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25996077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25996079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25996080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25996081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25996082, 'pht': 3726}}" where mtr_portfolio_id = 25996018 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25996018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044487, 0.05676483224352839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996018_15-08-2025_05_38_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25996070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25996071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25996072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25996073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25996074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25996075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25996076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25996077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25996079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25996080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25996081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25996082, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25996878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546011, 'mtr_portfolio_id': 25996878, 'created_at': datetime.datetime(2025, 8, 15, 5, 37), 'result': '0.057626225154677524', 'result_long': None, 'result_double': None}] Qualite : 0.057626225154677524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25996878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996878_15-08-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25996878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996878_15-08-2025_05_37_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25996896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25996897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25996898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25996899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25996900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25996901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25996903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25996904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25996905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25996906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25996907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25996908, 'pht': 3726}}" where mtr_portfolio_id = 25996878 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25996878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044488, 0.057626225154677524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25996878_15-08-2025_05_37_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25996896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25996897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25996898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25996899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25996900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25996901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25996903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25996904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25996905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25996906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25996907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25996908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25997645 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546012, 'mtr_portfolio_id': 25997645, 'created_at': datetime.datetime(2025, 8, 15, 5, 34, 58), 'result': '0.05647675191181802', 'result_long': None, 'result_double': None}] Qualite : 0.05647675191181802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25997645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25997645_15-08-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25997645 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25997645_15-08-2025_05_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25997690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25997691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25997692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25997693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25997694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25997695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25997696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25997697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25997698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25997699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25997700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25997701, 'pht': 3726}}" where mtr_portfolio_id = 25997645 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25997645 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044489, 0.05647675191181802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25997645_15-08-2025_05_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25997690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25997691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25997692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25997693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25997694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25997695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25997696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25997697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25997698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25997699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25997700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25997701, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25998184 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546013, 'mtr_portfolio_id': 25998184, 'created_at': datetime.datetime(2025, 8, 15, 5, 36, 31), 'result': '0.0628478680819602', 'result_long': None, 'result_double': None}] Qualite : 0.0628478680819602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25998184 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998184_15-08-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25998184 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998184_15-08-2025_05_36_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25998230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25998231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25998232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25998233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25998234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25998235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25998236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25998237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25998238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25998239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25998240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25998241, 'pht': 3726}}" where mtr_portfolio_id = 25998184 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25998184 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044490, 0.0628478680819602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998184_15-08-2025_05_36_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25998230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25998231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25998232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25998233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25998234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25998235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25998236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25998237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25998238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25998239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25998240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25998241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25998883 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3540409, 'mtr_portfolio_id': 25998883, 'created_at': datetime.datetime(2025, 8, 14, 20, 32, 57), 'result': '0.04121143558259231', 'result_long': None, 'result_double': None}] Qualite : 0.04121143558259231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25998883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998883_14-08-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25998883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998883_14-08-2025_20_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25998969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25998970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25998972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25998973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25998974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25998975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25998976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25998977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25998978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25998979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25998980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25998981, 'pht': 3726}}" where mtr_portfolio_id = 25998883 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25998883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044491, 0.04121143558259231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25998883_14-08-2025_20_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25998969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25998970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25998972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25998973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25998974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25998975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25998976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25998977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25998978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25998979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25998980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25998981, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25999484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3540617, 'mtr_portfolio_id': 25999484, 'created_at': datetime.datetime(2025, 8, 14, 21, 4, 58), 'result': '0.02537174004448786', 'result_long': None, 'result_double': None}] Qualite : 0.02537174004448786 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25999484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25999484_14-08-2025_21_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25999484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25999484_14-08-2025_21_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25999545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25999546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25999547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25999548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25999549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25999550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25999551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25999552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25999553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25999554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25999555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25999556, 'pht': 3726}}" where mtr_portfolio_id = 25999484 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25999484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044492, 0.02537174004448786, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25999484_14-08-2025_21_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25999545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25999546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25999547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25999548, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25999549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25999550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25999551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25999552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25999553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25999554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25999555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25999556, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26000707 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3540957, 'mtr_portfolio_id': 26000707, 'created_at': datetime.datetime(2025, 8, 14, 21, 16, 58), 'result': '0.055628349874058416', 'result_long': None, 'result_double': None}] Qualite : 0.055628349874058416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26000707 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26000707_14-08-2025_21_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26000707 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26000707_14-08-2025_21_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26000733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26000734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26000735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26000736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26000737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26000738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26000739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26000740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26000741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26000742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26000743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26000744, 'pht': 3726}}" where mtr_portfolio_id = 26000707 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26000707 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044493, 0.055628349874058416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26000707_14-08-2025_21_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26000733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26000734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26000735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26000736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26000737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26000738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26000739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26000740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26000741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26000742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26000743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26000744, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26001264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3541030, 'mtr_portfolio_id': 26001264, 'created_at': datetime.datetime(2025, 8, 14, 21, 32, 56), 'result': '0.046593691720648894', 'result_long': None, 'result_double': None}] Qualite : 0.046593691720648894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26001264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26001264_14-08-2025_21_32_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26001264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26001264_14-08-2025_21_32_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26001282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26001283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26001284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26001285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26001286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26001287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26001288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26001289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26001290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26001291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26001292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26001293, 'pht': 3726}}" where mtr_portfolio_id = 26001264 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26001264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044494, 0.046593691720648894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26001264_14-08-2025_21_32_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26001282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26001283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26001284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26001285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26001286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26001287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26001288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26001289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26001290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26001291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26001292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26001293, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26002005 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3541118, 'mtr_portfolio_id': 26002005, 'created_at': datetime.datetime(2025, 8, 14, 21, 48, 57), 'result': '0.07116019523375991', 'result_long': None, 'result_double': None}] Qualite : 0.07116019523375991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26002005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002005_14-08-2025_21_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26002005 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002005_14-08-2025_21_48_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26002014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26002015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26002016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26002018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26002019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26002020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26002021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26002023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26002024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26002026, 'pht': 3726}}" where mtr_portfolio_id = 26002005 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26002005 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044495, 0.07116019523375991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002005_14-08-2025_21_48_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26002014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26002015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26002016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26002018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26002019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26002020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26002021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26002023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26002024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26002026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26002582 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546019, 'mtr_portfolio_id': 26002582, 'created_at': datetime.datetime(2025, 8, 15, 5, 49, 29), 'result': '0.03949174736769793', 'result_long': None, 'result_double': None}] Qualite : 0.03949174736769793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26002582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002582_15-08-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26002582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002582_15-08-2025_05_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26002615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26002617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26002618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26002619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26002620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26002621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26002622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26002623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26002624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26002625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26002626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26002627, 'pht': 3726}}" where mtr_portfolio_id = 26002582 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26002582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044496, 0.03949174736769793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26002582_15-08-2025_05_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26002615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26002617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26002618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26002619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26002620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26002621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26002622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26002623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26002624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26002625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26002626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26002627, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26003110 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546020, 'mtr_portfolio_id': 26003110, 'created_at': datetime.datetime(2025, 8, 15, 5, 48, 56), 'result': '0.02760012582312864', 'result_long': None, 'result_double': None}] Qualite : 0.02760012582312864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26003110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003110_15-08-2025_05_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26003110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003110_15-08-2025_05_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26003126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26003127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26003128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26003129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26003130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26003131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26003132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26003133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26003134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26003135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26003136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26003137, 'pht': 3726}}" where mtr_portfolio_id = 26003110 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26003110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044497, 0.02760012582312864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003110_15-08-2025_05_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26003126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26003127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26003128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26003129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26003130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26003131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26003132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26003133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26003134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26003135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26003136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26003137, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26003929 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546021, 'mtr_portfolio_id': 26003929, 'created_at': datetime.datetime(2025, 8, 15, 5, 48, 27), 'result': '0.03498676419149099', 'result_long': None, 'result_double': None}] Qualite : 0.03498676419149099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26003929 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003929_15-08-2025_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26003929 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003929_15-08-2025_05_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26003968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26003969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26003970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26003971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26003972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26003973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26003974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26003975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26003976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26003977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26003978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26003979, 'pht': 3726}}" where mtr_portfolio_id = 26003929 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26003929 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044498, 0.03498676419149099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26003929_15-08-2025_05_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26003968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26003969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26003970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26003971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26003972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26003973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26003974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26003975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26003976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26003977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26003978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26003979, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26004748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546022, 'mtr_portfolio_id': 26004748, 'created_at': datetime.datetime(2025, 8, 15, 5, 49, 28), 'result': '0.04537894217471446', 'result_long': None, 'result_double': None}] Qualite : 0.04537894217471446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26004748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26004748_15-08-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26004748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26004748_15-08-2025_05_49_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26004790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26004791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26004792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26004793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26004794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26004795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26004796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26004797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26004798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26004799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26004800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26004801, 'pht': 3726}}" where mtr_portfolio_id = 26004748 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26004748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044499, 0.04537894217471446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26004748_15-08-2025_05_49_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26004790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26004791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26004792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26004793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26004794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26004795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26004796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26004797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26004798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26004799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26004800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26004801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26005639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3546023, 'mtr_portfolio_id': 26005639, 'created_at': datetime.datetime(2025, 8, 15, 5, 50, 31), 'result': '0.02921256197470296', 'result_long': None, 'result_double': None}] Qualite : 0.02921256197470296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26005639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26005639_15-08-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26005639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26005639_15-08-2025_05_50_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26005652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26005653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26005654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26005655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26005656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26005657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26005658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26005659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26005660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26005661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26005662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26005663, 'pht': 3726}}" where mtr_portfolio_id = 26005639 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26005639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044500, 0.02921256197470296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26005639_15-08-2025_05_50_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26005652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26005653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26005654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26005655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26005656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26005657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26005658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26005659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26005660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26005661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26005662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26005663, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26006249 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3542452, 'mtr_portfolio_id': 26006249, 'created_at': datetime.datetime(2025, 8, 14, 23, 22, 57), 'result': '0.012638810330481622', 'result_long': None, 'result_double': None}] Qualite : 0.012638810330481622 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26006249 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006249_14-08-2025_23_22_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26006249 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006249_14-08-2025_23_22_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26006277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26006278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26006279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26006280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26006281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26006282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26006283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26006284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26006285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26006286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26006287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26006288, 'pht': 3726}}" where mtr_portfolio_id = 26006249 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26006249 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044501, 0.012638810330481622, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006249_14-08-2025_23_22_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26006277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26006278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26006279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26006280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26006281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26006282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26006283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26006284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26006285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26006286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26006287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26006288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26006939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3542688, 'mtr_portfolio_id': 26006939, 'created_at': datetime.datetime(2025, 8, 14, 23, 33, 31), 'result': '0.04402280019017625', 'result_long': None, 'result_double': None}] Qualite : 0.04402280019017625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26006939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006939_14-08-2025_23_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26006939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006939_14-08-2025_23_33_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26006956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26006957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26006958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26006959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26006960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26006961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26006962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26006963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26006964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26006965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26006966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26006967, 'pht': 3726}}" where mtr_portfolio_id = 26006939 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26006939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044502, 0.04402280019017625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26006939_14-08-2025_23_33_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26006956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26006957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26006958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26006959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26006960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26006961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26006962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26006963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26006964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26006965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26006966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26006967, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26007443 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3542853, 'mtr_portfolio_id': 26007443, 'created_at': datetime.datetime(2025, 8, 14, 23, 50, 31), 'result': '0.019514194988797088', 'result_long': None, 'result_double': None}] Qualite : 0.019514194988797088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26007443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26007443_14-08-2025_23_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26007443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26007443_14-08-2025_23_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26007494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26007495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26007496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26007497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26007498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26007499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26007500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26007501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26007502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26007503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26007504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26007505, 'pht': 3726}}" where mtr_portfolio_id = 26007443 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26007443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044503, 0.019514194988797088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26007443_14-08-2025_23_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26007494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26007495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26007496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26007497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26007498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26007499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26007500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26007501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26007502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26007503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26007504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26007505, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26008090 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3543081, 'mtr_portfolio_id': 26008090, 'created_at': datetime.datetime(2025, 8, 15, 1, 1, 30), 'result': '0.045684121994642266', 'result_long': None, 'result_double': None}] Qualite : 0.045684121994642266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26008090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26008090_15-08-2025_01_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26008090 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26008090_15-08-2025_01_01_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26008107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26008108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26008109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26008110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26008111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26008112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26008113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26008114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26008115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26008116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26008117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26008118, 'pht': 3726}}" where mtr_portfolio_id = 26008090 and dashboard_run_id = 2131261 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26008090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14044504, 0.045684121994642266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26008090_15-08-2025_01_01_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26008107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26008108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26008109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26008110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26008111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26008112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26008113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26008114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26008115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26008116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26008117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26008118, '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 (25957846,25958208,25958481,25958896,25960055,25960403,25960559,25961140,25961631,25962142,25962665,25963363,25963828,25964375,25964780,25965323,25965736,25966441,25967036,25967240,25967455,25968017,25968402,25968826,25969226,25969892,25970482,25970923,25971275,25971884,25972260,25972719,25974371,25974831,25974998,25975505,25975774,25976001,25976449,25976961,25977377,25977847,25978393,25979121,25979919,25981717,25982176,25982493,25982967,25983413,25984362,25984930,25985746,25986148,25986485,25986853,25987396,25987936,25988825,25990030,25990076,25990465,25991498,25991954,25992397,25993028,25993776,25994603,25995228,25996018,25996878,25997645,25998184,25998883,25999484,26000707,26001264,26002005,26002582,26003110,26003929,26004748,26005639,26006249,26006939,26007443,26008090) result : ((1376905300,), (1376905334,), (1376905363,), (1376905889,), (1376905892,), (1376905895,), (1376906072,), (1376906125,), (1376906188,), (1376906745,), (1376906785,), (1376906817,), (1376906856,), (1376907193,), (1376907222,), (1376907262,), (1376907290,), (1376907583,), (1376907638,), (1376907671,), (1376907713,), (1376907742,), (1376907999,), (1376908029,), (1376908060,), (1376908102,), (1376908158,), (1376908661,), (1376908692,), (1376908721,), (1376909206,), (1376909222,), (1376909225,), (1376909228,), (1376909230,), (1376909238,), (1376909336,), (1376909368,), (1376909400,), (1376909435,), (1376909456,), (1376909458,), (1376909512,), (1376909531,), (1376909533,), (1376909540,), (1376909541,), (1376909542,), (1376909543,), (1376909544,), (1376909545,), (1376909550,), (1376909552,), (1376909554,), (1376909557,), (1376909558,), (1376909563,), (1376909566,), (1376909575,), (1376909578,), (1376909588,), (1376909591,), (1376909592,), (1376909614,), (1376909602,), (1376909605,), (1376909607,), (1376909611,), (1376909638,), (1376909651,), (1376909661,), (1376909662,), (1376909663,), (1376909676,), (1376909679,), (1376909682,), (1376909685,), (1376909697,), (1376909699,), (1376909701,), (1376909727,), (1376909728,), (1376909729,), (1376909730,), (1376909732,), (1376909739,), (1376909741,), (1376909743,), (1376909745,), (1376909751,), (1376909752,), (1376909753,), (1376909755,), (1376909758,), (1376909761,), (1376909767,), (1376909769,), (1376909771,), (1376909774,), (1376909777,), (1376909790,), (1376909793,), (1376909796,), (1376909799,), (1376909800,), (1376909802,), (1376909817,), (1376909823,), (1376909841,), (1376909843,), (1376909853,), (1376909854,), (1376909855,), (1376909857,), (1376909859,), (1376909869,), (1376909870,), (1376909872,), (1376909875,), (1376909892,), (1376909894,), (1376909916,), (1376909910,), (1376909912,), (1376909914,), (1376909942,), (1376909948,), (1376909949,), (1376909951,), (1376909969,), (1376909971,), (1376909973,), (1376909975,), (1376909977,), (1376909979,), (1376909984,), (1376909985,), (1376909986,), (1376909997,), (1376909999,), (1376910001,), (1376910003,), (1376910024,), (1376910029,), (1376910030,), (1376910032,), (1376910036,), (1376910038,), (1376910056,), (1376910058,), (1376910060,), (1376910077,), (1376910079,), (1376910081,), (1376910083,), (1376910085,), (1376910091,), (1376910093,), (1376910095,), (1376910097,), (1376910112,), (1376910116,), (1376910118,), (1376910121,), (1376910124,), (1376910131,), (1376910133,), (1376910160,), (1376910169,), (1376910178,), (1376910180,), (1376910183,), (1376910191,), (1376910194,), (1376910196,), (1376910198,), (1376910200,), (1376910205,), (1376910206,), (1376910207,), (1376910209,), (1376910211,), (1376910221,), (1376910223,), (1376910224,), (1376910252,), (1376910239,), (1376910241,), (1376910243,), (1376910246,), (1376910249,), (1376910287,), (1376910289,), (1376910292,), (1376910294,), (1376910313,), (1376910315,), (1376910317,), (1376910318,), (1376910320,), (1376910332,), (1376910333,), (1376910334,), (1376910338,), (1376910339,), (1376910341,), (1376910348,), (1376910350,), (1376910352,), (1376910363,), (1376910364,), (1376910365,), (1376910367,), (1376910370,), (1376910387,), (1376910389,), (1376910391,), (1376910393,), (1376910395,), (1376910397,), (1376910409,), (1376910412,), (1376910414,), (1376910428,), (1376910430,), (1376910432,), (1376910434,), (1376910436,), (1376910438,), (1376910449,), (1376910450,), (1376910451,), (1376910454,), (1376910457,), (1376910467,), (1376910469,), (1376910472,), (1376910475,), (1376910483,), (1376910485,), (1376910487,), (1376910488,), (1376910489,), (1376910490,), (1376910497,), (1376910498,), (1376910499,), (1376910501,), (1376910512,), (1376910514,), (1376910516,), (1376910518,), (1376915097,), (1376915416,), (1376915421,), (1376915423,), (1376915425,), (1376915444,), (1376915445,), (1376915447,), (1376915448,), (1376915449,), (1376915455,), (1376915456,), (1376915471,), (1376915473,), (1376915475,), (1376915477,), (1376915479,), (1376915481,), (1376915490,), (1376915492,), (1376915495,), (1376915496,), (1376915497,), (1376915512,), (1376915514,), (1376915515,), (1376915517,), (1376915520,), (1376915530,), (1376915532,), (1376915534,), (1376915542,), (1376915543,), (1376915550,), (1376915561,), (1376915562,), (1376915563,), (1376915565,), (1376915574,), (1376915585,), (1376915588,), (1376915589,), (1376915591,), (1376915616,), (1376915617,), (1376915618,), (1376915619,), (1376915633,), (1376915635,), (1376915637,), (1376915639,), (1376915641,), (1376915642,), (1376915645,), (1376915646,), (1376915647,), (1376915649,), (1376915651,), (1376915653,), (1376915662,), (1376915663,), (1376915665,), (1376915667,), (1376915669,), (1376915670,), (1376915676,), (1376915679,), (1376915682,), (1376915684,), (1376915687,), (1376915688,), (1376915692,), (1376915694,), (1376915696,), (1376915698,), (1376915700,), (1376915702,), (1376915703,), (1376915704,), (1376915707,), (1376915711,), (1376915714,), (1376915740,), (1376915739,), (1376915751,), (1376915752,), (1376915753,), (1376915756,), (1376915759,), (1376915762,), (1376915769,), (1376915770,), (1376915771,), (1376915772,), (1376915775,), (1376915805,), (1376915807,), (1376915809,), (1376915836,), (1376915838,), (1376915839,), (1376915842,), (1376915844,), (1376915846,), (1376915853,), (1376915855,), (1376915857,), (1376915859,), (1376915879,), (1376915881,), (1376915883,), (1376915885,), (1376915894,), (1376915895,), (1376915896,), (1376915899,), (1376915903,), (1376915908,), (1376915909,), (1376915910,), (1376915912,), (1376915923,), (1376915925,), (1376915928,), (1376915933,), (1376915934,), (1376915935,), (1376915937,), (1376915940,), (1376916186,), (1376916219,), (1376916245,), (1376916276,), (1376916915,), (1376916778,), (1376916806,), (1376916850,), (1376916882,), (1376917182,), (1376917238,), (1376917816,), (1376917885,), (1376918569,), (1376918625,), (1376918689,), (1376918752,), (1376919381,), (1376919470,), (1376919555,), (1376919660,), (1376920592,), (1376920680,), (1376920762,), (1376921470,), (1376921525,), (1376921553,), (1376921894,), (1376922643,), (1376923786,), (1376923986,), (1376924000,), (1376924014,), (1376924032,), (1376924043,), (1376924046,), (1376924048,), (1376924051,), (1376924052,), (1376924053,), (1376924061,), (1376924063,), (1376924065,), (1376924067,), (1376924077,), (1376924079,), (1376924098,), (1376924094,), (1376924096,), (1376924113,), (1376924114,), (1376924115,), (1376924118,), (1376924121,), (1376924130,), (1376924132,), (1376924134,), (1376924137,), (1376924140,), (1376924143,), (1376924148,), (1376924162,), (1376924163,), (1376924165,), (1376924167,), (1376924169,), (1376924183,), (1376924186,), (1376924189,), (1376924194,), (1376924205,), (1376924212,), (1376924213,), (1376924215,), (1376924218,), (1376924226,), (1376924228,), (1376924230,), (1376924232,), (1376924234,), (1376924244,), (1376924245,), (1376924246,), (1376924248,), (1376924259,), (1376924260,), (1376924261,), (1376924278,), (1376924280,), (1376924282,), (1376924297,), (1376924298,), (1376924307,), (1376924309,), (1376924312,), (1376924315,), (1376924318,), (1376924325,), (1376924327,), (1376924329,), (1376924332,), (1376924334,), (1376924337,), (1376924338,), (1376924341,), (1376924344,), (1376924347,), (1376924350,), (1376924373,), (1376924374,), (1376924375,), (1376924377,), (1376924379,), (1376924397,), (1376924388,), (1376924394,), (1376924396,), (1376924402,), (1376924403,), (1376924404,), (1376924406,), (1376924409,), (1376924412,), (1376924420,), (1376924422,), (1376924424,), (1376924426,), (1376924428,), (1376924433,), (1376924434,), (1376924437,), (1376924440,), (1376924443,), (1376924446,), (1376924453,), (1376924456,), (1376924459,), (1376924462,), (1376924463,), (1376924464,), (1376924468,), (1376924470,), (1376924472,), (1376924479,), (1376924482,), (1376924484,), (1376924486,), (1376924487,), (1376924495,), (1376924498,), (1376924501,), (1376924505,), (1376924508,), (1376924519,), (1376924521,), (1376924523,), (1376924525,), (1376924527,), (1376924529,), (1376924530,), (1376924532,), (1376924535,), (1376924538,), (1376924540,), (1376924544,), (1376924545,), (1376924556,), (1376924558,), (1376924561,), (1376924586,), (1376924589,), (1376924592,), (1376924593,), (1376924595,), (1376924605,), (1376924606,), (1376924607,), (1376924610,), (1376924613,), (1376924625,), (1376924627,), (1376924640,), (1376924642,), (1376924644,), (1376924646,), (1376924648,), (1376924650,), (1376924662,), (1376924664,), (1376924665,), (1376924667,), (1376924700,), (1376924681,), (1376924688,), (1376924694,), (1376924707,), (1376924709,), (1376924711,), (1376924729,), (1376924742,), (1376924744,), (1376924745,), (1376924747,), (1376924750,), (1376924768,), (1376924770,), (1376924773,), (1376924775,), (1376924790,), (1376924791,), (1376924792,), (1376924796,), (1376924812,), (1376924814,), (1376924816,), (1376924818,), (1376924820,), (1376924826,), (1376924827,), (1376924828,), (1376924830,), (1376924850,), (1376924852,), (1376924854,), (1376924856,), (1376924858,), (1376924862,), (1376924863,), (1376924865,), (1376924868,), (1376924871,), (1376924874,), (1376924880,), (1376924881,), (1376924882,), (1376924883,), (1376924884,), (1376924891,), (1376924895,), (1376924897,), (1376924898,), (1376924900,), (1376924902,), (1376924904,), (1376924907,), (1376924910,), (1376924919,), (1376924921,), (1376924924,), (1376924926,), (1376924941,), (1376924951,), (1376924952,), (1376924971,), (1376925001,), (1376925049,), (1376925172,), (1376925361,), (1376925303,), (1376925332,), (1376925867,), (1376925950,), (1376926045,), (1376926766,), (1376926822,), (1376926883,), (1376926941,), (1376926997,), (1376927055,), (1376927498,), (1376927527,), (1376927557,), (1376927560,), (1376927562,), (1376927563,), (1376927628,), (1376927658,), (1376927686,), (1376927714,), (1376927753,), (1376927800,), (1376927938,), (1376927987,), (1376928022,), (1376928052,), (1376928097,), (1376928115,), (1376928117,), (1376928149,), (1376928159,), (1376928166,), (1376928168,), (1376928169,), (1376928171,), (1376928180,), (1376928268,), (1376928270,), (1376928271,), (1376928274,), (1376928290,), (1376928292,), (1376928294,), (1376928309,), (1376928311,), (1376928313,), (1376928315,), (1376928317,), (1376928331,), (1376928332,), (1376928334,), (1376928337,), (1376928340,), (1376928342,), (1376928343,), (1376928344,), (1376928345,), (1376928353,), (1376928357,), (1376928360,), (1376928362,), (1376928379,), (1376928370,), (1376928372,), (1376928377,), (1376928388,), (1376928389,), (1376928390,), (1376928392,), (1376928395,), (1376928398,), (1376928406,), (1376928408,), (1376928410,), (1376928414,), (1376928417,), (1376928428,), (1376928430,), (1376928432,), (1376928434,), (1376928436,), (1376928439,), (1376928447,), (1376928448,), (1376928449,), (1376928451,), (1376928491,), (1376928495,), (1376928501,), (1376928503,), (1376928517,), (1376928518,), (1376928519,), (1376928521,), (1376928524,), (1376928534,), (1376928536,), (1376928538,), (1376928540,), (1376928542,), (1376928550,), (1376928551,), (1376928552,), (1376928555,), (1376928563,), (1376928564,), (1376928565,), (1376928567,), (1376928569,), (1376928582,), (1376928584,), (1376928586,), (1376928597,), (1376928598,), (1376928599,), (1376928609,), (1376928611,), (1376928619,), (1376928620,), (1376928622,), (1376928636,), (1376928637,), (1376928638,), (1376928640,), (1376928642,), (1376928665,), (1376928653,), (1376928654,), (1376928657,), (1376928659,), (1376928662,), (1376928672,), (1376928674,), (1376928675,), (1376928687,), (1376928689,), (1376928691,), (1376928701,), (1376928703,), (1376928704,), (1376928712,), (1376928713,), (1376928715,), (1376928717,), (1376928720,), (1376928730,), (1376928735,), (1376928737,), (1376928752,), (1376928753,), (1376928754,), (1376928765,), (1376928767,), (1376928769,), (1376928771,), (1376928781,), (1376928782,), (1376928783,), (1376928785,), (1376928788,), (1376928795,), (1376928797,), (1376928799,), (1376928801,), (1376928809,), (1376928810,), (1376928813,), (1376928815,), (1376928833,), (1376928835,), (1376928838,), (1376928844,), (1376928845,), (1376928846,), (1376928850,), (1376928853,), (1376928855,), (1376928865,), (1376928867,), (1376928870,), (1376928871,), (1376928885,), (1376928887,), (1376928889,), (1376928892,), (1376928896,), (1376928920,), (1376928911,), (1376928913,), (1376928916,), (1376928918,), (1376928936,), (1376928937,), (1376928938,), (1376928941,), (1376928943,), (1376928958,), (1376928960,), (1376928962,), (1376928965,), (1376928971,), (1376928972,), (1376928973,), (1376928975,), (1376928988,), (1376928990,), (1376928992,), (1376928995,), (1376928997,), (1376928999,), (1376929007,), (1376929008,), (1376929009,), (1376929011,), (1376929018,), (1376929032,), (1376929034,), (1376929038,), (1376929040,), (1376929041,), (1376929045,), (1376929046,), (1376929047,), (1376929067,), (1376929069,), (1376929072,), (1376929074,), (1376929076,), (1376929078,), (1376929082,), (1376929083,), (1376929085,), (1376929086,), (1376929101,), (1376929103,), (1376929105,), (1376929107,), (1376929124,), (1376929125,), (1376929126,), (1376929141,), (1376929143,), (1376929145,), (1376929148,), (1376929162,), (1376929164,), (1376929167,), (1376929169,), (1376929175,), (1376929176,), (1376929177,), (1376929178,), (1376929180,), (1376929182,), (1376929214,), (1376929196,), (1376929203,), (1376929204,), (1376929212,), (1376929363,), (1376929396,), (1376929423,), (1376929450,), (1376929700,), (1376929740,), (1376929781,), (1376929836,), (1376930332,), (1376930392,), (1376930448,), (1376930501,), (1376931000,), (1376931033,), (1376931061,), (1376931384,), (1376931447,), (1376931505,), (1376931562,), (1376931618,), (1376931979,), (1376932045,), (1376932114,), (1376932172,), (1376932247,), (1376932345,), (1376932563,), (1376932599,), (1376932633,), (1376932680,), (1376932793,), (1376932794,), (1376932842,), (1376932851,), (1376932890,), (1376932891,), (1376932894,), (1376932895,), (1376932897,), (1376932898,), (1376932909,), (1376932912,), (1376932913,), (1376932915,), (1376933079,), (1376933113,), (1376933142,), (1376933170,), (1376933189,), (1376933263,), (1376933270,), (1376933271,), (1376933273,), (1376933276,), (1376933291,), (1376933305,), (1376933307,), (1376933310,), (1376933313,), (1376933325,), (1376933333,), (1376933335,), (1376933337,), (1376933339,), (1376933347,), (1376933355,), (1376933356,), (1376933358,), (1376933360,), (1376933362,), (1376933367,), (1376933374,), (1376933376,), (1376933378,), (1376933381,), (1376933383,), (1376933412,), (1376933414,), (1376933416,), (1376933420,), (1376933422,), (1376933423,), (1376933424,), (1376933398,), (1376933403,), (1376933410,), (1376933432,), (1376933436,), (1376933439,), (1376933441,), (1376933442,), (1376933447,), (1376933455,), (1376933457,), (1376933460,), (1376933463,), (1376933466,), (1376933479,), (1376933488,), (1376933490,), (1376933492,), (1376933501,), (1376933503,), (1376933505,), (1376933508,), (1376933510,), (1376933512,), (1376933530,), (1376933531,), (1376933532,), (1376933540,), (1376933543,), (1376933546,), (1376933549,), (1376933551,), (1376933561,), (1376933568,), (1376933569,), (1376933571,), (1376933574,), (1376933577,), (1376933588,), (1376933596,), (1376933598,), (1376933601,), (1376933603,), (1376933605,), (1376933613,), (1376933620,), (1376933621,), (1376933623,), (1376933643,), (1376933651,), (1376933653,), (1376933655,), (1376933668,), (1376933675,), (1376933676,), (1376933678,), (1376933681,), (1376933684,), (1376933699,), (1376933725,), (1376933727,), (1376933729,), (1376933737,), (1376933744,), (1376933745,), (1376933777,), (1376933785,), (1376933787,), (1376933789,), (1376933791,), (1376933793,), (1376933810,), (1376933821,), (1376933825,), (1376933846,), (1376933836,), (1376933844,), (1376933867,), (1376933883,), (1376933884,), (1376933886,), (1376933895,), (1376933903,), (1376933905,), (1376933907,), (1376933909,), (1376933916,), (1376933923,), (1376933924,), (1376933926,), (1376933931,), (1376933939,), (1376933953,), (1376933960,), (1376933983,), (1376933990,), (1376933991,), (1376933994,), (1376933998,), (1376934014,), (1376934032,), (1376934039,), (1376934043,), (1376934049,), (1376934056,), (1376934057,), (1376934059,), (1376934075,), (1376934083,), (1376934085,), (1376934839,), (1376934804,), (1376935359,), (1376937473,), (1376937782,), (1376937845,), (1376937897,), (1376938254,), (1376938324,), (1376938341,), (1376938349,), (1376938351,), (1376938366,), (1376938375,), (1376938376,), (1376938379,), (1376938392,), (1376938400,), (1376938419,), (1376938444,), (1376938452,), (1376938524,), (1376938937,), (1376938938,), (1376938950,), (1376938953,), (1376938956,), (1376938957,), (1376938959,), (1376938963,), (1376938966,), (1376938984,), (1376938987,), (1376938989,), (1376938992,), (1376938993,), (1376939017,), (1376939018,), (1376939020,), (1376939022,), (1376939023,), (1376939024,), (1376939034,), (1376939037,), (1376939039,), (1376939043,), (1376939045,), (1376939046,), (1376939052,), (1376939053,), (1376939054,), (1376939057,), (1376939059,), (1376939062,), (1376939076,), (1376939079,), (1376939081,), (1376939083,), (1376939092,), (1376939093,), (1376939094,), (1376939096,), (1376939100,), (1376939103,), (1376939126,), (1376939147,), (1376939149,), (1376939151,), (1376939153,), (1376939159,), (1376939161,), (1376939162,), (1376939164,), (1376939167,), (1376939187,), (1376939189,), (1376939191,), (1376939193,), (1376939195,), (1376939198,), (1376939202,), (1376939203,), (1376939204,), (1376939206,), (1376939210,), (1376939213,), (1376939230,), (1376939224,), (1376939226,), (1376939228,), (1376939245,), (1376939254,), (1376939259,), (1376939275,), (1376939279,), (1376939283,), (1376939289,), (1376939292,), (1376939303,), (1376939314,), (1376939322,), (1376939324,), (1376939326,), (1376939328,), (1376939331,), (1376939334,), (1376939344,), (1376939345,), (1376939347,), (1376939350,), (1376939352,), (1376939354,), (1376939356,), (1376939358,), (1376939360,), (1376939361,), (1376939363,), (1376939371,), (1376939374,), (1376939382,), (1376939384,), (1376939385,), (1376939387,), (1376939391,), (1376939397,), (1376939401,), (1376939404,), (1376939407,), (1376939409,), (1376939424,), (1376939427,), (1376939429,), (1376939430,), (1376939431,), (1376939444,), (1376939447,), (1376939449,), (1376939452,), (1376939459,), (1376939462,), (1376939464,), (1376939466,), (1376939468,), (1376939472,), (1376939475,), (1376939476,), (1376939480,), (1376939482,), (1376939484,), (1376939490,), (1376939493,), (1376939495,), (1376939505,), (1376939509,), (1376939513,), (1376939515,), (1376939525,), (1376939980,), (1376939816,), (1376939846,), (1376939877,), (1376939921,), (1376940491,), (1376940551,), (1376940613,), (1376940696,), (1376940765,), (1376940841,), (1376941243,), (1376941303,), (1376941359,), (1376941416,), (1376942050,), (1376942126,), (1376942163,), (1376942198,), (1376942230,), (1376942262,), (1376942472,), (1376942476,), (1376942479,), (1376942523,), (1376942554,), (1376942591,), (1376942623,), (1376942658,), (1376942687,), (1376942840,), (1376942849,), (1376942880,), (1376942904,), (1376942919,), (1376942921,), (1376942936,), (1376942939,), (1376942940,), (1376942942,), (1376942966,), (1376942968,), (1376942970,), (1376942971,), (1376942972,), (1376942973,), (1376942978,), (1376942979,), (1376942985,), (1376942988,), (1376942992,), (1376942996,), (1376942999,), (1376943014,), (1376943017,), (1376943019,), (1376943021,), (1376943023,), (1376943026,), (1376943040,), (1376943048,), (1376943053,), (1376943057,), (1376943059,), (1376943061,), (1376943062,), (1376943063,), (1376943068,), (1376943070,), (1376943072,), (1376943075,), (1376943078,), (1376943090,), (1376943094,), (1376943097,), (1376943116,), (1376943119,), (1376943120,), (1376943122,), (1376943126,), (1376943128,), (1376943154,), (1376943141,), (1376943144,), (1376943145,), (1376943147,), (1376943151,), (1376943172,), (1376943185,), (1376943193,), (1376943209,), (1376943217,), (1376943220,), (1376943221,), (1376943223,), (1376943226,), (1376943229,), (1376943234,), (1376943236,), (1376943238,), (1376943241,), (1376943244,), (1376943247,), (1376943265,), (1376943269,), (1376943271,), (1376943273,), (1376943291,), (1376943293,), (1376943294,), (1376943296,), (1376943299,), (1376943308,), (1376943312,), (1376943314,), (1376943320,), (1376943327,), (1376943329,), (1376943335,), (1376943337,), (1376943356,), (1376943360,), (1376943363,), (1376943365,), (1376943366,), (1376943367,), (1376943371,), (1376943372,), (1376943373,), (1376943376,), (1376943379,), (1376943397,), (1376943401,), (1376943406,), (1376943409,), (1376943411,), (1376943427,), (1376943429,), (1376943430,), (1376943432,), (1376943435,), (1376943438,), (1376943459,), (1376943464,), (1376943466,), (1376943467,), (1376943468,), (1376943472,), (1376943474,), (1376943475,), (1376943477,), (1376943493,), (1376943497,), (1376943499,), (1376943518,), (1376943510,), (1376943511,), (1376943512,), (1376943516,), (1376943531,), (1376943548,), (1376943551,), (1376943553,), (1376943572,), (1376943574,), (1376943576,), (1376943580,), (1376943631,), (1376943635,), (1376943662,), (1376943663,), (1376943664,), (1376943666,), (1376943670,), (1376943674,), (1376943678,), (1376943682,), (1376943685,), (1376943689,), (1376943691,), (1376943693,), (1376943696,), (1376943715,), (1376943721,), (1376943723,), (1376943726,), (1376943729,), (1376943735,), (1376943736,), (1376943737,), (1376943739,), (1376943743,), (1376943763,), (1376943767,), (1376943769,), (1376943771,), (1376943778,), (1376943779,), (1376943780,), (1376943792,), (1376943796,), (1376943798,), (1376943801,), (1376943807,), (1376943811,), (1376943823,), (1376943826,), (1376943830,), (1376943832,), (1376943863,), (1376943867,), (1376943868,), (1376943870,), (1376943873,), (1376943876,), (1376943892,), (1376943894,), (1376943895,), (1376943896,), (1376943897,), (1376943899,), (1376943912,), (1376943915,), (1376943916,), (1376943918,), (1376943926,), (1376943929,), (1376943952,), (1376943947,), (1376943958,), (1376943964,), (1376943976,), (1376943981,), (1376944000,), (1376944013,), (1376944015,), (1376944018,), (1376944021,), (1376944023,), (1376944024,), (1376944029,), (1376944032,), (1376944065,), (1376944070,), (1376944072,), (1376944088,), (1376944096,), (1376944114,), (1376944116,), (1376944119,), (1376944122,), (1376944140,), (1376944141,), (1376944143,), (1376944147,), (1376944151,), (1376944163,), (1376944167,), (1376944169,), (1376944172,), (1376944174,), (1376944183,), (1376944185,), (1376944189,), (1376944193,), (1376944202,), (1376944206,), (1376944208,), (1376944210,), (1376944220,), (1376944221,), (1376944222,), (1376944224,), (1376944227,), (1376944233,), (1376944237,), (1376944239,), (1376944242,), (1376944261,), (1376944270,), (1376944274,), (1376944276,), (1376944327,), (1376944358,), (1376944393,), (1376944425,), (1376944459,), (1376944706,), (1376944584,), (1376944615,), (1376944646,), (1376944676,), (1376944966,), (1376945029,), (1376945067,), (1376945099,), (1376945411,), (1376945461,), (1376945516,), (1376946168,), (1376946229,), (1376946312,), (1376946385,), (1376946444,), (1376947000,), (1376947113,), (1376947164,), (1376947218,), (1376947250,), (1376947297,), (1376947499,), (1376947530,), (1376947560,), (1376948091,), (1376948106,), (1376948141,), (1376948150,), (1376948317,), (1376948367,), (1376948401,), (1376948458,), (1376948513,), (1376948544,), (1376948696,), (1376948699,), (1376948719,), (1376948738,), (1376948740,), (1376948742,), (1376948753,), (1376948789,), (1376948792,), (1376948860,), (1376949113,), (1376949164,), (1376949203,), (1376949570,), (1376949573,), (1376949575,), (1376949693,), (1376949627,), (1376949661,), (1376949867,), (1376949890,), (1376949955,), (1376949990,), (1376950274,), (1376950287,), (1376950313,), (1376950346,), (1376950378,), (1376950432,), (1376950626,), (1376950632,), (1376950634,), (1376950643,), (1376950695,), (1376950699,), (1376950702,), (1376950706,), (1376950733,), (1376950855,), (1376950887,), (1376950916,), (1376950922,), (1376950940,), (1376951022,), (1376951026,), (1376951028,), (1376951058,), (1376951061,), (1376951062,), (1376951064,), (1376951066,), (1376951143,), (1376951147,), (1376951170,), (1376951188,), (1376951192,), (1376951233,), (1376951237,), (1376951239,), (1376951241,), (1376951243,), (1376951261,), (1376951264,), (1376951265,), (1376951266,), (1376951347,), (1376951352,), (1376951379,), (1376951388,), (1376951409,), (1376951427,), (1376951456,), (1376951473,), (1376951476,), (1376951478,), (1376951480,), (1376951499,), (1376951506,), (1376951508,), (1376951511,), (1376951514,), (1376951517,), (1376951524,), (1376951526,), (1376951528,), (1376951531,), (1376951534,), (1376951538,), (1376951558,), (1376951562,), (1376951591,), (1376951583,), (1376951585,), (1376951588,), (1376951601,), (1376951605,), (1376951618,), (1376951620,), (1376951622,), (1376951640,), (1376951646,), (1376951648,), (1376951694,), (1376951695,), (1376951697,), (1376951721,), (1376951739,), (1376951742,), (1376951744,), (1376951746,), (1376951749,), (1376951763,), (1376951764,), (1376951772,), (1376951784,), (1376951824,), (1376951829,), (1376951831,), (1376951856,), (1376951859,), (1376951861,), (1376951876,), (1376951880,), (1376951903,), (1376951909,), (1376951912,), (1376951914,), (1376951916,), (1376951928,), (1376951932,), (1376951935,), (1376951937,), (1376951939,), (1376951941,), (1376951949,), (1376951954,), (1376951960,), (1376951963,), (1376951974,), (1376951978,), (1376951979,), (1376951982,), (1376951986,), (1376951998,), (1376952003,), (1376952048,), (1376952034,), (1376952043,), (1376952044,), (1376952061,), (1376952065,), (1376952068,), (1376952085,), (1376952089,), (1376952092,), (1376952095,), (1376952112,), (1376952115,), (1376952117,), (1376952120,), (1376952124,), (1376952127,), (1376952141,), (1376952144,), (1376952146,), (1376952149,), (1376952156,), (1376952159,), (1376952175,), (1376952177,), (1376952179,), (1376952196,), (1376952207,), (1376952210,), (1376952233,), (1376952235,), (1376952238,), (1376952246,), (1376952247,), (1376952248,), (1376952250,), (1376952281,), (1376952282,), (1376952286,), (1376952308,), (1376952311,), (1376952315,), (1376952320,), (1376952323,), (1376952335,), (1376952338,), (1376952341,), (1376952343,), (1376952345,), (1376952347,), (1376952361,), (1376952363,), (1376952365,), (1376952367,), (1376952371,), (1376952375,), (1376952385,), (1376952391,), (1376952394,), (1376952438,), (1376952441,), (1376952442,), (1376952443,), (1376952670,), (1376952765,), (1376952836,), (1376953960,), (1376954008,), (1376954037,), (1376954068,), (1376954101,), (1376952516,), (1376952551,), (1376952611,), (1376953295,), (1376953363,), (1376953447,), (1376953535,), (1376953619,), (1376953703,), (1376954266,), (1376954321,), (1376954396,), (1376954459,), (1376954500,), (1376954532,), (1376954815,), (1376954870,), (1376954930,), (1376954987,), (1376955058,), (1376955210,), (1376955275,), (1376955303,), (1376955332,), (1376955596,), (1376955600,), (1376955602,), (1376955606,), (1376955653,), (1376955684,), (1376955714,), (1376955746,), (1376955779,), (1376955963,), (1376955975,), (1376956077,), (1376956079,), (1376956082,), (1376956086,), (1376956090,), (1376956095,), (1376956107,), (1376956111,), (1376956113,), (1376956116,), (1376956117,), (1376956120,), (1376956146,), (1376956149,), (1376956151,), (1376956154,), (1376956168,), (1376956172,), (1376956174,), (1376956262,), (1376956265,), (1376956267,), (1376956293,), (1376956297,), (1376956298,), (1376956300,), (1376956302,), (1376956327,), (1376956330,), (1376956332,), (1376956335,), (1376956339,), (1376956365,), (1376956350,), (1376956354,), (1376956357,), (1376956361,), (1376956382,), (1376956385,), (1376956387,), (1376956391,), (1376956393,), (1376956396,), (1376956409,), (1376956411,), (1376956414,), (1376956417,), (1376956421,), (1376956425,), (1376956430,), (1376956431,), (1376956432,), (1376956438,), (1376956442,), (1376956444,), (1376956449,), (1376956452,), (1376956455,), (1376956462,), (1376956466,), (1376956468,), (1376956470,), (1376956473,), (1376956476,), (1376956498,), (1376956499,), (1376956500,), (1376956542,), (1376956545,), (1376956547,), (1376956550,), (1376956552,), (1376956568,), (1376956570,), (1376956571,), (1376956573,), (1376956576,), (1376956601,), (1376956608,), (1376956611,), (1376956614,), (1376956633,), (1376956636,), (1376956641,), (1376956644,), (1376956646,), (1376956662,), (1376956664,), (1376956666,), (1376956668,), (1376956670,), (1376956672,), (1376956687,), (1376956695,), (1376956704,), (1376956722,), (1376956740,), (1376956757,), (1376956764,), (1376956767,), (1376956771,), (1376956773,), (1376956789,), (1376956791,), (1376956793,), (1376956822,), (1376956828,), (1376956830,), (1376956834,), (1376956838,), (1376956840,), (1376956876,), (1376956864,), (1376956866,), (1376956867,), (1376956869,), (1376956873,), (1376956894,), (1376956898,), (1376956916,), (1376956930,), (1376956931,), (1376956933,), (1376956934,), (1376956938,), (1376956941,), (1376956952,), (1376956956,), (1376956957,), (1376956960,), (1376956978,), (1376956980,), (1376956983,), (1376956986,), (1376956989,), (1376956998,), (1376957003,), (1376957005,), (1376957007,), (1376957025,), (1376957034,), (1376957048,), (1376957052,), (1376957074,), (1376957077,), (1376957085,), (1376957088,), (1376957089,), (1376957091,), (1376957095,), (1376957292,), (1376957299,), (1376957329,), (1376957452,), (1376957455,), (1376957456,), (1376957458,), (1376957461,), (1376957482,), (1376957486,), (1376957487,), (1376957489,), (1376957493,), (1376957499,), (1376957526,), (1376957528,), (1376957530,), (1376957532,), (1376957548,), (1376957549,), (1376957551,), (1376957554,), (1376957557,), (1376957560,), (1376957568,), (1376957569,), (1376957571,), (1376957589,), (1376957592,), (1376957595,), (1376957598,), (1376957601,), (1376957603,), (1376957611,), (1376957615,), (1376957618,), (1376957622,), (1376957665,), (1376957732,), (1376957649,), (1376957654,), (1376957656,), (1376957659,), (1376957662,), (1376957677,), (1376957687,), (1376957700,), (1376957712,), (1376957717,), (1376957720,), (1376957728,), (1376957730,), (1376957736,), (1376957740,), (1376957747,), (1376957749,), (1376957758,), (1376957761,), (1376957763,), (1376957766,), (1376957770,), (1376957785,), (1376957789,), (1376957791,), (1376957793,), (1376957833,), (1376957835,), (1376957836,), (1376957845,), (1376957858,), (1376957861,), (1376957885,), (1376957886,), (1376957887,), (1376957889,), (1376957932,), (1376957937,), (1376957939,), (1376957941,), (1376957957,), (1376957959,), (1376957967,), (1376957973,), (1376958239,), (1376958405,), (1376958423,), (1376958535,), (1376958575,), (1376958607,), (1376958638,), (1376958790,), (1376958803,), (1376968602,), (1376968706,), (1376968911,), (1376968943,), (1376968995,), (1376969323,), (1376969328,), (1376969335,), (1376969447,), (1376969450,), (1376969452,), (1376969455,), (1376969458,), (1376969475,), (1376969480,), (1376969482,), (1376969486,), (1376969514,), (1376969516,), (1376969518,), (1376969521,), (1376969527,), (1376969730,), (1376969737,), (1376969741,), (1376969753,), (1376969785,), (1376969795,), (1376969903,), (1376969943,), (1376969982,), (1376970085,), (1376970088,), (1376970090,), (1376970092,), (1376970096,), (1376970199,), (1376970203,), (1376970205,), (1376970208,), (1376970212,), (1376970482,), (1376970514,), (1376970544,), (1376970570,), (1376970653,), (1376970703,), (1376970766,), (1376971143,), (1376971295,), (1376971292,), (1376971334,), (1376971433,), (1376971459,), (1376971462,), (1376971501,), (1376971506,), (1376971508,), (1376971511,), (1376971515,), (1376971542,), (1376971627,), (1376971631,), (1376971634,), (1376971637,), (1376971640,), (1376971654,), (1376971657,), (1376971658,), (1376971660,), (1376971665,), (1376971694,), (1376971696,), (1376971698,), (1376971700,), (1376971702,), (1376971704,), (1376971709,), (1376971711,), (1376971712,), (1376971715,), (1376971720,), (1376971750,), (1376971785,), (1376971812,), (1376971843,), (1376972011,), (1376972058,), (1376972114,), (1376972152,), (1376972160,), (1376972213,), (1376972216,), (1376972218,), (1376972222,), (1376972238,), (1376972240,), (1376972242,), (1376972245,), (1376972273,), (1376972275,), (1376972279,), (1376972281,), (1376972385,), (1376972374,), (1376972379,), (1376972382,), (1376972443,), (1376972445,), (1376972447,), (1376972449,), (1376972452,), (1376972469,), (1376972471,), (1376972473,), (1376972522,), (1376972531,), (1376972533,), (1376972537,), (1376972765,), (1376972794,), (1376973201,), (1376973234,), (1376973268,), (1376973680,), (1376973684,), (1376973688,), (1376973691,), (1376973982,), (1376974012,), (1376974059,), (1376974141,), (1376974213,), (1376974727,), (1376974788,), (1376974825,), (1376974873,), (1376975109,), (1376975146,), (1376975175,), (1376975204,), (1376975213,), (1376975235,), (1376975389,), (1376975394,), (1376975398,), (1376975408,), (1376975429,), (1376975453,), (1376975457,), (1376975460,), (1376975477,), (1376975479,), (1376975481,), (1376975484,), (1376975486,), (1376975498,), (1376975500,), (1376975503,), (1376975508,), (1376975511,), (1376975515,), (1376975524,), (1376975526,), (1376975529,), (1376975537,), (1376975541,), (1376975544,), (1376975547,), (1376975552,), (1376975567,), (1376975558,), (1376975561,), (1376975564,), (1376975644,), (1376975646,), (1376975647,), (1376975700,), (1376975759,), (1376975760,), (1376975773,), (1376975803,), (1376975838,), (1376975867,), (1376975908,), (1376975982,), (1376975990,), (1376975992,), (1376975994,), (1376976006,), (1376976035,), (1376976087,), (1376976123,), (1376976147,), (1376976149,), (1376976152,), (1376976180,), (1376976182,), (1376976184,), (1376976217,), (1376976225,), (1376976243,), (1376976250,), (1376976252,), (1376976255,), (1376976400,), (1376976409,), (1376976443,), (1376976449,), (1376976451,), (1376976502,), (1376976503,), (1376976506,), (1376976536,), (1376976589,), (1376976592,), (1376976599,), (1376976600,), (1376976602,), (1376976613,), (1376976618,), (1376976622,), (1376976625,), (1376976628,), (1376976631,), (1376976635,), (1376976639,), (1376976640,), (1376976643,), (1376976661,), (1376976664,), (1376976666,), (1376976669,), (1376976673,), (1376976676,), (1376976688,), (1376976689,), (1376976693,), (1376976695,), (1376976697,), (1376976700,), (1376976709,), (1376976712,), (1376976715,), (1376976717,), (1376976718,), (1376976720,), (1376976727,), (1376976729,), (1376976732,), (1376976735,), (1376976737,), (1376976747,), (1376976750,), (1376976752,), (1376976754,), (1376976757,), (1376976759,), (1376976781,), (1376976784,), (1376976786,), (1376976791,), (1376976794,), (1376976797,), (1376976801,), (1376976771,), (1376976774,), (1376976779,), (1376976810,), (1376976812,), (1376976815,), (1376976861,), (1376976867,), (1376976879,), (1376976886,), (1376976888,), (1376976891,), (1376976950,), (1376976954,), (1376976959,), (1376976964,), (1376976970,), (1376976973,), (1376976978,), (1376976982,), (1376976997,), (1376977000,), (1376977002,), (1376977005,), (1376977008,), (1376977035,), (1376977039,), (1376977041,), (1376977044,), (1376977048,), (1376977107,), (1376977111,), (1376977116,), (1376977121,), (1376977358,), (1376977493,), (1376977527,), (1376977636,), (1376977641,), (1376977645,), (1376977650,), (1376977669,), (1376977673,), (1376977675,), (1376977743,), (1376977839,), (1376977895,), (1376977899,), (1376977966,), (1376977948,), (1376977954,), (1376977957,), (1376977998,), (1376978003,), (1376978005,), (1376978014,), (1376978044,), (1376978048,), (1376978052,), (1376978061,), (1376978212,), (1376978218,), (1376978221,), (1376978224,), (1376978316,), (1376978326,), (1376978329,), (1376978332,), (1376978335,), (1376978401,), (1376978425,), (1376978437,), (1376978440,), (1376978494,), (1376978503,), (1376978506,), (1376978508,), (1376978602,), (1376978606,), (1376978608,), (1376978612,), (1376978663,), (1376978691,), (1376978706,), (1376978709,), (1376978713,), (1376978723,), (1376978728,), (1376978753,), (1376978759,), (1376978762,), (1376978766,), (1376978797,), (1376978801,), (1376978809,), (1376978813,), (1376978829,), (1376978830,), (1376978846,), (1376978847,), (1376978849,), (1376978850,), (1376978859,), (1376978860,), (1376978933,), (1376978907,), (1376978928,), (1376978931,), (1376978970,), (1376978980,), (1376978984,), (1376979019,), (1376979021,), (1376979061,), (1376979066,), (1376979070,), (1376979080,), (1376979085,), (1376979089,), (1376979118,), (1376979123,), (1376979164,), (1376979169,), (1376979212,), (1376979218,), (1376979250,), (1376979259,), (1376979350,), (1376979354,), (1376979356,), (1376979365,), (1376979370,), (1376979403,), (1376979408,), (1376979412,), (1376979455,), (1376979460,), (1376979464,), (1376979474,), (1376979508,), (1376979556,), (1376979562,), (1376979565,), (1376979574,), (1376979658,), (1376979662,), (1376979665,), (1376979674,), (1376979679,), (1376979778,), (1376979784,), (1376979787,), (1376979794,), (1376979825,), (1376979831,), (1376979834,), (1376979844,), (1376979850,), (1376979907,), (1376979880,), (1376979886,), (1376979896,), (1376979900,), (1376979904,), (1376979927,), (1376979984,), (1376980001,), (1376980012,), (1376980020,), (1376980083,), (1376980086,), (1376980096,), (1376980101,), (1376980106,), (1376980135,), (1376980188,), (1376980207,), (1376980294,), (1376980382,), (1376980393,), (1376980398,), (1376980432,), (1376980436,), (1376980482,), (1376980487,), (1376980490,), (1376980503,), (1376980538,), (1376980552,), (1376980555,), (1376980561,), (1376980565,), (1376980638,), (1376980641,), (1376980642,), (1376980651,), (1376980653,), (1376980690,), (1376980692,), (1376980693,), (1376980695,), (1376980736,), (1376980744,), (1376980781,), (1376980783,), (1376980784,), (1376980793,), (1376980842,), (1376980824,), (1376980834,), (1376980839,), (1376980911,), (1376980918,), (1376980919,), (1376980921,), (1376980956,), (1376980965,), (1376980967,), (1376981048,), (1376981061,), (1376981094,), (1376981103,), (1376981104,), (1376981106,), (1376981110,), (1376981159,), (1376981169,), (1376981172,), (1376981204,), (1376981213,), (1376981214,), (1376981216,), (1376981253,), (1376981261,), (1376981263,), (1376981265,), (1376981267,), (1376981275,), (1376981304,), (1376981308,), (1376981309,), (1376981311,), (1376981355,), (1376981359,), (1376981362,), (1376981365,), (1376981368,), (1376981377,), (1376981403,), (1376981408,), (1376981419,), (1376981430,), (1376981495,), (1376981501,), (1376981504,), (1376981508,), (1376981511,), (1376981537,), (1376981546,), (1376981549,), (1376981552,), (1376981557,), (1376981584,), (1376981594,), (1376981598,), (1376981603,), (1376981610,), (1376981658,), (1376981643,), (1376981647,), (1376981650,), (1376981654,), (1376981703,), (1376981715,), (1376981718,), (1376981744,), (1376981756,), (1376981785,), (1376981788,), (1376981791,), (1376981827,), (1376981832,), (1376981834,), (1376981843,), (1376981847,), (1376981874,), (1376981877,), (1376981881,), (1376981926,), (1376981930,), (1376982048,), (1376982051,), (1376982084,), (1376982133,), (1376982141,), (1376982144,), (1376982149,), (1376982181,), (1376982184,), (1376982186,), (1376982212,), (1376982218,), (1376982221,), (1376982243,), (1376982264,), (1376982273,), (1376982294,), (1376982295,), (1376982297,), (1376982308,), (1376982311,), (1376982321,), (1376982353,), (1376982358,), (1376982363,), (1376982367,), (1376982378,), (1376982432,), (1376982435,), (1376982444,), (1376982448,), (1376982450,), (1376982465,), (1376982472,), (1376982429,), (1376982570,), (1376982578,), (1376982582,), (1376982591,), (1376982595,), (1376982641,), (1376982652,), (1376982655,), (1376982914,), (1376982950,), (1376982983,), (1376983302,), (1376983333,), (1376983451,), (1376983453,), (1376983455,), (1376983817,), (1376983882,), (1376983920,), (1376984313,), (1376984350,), (1376984385,), (1376984416,), (1376984984,), (1376985046,), (1376985102,), (1376985504,), (1376985535,), (1376985545,), (1376985590,), (1376985626,), (1376985681,), (1376985794,), (1376985852,), (1376985886,), (1376985895,), (1376985904,), (1376985908,), (1376986209,), (1376986212,), (1376986215,), (1376986231,), (1376986237,), (1376986242,), (1376986272,), (1376986277,), (1376986279,), (1376986292,), (1376986570,), (1376986600,), (1376986629,), (1376986669,), (1376986701,), (1376986731,), (1376987135,), (1376986997,), (1376987031,), (1376987064,), (1376987103,), (1376987348,), (1376987363,), (1376987379,), (1376987515,), (1376987558,), (1376987597,), (1376987668,), (1376987727,), (1376987779,), (1376988276,), (1376988366,), (1376988454,), (1376988541,), (1376988646,), (1376988737,), (1376989307,), (1376989407,), (1376989498,), (1376990156,), (1376990448,), (1376990509,), (1376990570,), (1376990631,), (1376990751,), (1376990856,), (1376990902,), (1376990931,), (1376990962,), (1376991152,), (1376991217,), (1376991275,), (1376991482,), (1376991486,), (1376991489,), (1376991492,), (1376991510,), (1376991514,), (1376991543,), (1376991575,), (1376991609,), (1376991849,), (1376991855,), (1376991863,), (1376992150,), (1376992179,), (1376992200,), (1376992210,), (1376992306,), (1376992452,), (1376992455,), (1376992457,), (1376992478,), (1376992525,), (1376992522,), (1376992544,), (1376992549,), (1376992552,), (1376992809,), (1376992852,), (1376992886,), (1376992920,), (1376992963,), (1376993489,), (1376993546,), (1376993608,), (1376993672,), (1376994075,), (1376994750,), (1376994793,), (1376994855,), (1376995404,), (1376995443,), (1376995498,), (1376995535,), (1376995664,), (1376995674,), (1376995678,), (1376995703,), (1376995749,), (1376996129,), (1376996159,), (1376996199,), (1376996258,), (1376996680,), (1377003298,), (1377003264,), (1377003691,), (1377003934,), (1377005947,), (1377006396,), (1377006789,), (1377006865,), (1377006923,), (1377007224,), (1377007227,), (1377007410,), (1377007643,), (1377007633,), (1377007757,), (1377007760,), (1377007797,), (1377007801,), (1377007917,), (1377007919,), (1377007921,), (1377007924,), (1377007940,), (1377007946,), (1377007949,), (1377007962,), (1377007974,), (1377007987,), (1377007990,), (1377007993,), (1377007997,), (1377008018,), (1377008023,), (1377008058,), (1377008061,), (1377008063,), (1377008087,), (1377008230,), (1377008235,), (1377008238,), (1377008241,), (1377008385,), (1377008400,), (1377008402,), (1377008406,), (1377008410,), (1377008502,), (1377008507,), (1377008510,), (1377008631,), (1377008632,), (1377008633,), (1377008635,), (1377008639,), (1377008645,), (1377008682,), (1377008687,), (1377008689,), (1377008691,), (1377008823,), (1377008796,), (1377008810,), (1377008814,), (1377008870,), (1377008953,), (1377008954,), (1377008955,), (1377008957,), (1377009177,), (1377009210,), (1377009376,), (1377009409,), (1377009422,), (1377009423,), (1377009446,), (1377009447,), (1377009448,), (1377009450,), (1377009466,), (1377009470,), (1377009472,), (1377009475,), (1377009585,), (1377009606,), (1377009710,), (1377009746,), (1377009767,), (1377009799,), (1377009800,), (1377009801,), (1377009806,), (1377009832,), (1377009835,), (1377009839,), (1377009844,), (1377009848,), (1377009866,), (1377009875,), (1377009894,), (1377009898,), (1377009902,), (1377009979,), (1377010012,), (1377010016,), (1377010053,), (1377010054,), (1377010059,), (1377010097,), (1377010107,), (1377010110,), (1377010247,), (1377010518,), (1377010131,), (1377010134,), (1377010146,), (1377010180,), (1377010216,), (1377010375,), (1377010383,), (1377010401,), (1377010422,), (1377010430,), (1377010434,), (1377010440,), (1377010460,), (1377010490,), (1377010540,), (1377010543,), (1377010549,), (1377010554,), (1377010581,), (1377010584,), (1377010587,), (1377010590,), (1377010634,), (1377010637,), (1377010655,), (1377010684,), (1377010715,), (1377010751,), (1377010753,), (1377010754,), (1377010773,), (1377010870,), (1377010900,), (1377011147,), (1377011159,), (1377011161,), (1377011270,), (1377011275,), (1377011306,), (1377011487,), (1377011491,), (1377011493,), (1377011501,), (1377011539,), (1377011652,), (1377011659,), (1377011663,), (1377011666,), (1377011670,), (1377011687,), (1377011700,), (1377011708,), (1377011731,), (1377011952,), (1377011987,), (1377012020,), (1377012052,), (1377012383,), (1377012416,), (1377012454,), (1377012489,), (1377012521,), (1377012820,), (1377013274,), (1377013344,), (1377013396,), (1377013827,), (1377013859,), (1377013891,), (1377013895,), (1377013898,), (1377013907,), (1377014045,), (1377014062,), (1377014116,), (1377014177,), (1377014527,), (1377014561,), (1377014593,), (1377014627,), (1377014660,), (1377014996,), (1377015065,), (1377015193,), (1377015308,), (1377015423,), (1377015505,), (1377015804,), (1377015828,), (1377015838,), (1377016235,), (1377016239,), (1377016271,), (1377016698,), (1377016775,), (1377016810,), (1377016842,), (1377017101,), (1377017163,), (1377017199,), (1377017244,), (1377017507,), (1377017522,), (1377017552,), (1377017560,), (1377017566,), (1377017976,), (1377018155,), (1377018403,), (1377018435,), (1377018457,), (1377018462,), (1377018554,), (1377018529,), (1377018533,), (1377018535,), (1377018538,), (1377018543,), (1377018572,), (1377018577,), (1377018581,), (1377018587,), (1377018797,), (1377018828,), (1377018847,), (1377018978,), (1377018997,), (1377019025,), (1377019028,), (1377019142,), (1377019205,), (1377019209,), (1377019226,), (1377019263,), (1377019288,), (1377019378,), (1377019384,), (1377019386,), (1377019415,), (1377019426,), (1377019437,), (1377019507,), (1377019511,), (1377019515,), (1377019520,), (1377019531,), (1377019535,), (1377019549,), (1377019590,), (1377019621,), (1377019628,), (1377019645,), (1377019711,), (1377019925,), (1377019928,), (1377019948,), (1377019981,), (1377020011,), (1377020136,), (1377020138,), (1377020141,), (1377020145,), (1377020158,), (1377020163,), (1377020251,), (1377020259,), (1377020294,), (1377020438,), (1377020444,), (1377020447,), (1377020453,), (1377020520,), (1377020524,), (1377020529,), (1377020562,), (1377020564,), (1377020566,), (1377020569,), (1377020603,), (1377020607,), (1377020729,), (1377020676,), (1377020680,), (1377020683,), (1377020712,), (1377020717,), (1377020917,), (1377020955,), (1377020988,), (1377021063,), (1377021591,), (1377021623,), (1377021654,), (1377021895,), (1377021910,), (1377021913,), (1377022251,), (1377022299,), (1377022711,), (1377022745,), (1377022783,), (1377023214,), (1377023249,), (1377023300,), (1377023892,), (1377023940,), (1377023967,), (1377023998,), (1377024017,), (1377024057,), (1377024395,), (1377024409,), (1377024529,), (1377024572,), (1377024611,), (1377024765,), (1377024769,), (1377024771,), (1377024774,), (1377024806,), (1377025104,), (1377025151,), (1377025148,), (1377025188,), (1377025259,), (1377025262,), (1377025265,), (1377025270,), (1377025303,), (1377025305,), (1377025308,), (1377025311,), (1377025320,), (1377025323,), (1377025353,), (1377025357,), (1377025363,), (1377025376,), (1377025380,), (1377025392,), (1377025397,), (1377025400,), (1377025404,), (1377025409,), (1377025420,), (1377025440,), (1377025445,), (1377025450,), (1377025489,), (1377025496,), (1377025500,), (1377025504,), (1377025508,), (1377025519,), (1377025541,), (1377025544,), (1377025548,), (1377025553,), (1377025567,), (1377025620,), (1377025633,), (1377025638,), (1377025642,), (1377025661,), (1377025666,), (1377025670,), (1377025675,), (1377025704,), (1377025708,), (1377025711,), (1377025715,), (1377025721,), (1377025732,), (1377025749,), (1377025756,), (1377025763,), (1377025768,), (1377025792,), (1377025794,), (1377025797,), (1377025800,), (1377025803,), (1377025824,), (1377025814,), (1377025817,), (1377025820,), (1377025843,), (1377025850,), (1377025856,), (1377025861,), (1377025867,), (1377025883,), (1377025888,), (1377025892,), (1377025895,), (1377025899,), (1377025903,), (1377025919,), (1377025923,), (1377025926,), (1377026025,), (1377026029,), (1377026033,), (1377026037,), (1377026041,), (1377026057,), (1377026063,), (1377026067,), (1377026072,), (1377026078,), (1377026083,), (1377026105,), (1377026109,), (1377026127,), (1377026135,), (1377026137,), (1377026139,), (1377026142,), (1377026144,), (1377026149,), (1377026155,), (1377026167,), (1377026171,), (1377026174,), (1377026177,), (1377026182,), (1377026185,), (1377026188,), (1377026190,), (1377026192,), (1377026195,), (1377026201,), (1377026207,), (1377026221,), (1377026225,), (1377026227,), (1377026231,), (1377026234,), (1377026238,), (1377026256,), (1377026258,), (1377026260,), (1377026286,), (1377026291,), (1377026294,), (1377026297,), (1377026329,), (1377026336,), (1377026337,), (1377026355,), (1377026359,), (1377026369,), (1377026372,), (1377026405,), (1377026408,), (1377026411,), (1377026415,), (1377026420,), (1377026449,), (1377026521,), (1377026438,), (1377026441,), (1377026442,), (1377026445,), (1377026478,), (1377026479,), (1377026501,), (1377026505,), (1377026508,), (1377026512,), (1377026517,), (1377026518,), (1377026519,), (1377026530,), (1377026536,), (1377026540,), (1377026544,), (1377026558,), (1377026562,), (1377026628,), (1377026632,), (1377026646,), (1377026707,), (1377026709,), (1377026710,), (1377026714,), (1377026718,), (1377026722,), (1377026738,), (1377026743,), (1377026745,), (1377026748,), (1377026751,), (1377026768,), (1377026770,), (1377026772,), (1377026775,), (1377026797,), (1377026801,), (1377026803,), (1377026826,), (1377026829,), (1377026831,), (1377026834,), (1377026837,), (1377026840,), (1377026854,), (1377026860,), (1377026863,), (1377026866,), (1377026870,), (1377026887,), (1377026889,), (1377026891,), (1377026916,), (1377026922,), (1377026924,), (1377026928,), (1377026931,), (1377026951,), (1377026948,), (1377026950,), (1377026976,), (1377026984,), (1377027019,), (1377027020,), (1377027022,), (1377027026,), (1377027029,), (1377027042,), (1377027045,), (1377027074,), (1377027077,), (1377027079,), (1377027102,), (1377027107,), (1377027108,), (1377027110,), (1377027112,), (1377027150,), (1377027154,), (1377027168,), (1377027171,), (1377027176,), (1377027193,), (1377027199,), (1377027201,), (1377027220,), (1377027222,), (1377027223,), (1377027225,), (1377027248,), (1377027253,), (1377027255,), (1377027257,), (1377027259,), (1377027261,), (1377027275,), (1377027278,), (1377027280,), (1377027283,), (1377027311,), (1377027321,), (1377027338,), (1377027341,), (1377027345,), (1377027363,), (1377027364,), (1377027366,), (1377027370,), (1377027374,), (1377027378,), (1377027389,), (1377027391,), (1377027393,), (1377027401,), (1377027404,), (1377027408,), (1377027435,), (1377027439,), (1377027441,), (1377027443,), (1377027447,), (1377027486,), (1377027475,), (1377027479,), (1377027480,), (1377027482,), (1377027532,), (1377027547,), (1377027550,), (1377027552,), (1377027555,), (1377027569,), (1377027574,), (1377027576,), (1377027593,), (1377027595,), (1377027596,), (1377027599,), (1377027603,), (1377027622,), (1377027626,), (1377027627,), (1377027629,), (1377027633,), (1377027655,), (1377027658,), (1377027660,), (1377027664,), (1377027667,), (1377027684,), (1377027691,), (1377027708,), (1377027749,), (1377027750,), (1377027752,), (1377027757,), (1377027761,), (1377027765,), (1377027776,), (1377027779,), (1377027783,), (1377027788,), (1377027793,), (1377027797,), (1377027806,), (1377027808,), (1377027812,), (1377027814,), (1377027816,), (1377027820,), (1377027836,), (1377027840,), (1377027843,), (1377027846,), (1377027849,), (1377027852,), (1377027861,), (1377027863,), (1377027868,), (1377027890,), (1377027894,), (1377027898,), (1377027902,), (1377027905,), (1377027909,), (1377027914,), (1377027915,), (1377027918,), (1377027924,), (1377027928,), (1377027933,), (1377027936,), (1377027939,), (1377027964,), (1377027968,), (1377027975,), (1377027986,), (1377027989,), (1377027993,), (1377028040,), (1377028022,), (1377028027,), (1377028031,), (1377028035,), (1377028038,), (1377028053,), (1377028057,), (1377028060,), (1377028063,), (1377028065,), (1377028072,), (1377028148,), (1377028150,), (1377028155,), (1377028159,), (1377028163,), (1377028178,), (1377028189,), (1377028191,), (1377028193,), (1377028197,), (1377028210,), (1377028214,), (1377028216,), (1377028228,), (1377028236,), (1377028268,), (1377028597,), (1377028631,), (1377028662,), (1377028695,), (1377029128,), (1377029165,), (1377029204,), (1377029251,), (1377029471,), (1377029574,), (1377029630,), (1377029714,), (1377029796,), (1377029852,), (1377030213,), (1377030255,), (1377030307,), (1377030343,), (1377030626,), (1377030655,), (1377030686,), (1377030717,), (1377030747,), (1377030780,), (1377030888,), (1377030894,), (1377030932,), (1377030990,), (1377031052,), (1377031112,), (1377031449,), (1377031507,), (1377031551,), (1377031956,), (1377031990,), (1377032021,), (1377032055,), (1377032732,), (1377033413,), (1377033351,), (1377033967,), (1377033980,), (1377034019,), (1377034061,), (1377034397,), (1377034413,), (1377034467,), (1377034521,), (1377034848,), (1377034880,), (1377034911,), (1377034945,), (1377034976,), (1377035008,), (1377035365,), (1377035428,), (1377035491,), (1377038108,), (1377038127,), (1377038130,), (1377038132,), (1377038135,), (1377038140,), (1377038144,), (1377038160,), (1377038163,), (1377038166,), (1377038169,), (1377038173,), (1377038198,), (1377038196,), (1377038218,), (1377038222,), (1377038224,), (1377038226,), (1377038230,), (1377038246,), (1377038247,), (1377038250,), (1377038254,), (1377038259,), (1377038272,), (1377038274,), (1377038276,), (1377038278,), (1377038283,), (1377038287,), (1377038407,), (1377038757,), (1377038760,), (1377038837,), (1377038840,), (1377038843,), (1377038935,), (1377038944,), (1377038947,), (1377038949,), (1377039018,), (1377039023,), (1377039045,), (1377039049,), (1377039053,), (1377039057,), (1377039061,), (1377039064,), (1377039081,), (1377039089,), (1377039394,), (1377039402,), (1377039741,), (1377039648,), (1377039678,), (1377039708,), (1377040028,), (1377040064,), (1377040436,), (1377040459,), (1377040462,), (1377040467,), (1377040739,), (1377040803,), (1377040848,), (1377040880,), (1377048609,), (1377047189,), (1377047216,), (1377048123,), (1377048689,), (1377048724,), (1377048754,), (1377048777,), (1377048893,), (1377048943,), (1377048936,), (1377048937,), (1377048938,), (1377048940,), (1377048997,), (1377049017,), (1377049168,), (1377049206,), (1377049448,), (1377049451,), (1377049728,), (1377049750,), (1377049779,), (1377049799,), (1377049803,), (1377049977,), (1377050010,), (1377050020,), (1377050312,), (1377050342,), (1377050376,), (1377050388,), (1377050502,), (1377050533,), (1377050563,), (1377050596,), (1377050623,), (1377050638,), (1377050687,), (1377050729,), (1377050732,), (1377050750,), (1377050782,), (1377051231,), (1377051244,), (1377051517,), (1377051547,), (1377051574,), (1377051929,), (1377051930,), (1377051931,), (1377051991,), (1377051993,), (1377051995,), (1377051997,), (1377052040,), (1377052047,), (1377052054,), (1377052060,), (1377052096,), (1377052097,), (1377052102,), (1377052103,), (1377052105,), (1377052106,), (1377052605,), (1377052633,), (1377052835,), (1377052866,), (1377052487,), (1377052515,), (1377052544,), (1377052577,), (1377052734,), (1377052768,), (1377052803,), (1377053080,), (1377053141,), (1377053199,), (1377053258,), (1377053593,), (1377053625,), (1377053659,), (1377053709,), (1377053772,), (1377054220,), (1377054257,), (1377054287,), (1377054333,), (1377054864,), (1377054923,), (1377054980,), (1377055035,), (1377055461,), (1377055531,), (1377055587,), (1377055654,), (1377055715,), (1377055772,), (1377056353,), (1377056432,), (1377056464,), (1377056483,), (1377056562,), (1377056565,), (1377056959,), (1377056963,), (1377056987,), (1377056998,), (1377057031,), (1377057049,), (1377057178,), (1377057264,), (1377057296,), (1377057306,), (1377057336,), (1377057370,), (1377057441,), (1377057450,), (1377057470,), (1377057492,), (1377057522,), (1377057553,), (1377057821,), (1377057854,), (1377057885,), (1377057917,), (1377057950,), (1377057983,), (1377058093,), (1377058131,), (1377058165,), (1377058196,), (1377058303,), (1377058335,), (1377058367,), (1377058385,), (1377058417,), (1377058594,), (1377058612,), (1377058614,), (1377058616,), (1377058620,), (1377058949,), (1377058809,), (1377058844,), (1377058890,), (1377059392,), (1377059410,), (1377059428,), (1377059467,), (1377059720,), (1377059751,), (1377059782,), (1377059797,), (1377059802,), (1377059823,), (1377059829,), (1377059833,), (1377060196,), (1377060227,), (1377060280,), (1377060288,), (1377060317,), (1377060369,), (1377060372,), (1377060374,), (1377060377,), (1377060380,), (1377060414,), (1377060418,), (1377060421,), (1377060425,), (1377060450,), (1377060454,), (1377060479,), (1377060510,), (1377060545,), (1377060574,), (1377060632,), (1377060638,), (1377060667,), (1377060700,), (1377060715,), (1377060745,), (1377060842,), (1377060846,), (1377060852,), (1377060857,), (1377060861,), (1377060863,), (1377060878,), (1377060882,), (1377060884,), (1377060887,), (1377060920,), (1377060953,), (1377061116,), (1377061127,), (1377061131,), (1377061146,), (1377061310,), (1377061313,), (1377061316,), (1377061320,), (1377061340,), (1377061343,), (1377061361,), (1377061391,), (1377061421,), (1377061451,), (1377061564,), (1377061567,), (1377061573,), (1377061603,), (1377061636,), (1377061748,), (1377061741,), (1377061745,), (1377061839,), (1377061844,), (1377061859,), (1377061888,), (1377061895,), (1377061927,), (1377062036,), (1377062066,), (1377062096,), (1377062102,), (1377062106,), (1377062122,), (1377062191,), (1377062193,), (1377062202,), (1377062233,), (1377062244,), (1377062247,), (1377062250,), (1377062252,), (1377062263,), (1377062266,), (1377062269,), (1377062273,), (1377062292,), (1377062296,), (1377062300,), (1377062304,), (1377062341,), (1377062343,), (1377062358,), (1377062362,), (1377062373,), (1377062405,), (1377062721,), (1377062751,), (1377062796,), (1377062852,), (1377063118,), (1377063122,), (1377063189,), (1377063221,), (1377063249,), (1377063279,), (1377063521,), (1377063523,), (1377063533,), (1377063571,), (1377063641,), (1377063701,), (1377063871,), (1377063899,), (1377063925,), (1377063994,), (1377064026,), (1377064057,), (1377064215,), (1377064216,), (1377064219,), (1377064222,), (1377064226,), (1377064230,), (1377064240,), (1377064270,), (1377064302,), (1377064330,), (1377064379,), (1377064399,), (1377064406,), (1377064431,), (1377064435,), (1377064439,), (1377064445,), (1377064449,), (1377064452,), (1377064456,), (1377064460,), (1377064464,), (1377064531,), (1377064492,), (1377064495,), (1377064510,), (1377064513,), (1377064579,), (1377064584,), (1377064586,), (1377064599,), (1377064636,), (1377064646,), (1377064653,), (1377064656,), (1377064659,), (1377064680,), (1377064684,), (1377064691,), (1377064705,), (1377064716,), (1377064718,), (1377064736,), (1377064767,), (1377064801,), (1377064867,), (1377065403,), (1377065436,), (1377065491,), (1377065550,), (1377065883,), (1377065892,), (1377065894,), (1377065897,), (1377065901,), (1377066111,), (1377066142,), (1377066185,), (1377066246,), (1377066279,), (1377066333,), (1377066459,), (1377066490,), (1377066513,), (1377066515,), (1377066555,), (1377066556,), (1377066559,), (1377066560,), (1377066562,), (1377066564,), (1377066589,), (1377066592,), (1377066621,), (1377066625,), (1377066655,), (1377066658,), (1377066729,), (1377066733,), (1377066737,), (1377066740,), (1377066831,), (1377066868,), (1377066958,), (1377067003,), (1377067482,), (1377067514,), (1377067546,), (1377067562,), (1377067570,), (1377067582,), (1377067702,), (1377067723,), (1377067725,), (1377067727,), (1377067887,), (1377067904,), (1377067961,), (1377068098,), (1377068099,), (1377068130,), (1377068132,), (1377068162,), (1377068166,), (1377068202,), (1377068205,), (1377068477,), (1377068352,), (1377068384,), (1377068415,), (1377068445,), (1377068740,), (1377068790,), (1377068807,), (1377069031,), (1377069063,), (1377069094,), (1377069157,), (1377069216,), (1377069274,), (1377069461,), (1377069530,), (1377069559,), (1377069743,), (1377069802,), (1377069861,), (1377069897,), (1377069927,), (1377069955,), (1377070297,), (1377070358,), (1377070431,), (1377070469,), (1377070823,), (1377070856,), (1377070887,), (1377070919,), (1377070950,), (1377070981,), (1377071361,), (1377071418,), (1377071451,), (1377071482,), (1377071513,), (1377071777,), (1377071812,), (1377071862,), (1377071918,), (1377071978,), (1377072518,), (1377072577,), (1377072642,), (1377072733,), (1377073207,), (1377073220,), (1377073528,), (1377073579,), (1377074140,), (1377074416,), (1377074418,), (1377074420,), (1377074423,), (1377074427,), (1377074431,), (1377074439,), (1377074442,), (1377074446,), (1377074449,), (1377074483,), (1377074486,), (1377074489,), (1377074492,), (1377074495,), (1377074498,), (1377074524,), (1377074517,), (1377074522,), (1377074609,), (1377074635,), (1377074642,), (1377074648,), (1377074771,), (1377074776,), (1377074779,), (1377074782,), (1377074993,), (1377075963,), (1377075996,), (1377076007,), (1377076010,), (1377076037,), (1377076043,), (1377076046,), (1377076049,), (1377076185,), (1377076215,), (1377076250,), (1377076291,), (1377076324,), (1377076355,), (1377076477,), (1377076585,), (1377076596,), (1377076601,), (1377076606,), (1377076644,), (1377076677,), (1377077022,), (1377077043,), (1377077363,), (1377077394,), (1377077409,), (1377077515,), (1377077546,), (1377077951,), (1377078010,), (1377078453,), (1377078488,), (1377078717,), (1377078704,), (1377078708,), (1377078710,), (1377078713,), (1377079165,), (1377079329,), (1377079445,), (1377079596,), (1377079737,), (1377080562,), (1377080611,), (1377080653,), (1377080688,), (1377080718,), (1377080745,), (1377080750,), (1377080758,), (1377081111,), (1377081224,), (1377081321,), (1377081580,), (1377081663,), (1377081762,), (1377082101,), (1377082231,), (1377082309,), (1377082316,), (1377082331,), (1377082334,), (1377082337,), (1377082364,), (1377082370,), (1377082373,), (1377082378,), (1377082382,), (1377082425,), (1377082431,), (1377082501,), (1377082532,), (1377082563,), (1377082568,), (1377082756,), (1377082772,), (1377082778,), (1377082930,), (1377082941,), (1377082956,), (1377082960,), (1377082985,), (1377082992,), (1377083024,), (1377083039,), (1377083063,), (1377083095,), (1377083122,), (1377083204,), (1377083163,), (1377083167,), (1377083170,), (1377083489,), (1377083517,), (1377083586,), (1377083591,), (1377083594,), (1377083598,), (1377083625,), (1377083628,), (1377083631,), (1377083634,), (1377083752,), (1377083775,), (1377083779,), (1377083782,), (1377083785,), (1377083835,), (1377083837,), (1377083841,), (1377083962,), (1377083971,), (1377083984,), (1377083987,), (1377084085,), (1377084088,), (1377084092,), (1377084099,), (1377084132,), (1377084159,), (1377084166,), (1377084168,), (1377084185,), (1377084192,), (1377084202,), (1377084207,), (1377084211,), (1377084214,), (1377084220,), (1377084222,), (1377084224,), (1377084227,), (1377084232,), (1377084292,), (1377084296,), (1377084299,), (1377084302,), (1377084430,), (1377084489,), (1377084524,), (1377084925,), (1377084958,), (1377084987,), (1377085781,), (1377085824,), (1377085832,), (1377085863,), (1377086382,), (1377086325,), (1377086866,), (1377086899,), (1377086954,), (1377087472,), (1377087483,), (1377087512,), (1377087563,), (1377087637,), (1377087984,), (1377088030,), (1377088066,), (1377088162,), (1377088166,), (1377088170,), (1377088174,), (1377088195,), (1377088199,), (1377088202,), (1377088395,), (1377088424,), (1377088455,), (1377088769,), (1377088798,), (1377088827,), (1377088858,), (1377089154,), (1377089185,), (1377089215,), (1377089534,), (1377089588,), (1377089591,), (1377089594,), (1377089597,), (1377089627,), (1377089629,), (1377089649,), (1377090062,), (1377090094,), (1377090220,), (1377090225,), (1377090228,), (1377090232,), (1377090235,), (1377090246,), (1377090252,), (1377090289,), (1377090291,), (1377090293,), (1377090296,), (1377090337,), (1377090315,), (1377090321,), (1377090329,), (1377090332,), (1377090353,), (1377090364,), (1377090373,), (1377090397,), (1377090399,), (1377090448,), (1377090451,), (1377090453,), (1377090456,), (1377090592,), (1377090597,), (1377090600,), (1377090603,), (1377090619,), (1377090623,), (1377090625,), (1377090669,), (1377090671,), (1377090674,), (1377090822,), (1377090824,), (1377090829,), (1377090852,), (1377090853,), (1377090857,), (1377090860,), (1377090863,), (1377090868,), (1377090880,), (1377090895,), (1377090900,), (1377090902,), (1377090906,), (1377090932,), (1377090934,), (1377090945,), (1377091022,), (1377091055,), (1377091084,), (1377091103,), (1377091106,), (1377091134,), (1377091142,), (1377091144,), (1377091152,), (1377091155,), (1377091176,), (1377091181,), (1377091183,), (1377091271,), (1377091279,), (1377091291,), (1377091293,), (1377091297,), (1377091300,), (1377091319,), (1377091325,), (1377091331,), (1377091487,), (1377091479,), (1377091483,), (1377091528,), (1377091533,), (1377091551,), (1377091793,), (1377091796,), (1377091799,), (1377091804,), (1377091809,), (1377091830,), (1377091971,), (1377091976,), (1377091993,), (1377092186,), (1377092215,), (1377092245,), (1377092255,), (1377092260,), (1377092288,), (1377092291,), (1377092292,), (1377092294,), (1377092313,), (1377092609,), (1377092783,), (1377092811,), (1377092847,), (1377092881,), (1377093104,), (1377093552,), (1377093593,), (1377093623,), (1377098951,), (1377097880,), (1377098921,), (1377099969,), (1377101745,), (1377103919,), (1377104002,), (1377104061,), (1377104617,), (1377104846,), (1377104931,), (1377104998,), (1377105056,), (1377105117,), (1377105591,), (1377105595,), (1377105625,), (1377105644,), (1377105650,), (1377105652,), (1377105923,), (1377105940,), (1377105974,), (1377106006,), (1377106039,), (1377106048,), (1377106079,), (1377106081,), (1377106147,), (1377106153,), (1377106182,), (1377106215,), (1377106386,), (1377106446,), (1377106582,), (1377106644,), (1377106776,), (1377106807,), (1377106819,), (1377107205,), (1377107145,), (1377107178,), (1377107202,), (1377107280,), (1377107313,), (1377107496,), (1377107505,), (1377107508,), (1377107511,), (1377107574,), (1377107581,), (1377107583,), (1377107732,), (1377107754,), (1377107758,), (1377107763,), (1377107800,), (1377107805,), (1377107808,), (1377107811,), (1377107813,), (1377107816,), (1377107840,), (1377107856,), (1377107859,), (1377107880,), (1377107896,), (1377107911,), (1377107921,), (1377107932,), (1377107938,), (1377108031,), (1377108139,), (1377108170,), (1377108480,), (1377108521,), (1377108527,), (1377108536,), (1377108904,), (1377108933,), (1377108988,), (1377109048,), (1377109207,), (1377109214,), (1377109217,), (1377109228,), (1377109321,), (1377109324,), (1377109325,), (1377109417,), (1377109422,), (1377109451,), (1377109529,), (1377109534,), (1377109726,), (1377109628,), (1377109659,), (1377109691,), (1377109856,), (1377109858,), (1377109860,), (1377109878,), (1377109881,), (1377109884,), (1377109888,), (1377109892,), (1377109896,), (1377109909,), (1377109914,), (1377109918,), (1377109921,), (1377109943,), (1377109946,), (1377109948,), (1377109951,), (1377109955,), (1377110054,), (1377110086,), (1377110315,), (1377110352,), (1377110389,), (1377110409,), (1377110678,), (1377110710,), (1377110741,), (1377111056,), (1377111088,), (1377111120,), (1377111153,), (1377111437,), (1377111470,), (1377111510,), (1377111541,), (1377111862,), (1377111870,), (1377111872,), (1377111989,), (1377112000,), (1377112023,), (1377112406,), (1377112458,), (1377112518,), (1377112549,), (1377112579,), (1377112601,), (1377112628,), (1377112632,), (1377112638,), (1377112641,), (1377112646,), (1377112894,), (1377112927,), (1377112932,), (1377112935,), (1377112979,), (1377112959,), (1377112961,), (1377112962,), (1377112964,), (1377112971,), (1377113213,), (1377113242,), (1377113387,), (1377113389,), (1377113390,), (1377113392,), (1377113396,), (1377113411,), (1377113414,), (1377113417,), (1377113421,), (1377113447,), (1377113450,), (1377113453,), (1377113456,), (1377113513,), (1377113517,), (1377113519,), (1377113522,), (1377113559,), (1377113578,), (1377113587,), (1377113600,), (1377113615,), (1377113617,), (1377113620,), (1377113625,), (1377113628,), (1377113630,), (1377113636,), (1377113642,), (1377113644,), (1377113647,), (1377113651,), (1377113671,), (1377113675,), (1377113679,), (1377113697,), (1377113701,), (1377113728,), (1377113731,), (1377113734,), (1377113750,), (1377113753,), (1377113755,), (1377113799,), (1377113803,), (1377113809,), (1377113812,), (1377113823,), (1377113826,), (1377113828,), (1377113841,), (1377113843,), (1377113861,), (1377113849,), (1377113853,), (1377113856,), (1377114004,), (1377114037,), (1377114068,), (1377114688,), (1377114744,), (1377114801,), (1377114863,), (1377114923,), (1377114981,), (1377115191,), (1377115252,), (1377115441,), (1377115504,), (1377115567,), (1377115619,), (1377115652,), (1377115885,), (1377115919,), (1377115977,), (1377116034,), (1377116525,), (1377116583,), (1377116642,), (1377116700,), (1377116765,), (1377116824,), (1377117405,), (1377117465,), (1377117529,), (1377117878,), (1377117935,), (1377117982,), (1377118011,), (1377118041,), (1377118537,), (1377118595,), (1377118649,), (1377118727,), (1377118809,), (1377119424,), (1377119474,), (1377119505,), (1377119537,), (1377119567,), (1377119864,), (1377119902,), (1377119933,), (1377119964,), (1377120321,), (1377120338,), (1377120357,), (1377120378,), (1377120501,), (1377120503,), (1377120506,), (1377120576,), (1377120593,), (1377120596,), (1377120602,), (1377120610,), (1377120663,), (1377120666,), (1377120670,), (1377120674,), (1377120678,), (1377120712,), (1377120773,), (1377120777,), (1377120780,), (1377120782,), (1377121053,), (1377120931,), (1377120959,), (1377120991,), (1377121020,), (1377121304,), (1377121341,), (1377122027,), (1377122111,), (1377122173,), (1377122256,), (1377122320,), (1377122866,), (1377122924,), (1377123005,), (1377123070,), (1377123100,), (1377123350,), (1377123380,), (1377123410,), (1377123455,), (1377123994,), (1377124055,), (1377124107,), (1377124143,), (1377124666,), (1377124724,), (1377124785,), (1377124848,), (1377125384,), (1377125414,), (1377125444,), (1377125476,), (1377125535,), (1377125557,), (1377125618,), (1377125629,), (1377125638,), (1377125655,), (1377125697,), (1377125730,), (1377125759,), (1377125789,), (1377125827,), (1377126093,), (1377126153,), (1377126214,), (1377126276,), (1377126337,), (1377126804,), (1377126863,), (1377126942,), (1377126997,), (1377127030,), (1377127064,), (1377127289,), (1377127318,), (1377127347,), (1377127378,), (1377127578,), (1377127580,), (1377127581,), (1377127583,), (1377127587,), (1377127592,), (1377127758,), (1377127790,), (1377127820,), (1377127851,), (1377127887,), (1377127993,), (1377128023,), (1377128053,), (1377128246,), (1377128223,), (1377128225,), (1377128228,), (1377128638,), (1377128672,), (1377128709,), (1377128750,), (1377128789,), (1377129111,), (1377129142,), (1377129174,), (1377129206,), (1377129238,), (1377129269,), (1377129331,), (1377129333,), (1377129335,), (1377129339,), (1377129346,), (1377129349,), (1377129353,), (1377129378,), (1377129535,), (1377129568,), (1377129598,), (1377129611,), (1377129617,), (1377129642,), (1377129923,), (1377129954,), (1377129984,), (1377130018,), (1377130050,), (1377130382,), (1377130417,), (1377130926,), (1377130992,), (1377131047,), (1377131091,), (1377131124,), (1377131164,), (1377131413,), (1377131442,), (1377131471,), (1377131503,), (1377131537,), (1377131567,), (1377132039,), (1377132102,), (1377132164,), (1377132224,), (1377132307,), (1377132347,), (1377132551,), (1377132579,), (1377132641,), (1377132693,), (1377133131,), (1377133171,), (1377133216,), (1377133258,), (1377133297,), (1377133611,), (1377133645,), (1377133697,), (1377133758,), (1377133816,), (1377133876,), (1377134068,), (1377134125,), (1377134182,), (1377134236,), (1377134341,), (1377134374,), (1377134405,), (1377134436,), (1377134781,), (1377134817,), (1377134844,), (1377134847,), (1377134870,), (1377134882,), (1377135255,), (1377135189,), (1377135828,), (1377135864,), (1377135898,), (1377135927,), (1377135956,), (1377136111,), (1377136123,), (1377136124,), (1377136126,), (1377136628,), (1377136660,), (1377136693,), (1377136723,), (1377137050,), (1377137078,), (1377137107,), (1377137136,), (1377137183,), (1377137203,), (1377137225,), (1377137521,), (1377137539,), (1377137541,), (1377137545,), (1377137558,), (1377137591,), (1377137620,), (1377138382,), (1377138419,), (1377138451,), (1377138638,), (1377138668,), (1377138698,), (1377138729,), (1377138960,), (1377138863,), (1377138904,), (1377139355,), (1377139396,), (1377140210,), (1377140328,), (1377140441,), (1377140543,), (1377140633,), (1377140705,), (1377141154,), (1377141234,), (1377141300,), (1377141360,), (1377141421,), (1377141481,), (1377141928,), (1377141989,), (1377142047,), (1377142110,), (1377142539,), (1377142571,), (1377142634,), (1377143177,), (1377143209,), (1377143251,), (1377143266,), (1377143270,), (1377143275,), (1377143352,), (1377143386,), (1377143416,), (1377143449,), (1377143744,), (1377143775,), (1377143805,), (1377143836,), (1377144138,), (1377144142,), (1377144146,), (1377144150,), (1377144155,), (1377144159,), (1377144518,), (1377144524,), (1377144542,), (1377144569,), (1377144574,), (1377144600,), (1377144617,), (1377144619,), (1377144622,), (1377144625,), (1377144629,), (1377144632,), (1377144845,), (1377144962,), (1377145074,), (1377145359,), (1377145616,), (1377145752,), (1377146297,), (1377146439,), (1377146476,), (1377146510,), (1377146540,), (1377146570,), (1377146669,), (1377146699,), (1377146759,), (1377146816,), (1377146876,), (1377146937,), (1377147458,), (1377147462,), (1377147487,), (1377147499,), (1377147557,), (1377147567,), (1377149461,), (1377149565,), (1377149654,), (1377149745,), (1377149829,), (1377149908,), (1377149963,), (1377149999,), (1377150028,), (1377147202,), (1377147203,), (1377147318,), (1377147325,), (1377147428,), (1377147431,), (1377148069,), (1377148082,), (1377148099,), (1377148110,), (1377148124,), (1377148149,), (1377148225,), (1377148253,), (1377148282,), (1377148314,), (1377148347,), (1377148377,), (1377148479,), (1377148579,), (1377148692,), (1377148782,), (1377148893,), (1377148978,), (1377149372,), (1377150774,), (1377151569,), (1377151933,), (1377152660,), (1377152665,), (1377152668,), (1377152671,), (1377152674,), (1377152678,), (1377152892,), (1377152922,), (1377152954,), (1377152989,), (1377153021,), (1377153289,), (1377153321,), (1377153350,), (1377153383,), (1377153415,), (1377153445,), (1377153679,), (1377153708,), (1377153737,), (1377153755,), (1377153758,), (1377153871,), (1377153929,), (1377153987,), (1377154053,), (1377154113,), (1377154579,), (1377154476,), (1377154516,), (1377154549,), (1377154888,), (1377154924,), (1377154957,), (1377154990,), (1377155022,), (1377155053,), (1377155244,), (1377155246,), (1377155249,), (1377155253,), (1377155257,), (1377155260,), (1377155266,), (1377155267,), (1377155273,), (1377155292,), (1377155474,), (1377155537,), (1377155594,), (1377155653,), (1377155758,), (1377155924,), (1377155983,), (1377156026,), (1377156058,), (1377156096,), (1377156157,), (1377156333,), (1377156337,), (1377156471,), (1377156561,), (1377156590,), (1377156616,), (1377156623,), (1377156645,), (1377156715,), (1377156744,), (1377156774,), (1377156808,), (1377156843,), (1377157087,), (1377157117,), (1377157151,), (1377157181,), (1377157725,), (1377157844,), (1377157955,), (1377158086,), (1377158189,), (1377158719,), (1377158722,), (1377158724,), (1377158728,), (1377158732,), (1377158736,), (1377159253,), (1377159295,), (1377159324,), (1377159407,), (1377159437,), (1377159855,), (1377159886,), (1377159922,), (1377159954,), (1377159989,), (1377160020,), (1377160288,), (1377160326,), (1377160359,), (1377160391,), (1377160421,), (1377160451,), (1377160555,), (1377160587,), (1377160620,), (1377160663,), (1377160696,), (1377160728,), (1377160827,), (1377160857,), (1377160888,), (1377160919,), (1377160959,), (1377160966,), (1377161237,), (1377161372,), (1377163123,), (1377163171,), (1377163184,), (1377163686,), (1377161027,), (1377161060,), (1377161092,), (1377161125,), (1377162517,), (1377162576,), (1377162639,), (1377162699,), (1377162754,), (1377162772,), (1377162821,), (1377162945,), (1377163076,), (1377163292,), (1377163322,), (1377163351,), (1377163424,), (1377163561,), (1377164121,), (1377164373,), (1377164395,), (1377164540,), (1377184565,), (1377184580,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14082025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25990076]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] map_info['map_portfolio_photo'] : {25990076: [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196]} final : True mtd_id 4302 list_pids : [1377039741, 1377039402, 1377039394, 1377039089, 1377039081, 1377039064, 1377039061, 1377039057, 1377039053, 1377039049, 1377039045, 1377039023, 1377039018, 1377038949, 1377038947, 1377038944, 1377038935, 1377038843, 1377038840, 1377038837, 1377038760, 1377038757, 1377038407, 1377038287, 1377038283, 1377038278, 1377038276, 1377038274, 1377038272, 1377038259, 1377038254, 1377038250, 1377038247, 1377038246, 1377038230, 1377038226, 1377038224, 1377038222, 1377038218, 1377038196] Looping around the photos to save general results len do output : 1 /25990076Didn'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, '3546001') ('4302', '25990076', '1377039741', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001') ('4302', None, None, None, None, None, None, None, '3546001') ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '25990076', 'None', None, None, None, None, '3546001'), ('4302', '25990076', '1377039741', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039402', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039394', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039089', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039081', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039064', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039061', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039057', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039053', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039049', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039045', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039023', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377039018', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038949', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038947', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038944', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038935', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038843', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038840', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038837', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038760', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038757', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038407', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038287', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038283', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038278', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038276', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038274', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038272', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038259', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038254', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038250', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038247', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038246', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038230', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038226', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038224', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038222', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038218', None, None, None, None, None, '3546001'), ('4302', '25990076', '1377038196', None, None, None, None, None, '3546001')] time used for this insertion : 0.07784414291381836 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.640136241912842 time spend to save output : 0.07832717895507812 total time spend for step 5 : 9.71846342086792 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 (3546001) 3.14user 2.36system 0:30.52elapsed 18%CPU (0avgtext+0avgdata 171972maxresident)k 16inputs+33632outputs (1major+89707minor)pagefaults 0swaps