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 : 1417164 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 (4021595) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4021595) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310070 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4021595'] with mtr_portfolio_ids : ['28310070'] and first list_photo_ids : [] new path : /proc/1417164/ Name: python3 Umask: 0002 State: R (running) Tgid: 1417164 Ngid: 0 Pid: 1417164 PPid: 1417163 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1417164 NSpid: 1417164 NSpgid: 1416715 NSsid: 1416715 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98336 kB VmRSS: 98336 kB RssAnon: 59908 kB RssFile: 38428 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 572 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: 47 nonvoluntary_ctxt_switches: 113 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1417164', 'Ngid': '0', 'Pid': '1417164', 'PPid': '1417163', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1417164', 'NSpid': '1417164', 'NSpgid': '1416715', 'NSsid': '1416715', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98336 kB', 'VmRSS': '98336 kB', 'RssAnon': '59908 kB', 'RssFile': '38428 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '572 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': '47', 'nonvoluntary_ctxt_switches': '113'} ('datou_batch_current', '1417164', '1106908', '0', '1106884', '865636', '98336', b'', 'marlene', '4021595') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (28310070) 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 (4021595 ) ) 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 (28310070) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1393123810, 'portfolio_id': 28310070}, {'photo_id': 1393123321, 'portfolio_id': 28310070}, {'photo_id': 1393123287, 'portfolio_id': 28310070}, {'photo_id': 1393123254, 'portfolio_id': 28310070}, {'photo_id': 1393123219, 'portfolio_id': 28310070}, {'photo_id': 1393123184, 'portfolio_id': 28310070}, {'photo_id': 1393122832, 'portfolio_id': 28310070}, {'photo_id': 1393122777, 'portfolio_id': 28310070}, {'photo_id': 1393122744, 'portfolio_id': 28310070}, {'photo_id': 1393122706, 'portfolio_id': 28310070}, {'photo_id': 1393122202, 'portfolio_id': 28310070}, {'photo_id': 1393122172, 'portfolio_id': 28310070}, {'photo_id': 1393122144, 'portfolio_id': 28310070}, {'photo_id': 1393122016, 'portfolio_id': 28310070}, {'photo_id': 1393121969, 'portfolio_id': 28310070}, {'photo_id': 1393121918, 'portfolio_id': 28310070}, {'photo_id': 1393121905, 'portfolio_id': 28310070}, {'photo_id': 1393121721, 'portfolio_id': 28310070}, {'photo_id': 1393121684, 'portfolio_id': 28310070}, {'photo_id': 1393121622, 'portfolio_id': 28310070}, {'photo_id': 1393121563, 'portfolio_id': 28310070}, {'photo_id': 1393121184, 'portfolio_id': 28310070}, {'photo_id': 1393121138, 'portfolio_id': 28310070}, {'photo_id': 1393121074, 'portfolio_id': 28310070}, {'photo_id': 1393120999, 'portfolio_id': 28310070}, {'photo_id': 1393120910, 'portfolio_id': 28310070}, {'photo_id': 1393120075, 'portfolio_id': 28310070}, {'photo_id': 1393120044, 'portfolio_id': 28310070}, {'photo_id': 1393119754, 'portfolio_id': 28310070}, {'photo_id': 1393119714, 'portfolio_id': 28310070}, {'photo_id': 1393119584, 'portfolio_id': 28310070}, {'photo_id': 1393119434, 'portfolio_id': 28310070}, {'photo_id': 1393119432, 'portfolio_id': 28310070}, {'photo_id': 1393119149, 'portfolio_id': 28310070}, {'photo_id': 1393119147, 'portfolio_id': 28310070}, {'photo_id': 1393119138, 'portfolio_id': 28310070}, {'photo_id': 1393118580, 'portfolio_id': 28310070}, {'photo_id': 1393118545, 'portfolio_id': 28310070}, {'photo_id': 1393118494, 'portfolio_id': 28310070}, {'photo_id': 1393117512, 'portfolio_id': 28310070}, {'photo_id': 1393117399, 'portfolio_id': 28310070}] map_portfolio_id_photo_id: {28310070: [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399]} ##### 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.015486717224121094 #### 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 Sat Nov 8 05:51: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 (28310070) 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 : 28310070 get user id for portfolio 28310070 get sub ptf for main ptf 28310070, type 3726 and hashtags ['papier', 'flou', 'Carton_gris', 'plastique', 'cartonnette', 'environnement', 'autre_refus', 'Carton_brun', 'metal', 'Teint_Dans_La_Masse', 'mal_croppe', 'kraft'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28310070 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Carton_gris','plastique','cartonnette','environnement','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','mal_croppe','kraft')) 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`=28310070 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Carton_gris','plastique','cartonnette','environnement','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','mal_croppe','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28310070, 'sub_port_id': 28310089, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161307, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'cartonnette': {'main_port_id': 28310070, 'sub_port_id': 28310090, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161308, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'metal': {'main_port_id': 28310070, 'sub_port_id': 28310091, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161309, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'kraft': {'main_port_id': 28310070, 'sub_port_id': 28310092, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161310, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'mal_croppe': {'main_port_id': 28310070, 'sub_port_id': 28310093, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161311, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'autre_refus': {'main_port_id': 28310070, 'sub_port_id': 28310094, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161312, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 28310070, 'sub_port_id': 28310095, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161313, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'plastique': {'main_port_id': 28310070, 'sub_port_id': 28310096, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161314, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'Carton_gris': {'main_port_id': 28310070, 'sub_port_id': 28310097, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161315, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'papier': {'main_port_id': 28310070, 'sub_port_id': 28310098, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161316, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'Carton_brun': {'main_port_id': 28310070, 'sub_port_id': 28310099, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161317, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}, 'flou': {'main_port_id': 28310070, 'sub_port_id': 28310100, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161318, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28310089 , 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=28310070 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 (28310089) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310090 , 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=28310070 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 (28310090) result : ((1393119444,), (1393119731,), (1393120745,), (1393120747,), (1393122574,), (1393123150,), (1393123152,), (1393124015,), (1393124515,), (1393140837,), (1393140838,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310091 , 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=28310070 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 (28310091) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310092 , 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=28310070 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 (28310092) result : ((1393119767,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310093 , 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=28310070 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 (28310093) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310094 , 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=28310070 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 (28310094) result : ((1393122014,), (1393122015,), (1393122553,), (1393123130,), (1393140831,), (1393140832,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310095 , 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=28310070 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 (28310095) result : ((1393118955,), (1393118958,), (1393119443,), (1393119684,), (1393122001,), (1393122004,), (1393122008,), (1393122010,), (1393122355,), (1393122357,), (1393123091,), (1393124011,), (1393141709,), (1393141711,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310096 , 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=28310070 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 (28310096) result : ((1393119752,), (1393119755,), (1393119757,), (1393122377,), (1393122587,), (1393122589,), (1393123169,), (1393140853,), (1393141735,), (1393141738,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310097 , 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=28310070 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 (28310097) result : ((1393118987,), (1393118990,), (1393118993,), (1393118996,), (1393119708,), (1393119710,), (1393119712,), (1393119715,), (1393119717,), (1393119720,), (1393120730,), (1393120732,), (1393120734,), (1393120736,), (1393123092,), (1393123093,), (1393123139,), (1393124012,), (1393124013,), (1393124014,), (1393140834,), (1393141720,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310098 , 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=28310070 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 (28310098) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310099 , 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=28310070 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 (28310099) result : ((1393119011,), (1393119445,), (1393119740,), (1393122026,), (1393122027,), (1393122028,), (1393122029,), (1393122031,), (1393122367,), (1393123094,), (1393123160,), (1393140845,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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 28310100 , 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=28310070 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 (28310100) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28310070) result : ((1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,)) 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`=28310070 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Carton_gris','plastique','cartonnette','environnement','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','mal_croppe','kraft')) 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`=28310070 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Carton_gris','plastique','cartonnette','environnement','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','mal_croppe','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28310070, 'sub_port_id': 28310101, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161319, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'cartonnette': {'main_port_id': 28310070, 'sub_port_id': 28310102, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161320, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'metal': {'main_port_id': 28310070, 'sub_port_id': 28310103, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161321, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'kraft': {'main_port_id': 28310070, 'sub_port_id': 28310104, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161322, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'mal_croppe': {'main_port_id': 28310070, 'sub_port_id': 28310105, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161323, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'autre_refus': {'main_port_id': 28310070, 'sub_port_id': 28310106, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161324, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 28310070, 'sub_port_id': 28310107, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161325, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'plastique': {'main_port_id': 28310070, 'sub_port_id': 28310108, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161326, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'Carton_gris': {'main_port_id': 28310070, 'sub_port_id': 28310109, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161327, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'papier': {'main_port_id': 28310070, 'sub_port_id': 28310110, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161328, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'Carton_brun': {'main_port_id': 28310070, 'sub_port_id': 28310111, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161329, 'last_updated_at': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 15, 49, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}, 'flou': {'main_port_id': 28310070, 'sub_port_id': 28310112, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19161330, 'last_updated_at': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 7, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 7, 15, 49, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310101,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310089 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310102,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310090 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310103,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310091 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310104,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310092 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310105,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310093 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310106,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310094 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310107,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310095 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310108,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310096 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310109,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310097 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310110,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310098 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310111,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310099 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28310112,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28310100 lien utilise dans velours : https://marlene.fotonower.com/velours/28310101,28310102,28310103,28310104,28310105,28310106,28310107,28310108,28310109,28310110,28310111,28310112?tags=environnement,cartonnette,metal,kraft,mal_croppe,autre_refus,Teint_Dans_La_Masse,plastique,Carton_gris,papier,Carton_brun,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28310070]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] map_info['map_portfolio_photo'] : {28310070: [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399]} final : False mtd_id 4302 list_pids : [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] Looping around the photos to save general results len do output : 1 /28310070. 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, '4021595') ('4302', '28310070', '1393123810', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '28310070', "{'environnement': 28310089, 'cartonnette': 28310090, 'metal': 28310091, 'kraft': 28310092, 'mal_croppe': 28310093, 'autre_refus': 28310094, 'Teint_Dans_La_Masse': 28310095, 'plastique': 28310096, 'Carton_gris': 28310097, 'papier': 28310098, 'Carton_brun': 28310099, 'flou': 28310100}", None, None, None, None, '4021595'), ('4302', '28310070', '1393123810', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595')] time used for this insertion : 0.02595233917236328 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5890910625457764 time spend to save output : 0.026404857635498047 total time spend for step 1 : 1.6154959201812744 step2:final Sat Nov 8 05:51: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 (28310070) 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 28310070 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1393117512,1393117399,1393118580,1393118545,1393118494,1393119149,1393119147,1393119138,1393119434,1393119432,1393119754,1393119714,1393119584,1393120075,1393120044,1393121184,1393121138,1393121074,1393120999,1393120910,1393121721,1393121684,1393121622,1393121563,1393122016,1393121969,1393121918,1393121905,1393122202,1393122172,1393122144,1393122832,1393122777,1393122744,1393122706,1393123321,1393123287,1393123254,1393123219,1393123184,1393123810); 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([28310070]) Inside saveOutput : final : False verbose : True original output for save of step final : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} new output for save of step final : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] map_info['map_portfolio_photo'] : {28310070: [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399]} final : False mtd_id 4302 list_pids : [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] Looping around the photos to save general results len do output : 41 /1393123810.Didn't retrieve data . /1393123321.Didn't retrieve data . /1393123287.Didn't retrieve data . /1393123254.Didn't retrieve data . /1393123219.Didn't retrieve data . /1393123184.Didn't retrieve data . /1393122832.Didn't retrieve data . /1393122777.Didn't retrieve data . /1393122744.Didn't retrieve data . /1393122706.Didn't retrieve data . /1393122202.Didn't retrieve data . /1393122172.Didn't retrieve data . /1393122144.Didn't retrieve data . /1393122016.Didn't retrieve data . /1393121969.Didn't retrieve data . /1393121918.Didn't retrieve data . /1393121905.Didn't retrieve data . /1393121721.Didn't retrieve data . /1393121684.Didn't retrieve data . /1393121622.Didn't retrieve data . /1393121563.Didn't retrieve data . /1393121184.Didn't retrieve data . /1393121138.Didn't retrieve data . /1393121074.Didn't retrieve data . /1393120999.Didn't retrieve data . /1393120910.Didn't retrieve data . /1393120075.Didn't retrieve data . /1393120044.Didn't retrieve data . /1393119754.Didn't retrieve data . /1393119714.Didn't retrieve data . /1393119584.Didn't retrieve data . /1393119434.Didn't retrieve data . /1393119432.Didn't retrieve data . /1393119149.Didn't retrieve data . /1393119147.Didn't retrieve data . /1393119138.Didn't retrieve data . /1393118580.Didn't retrieve data . /1393118545.Didn't retrieve data . /1393118494.Didn't retrieve data . /1393117512.Didn't retrieve data . /1393117399.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, '4021595') ('4302', '28310070', '1393123810', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 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', '28310070', '1393123810', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393123321', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393123287', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393123254', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393123219', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393123184', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122832', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122777', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122744', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122706', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122202', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122172', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122144', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393122016', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121969', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121918', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121905', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121721', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121684', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121622', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121563', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121184', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121138', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393121074', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393120999', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393120910', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393120075', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393120044', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119754', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119714', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119584', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119434', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119432', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119149', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119147', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393119138', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393118580', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393118545', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393118494', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393117512', '0.06137910996230766', None, None, None, None, '4021595'), ('4302', '28310070', '1393117399', '0.06137910996230766', None, None, None, None, '4021595')] time used for this insertion : 0.019458532333374023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0669100284576416 time spend to save output : 0.02106189727783203 total time spend for step 2 : 0.08797192573547363 step3:velours_tree Sat Nov 8 05:51: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 : {28310070: [{'environnement': 28310089, 'cartonnette': 28310090, 'metal': 28310091, 'kraft': 28310092, 'mal_croppe': 28310093, 'autre_refus': 28310094, 'Teint_Dans_La_Masse': 28310095, 'plastique': 28310096, 'Carton_gris': 28310097, 'papier': 28310098, 'Carton_brun': 28310099, 'flou': 28310100}]} input_args_next_step : {28310070: ()} output_args : {28310070: [{'environnement': 28310089, 'cartonnette': 28310090, 'metal': 28310091, 'kraft': 28310092, 'mal_croppe': 28310093, 'autre_refus': 28310094, 'Teint_Dans_La_Masse': 28310095, 'plastique': 28310096, 'Carton_gris': 28310097, 'papier': 28310098, 'Carton_brun': 28310099, 'flou': 28310100}]} args : 28310070 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 : ({'environnement': 28310089, 'cartonnette': 28310090, 'metal': 28310091, 'kraft': 28310092, 'mal_croppe': 28310093, 'autre_refus': 28310094, 'Teint_Dans_La_Masse': 28310095, 'plastique': 28310096, 'Carton_gris': 28310097, 'papier': 28310098, 'Carton_brun': 28310099, 'flou': 28310100},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28310070) 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([28310070]) 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.35561084747314453 time spend to save output : 8.535385131835938e-05 total time spend for step 3 : 0.3556962013244629 step4:send_mail_cod Sat Nov 8 05:51:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} input_args_next_step : {1393123810: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393123810 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393123321 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393123287 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393123254 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393123219 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393123184 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122832 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122777 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122744 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122706 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122202 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122172 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122144 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393122016 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121969 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121918 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121905 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121721 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121684 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121622 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121563 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121184 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121138 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393121074 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393120999 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393120910 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393120075 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393120044 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119754 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119714 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119584 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119434 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119432 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119149 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119147 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393119138 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393118580 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393118545 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393118494 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393117512 depend.output_id : 0 input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ()} output_args : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',)} args : 1393117399 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 : {28310070: [{'environnement': 28310089, 'cartonnette': 28310090, 'metal': 28310091, 'kraft': 28310092, 'mal_croppe': 28310093, 'autre_refus': 28310094, 'Teint_Dans_La_Masse': 28310095, 'plastique': 28310096, 'Carton_gris': 28310097, 'papier': 28310098, 'Carton_brun': 28310099, 'flou': 28310100}]} input_args_next_step : {1393123810: ('0.06137910996230766',), 1393123321: ('0.06137910996230766',), 1393123287: ('0.06137910996230766',), 1393123254: ('0.06137910996230766',), 1393123219: ('0.06137910996230766',), 1393123184: ('0.06137910996230766',), 1393122832: ('0.06137910996230766',), 1393122777: ('0.06137910996230766',), 1393122744: ('0.06137910996230766',), 1393122706: ('0.06137910996230766',), 1393122202: ('0.06137910996230766',), 1393122172: ('0.06137910996230766',), 1393122144: ('0.06137910996230766',), 1393122016: ('0.06137910996230766',), 1393121969: ('0.06137910996230766',), 1393121918: ('0.06137910996230766',), 1393121905: ('0.06137910996230766',), 1393121721: ('0.06137910996230766',), 1393121684: ('0.06137910996230766',), 1393121622: ('0.06137910996230766',), 1393121563: ('0.06137910996230766',), 1393121184: ('0.06137910996230766',), 1393121138: ('0.06137910996230766',), 1393121074: ('0.06137910996230766',), 1393120999: ('0.06137910996230766',), 1393120910: ('0.06137910996230766',), 1393120075: ('0.06137910996230766',), 1393120044: ('0.06137910996230766',), 1393119754: ('0.06137910996230766',), 1393119714: ('0.06137910996230766',), 1393119584: ('0.06137910996230766',), 1393119434: ('0.06137910996230766',), 1393119432: ('0.06137910996230766',), 1393119149: ('0.06137910996230766',), 1393119147: ('0.06137910996230766',), 1393119138: ('0.06137910996230766',), 1393118580: ('0.06137910996230766',), 1393118545: ('0.06137910996230766',), 1393118494: ('0.06137910996230766',), 1393117512: ('0.06137910996230766',), 1393117399: ('0.06137910996230766',), 28310070: ()} output_args : {28310070: [{'environnement': 28310089, 'cartonnette': 28310090, 'metal': 28310091, 'kraft': 28310092, 'mal_croppe': 28310093, 'autre_refus': 28310094, 'Teint_Dans_La_Masse': 28310095, 'plastique': 28310096, 'Carton_gris': 28310097, 'papier': 28310098, 'Carton_brun': 28310099, 'flou': 28310100}]} args : 28310070 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 :42, first value : ('0.06137910996230766',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28310070) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1393123810,1393123321,1393123287,1393123254,1393123219,1393123184,1393122832,1393122777,1393122744,1393122706,1393122202,1393122172,1393122144,1393122016,1393121969,1393121918,1393121905,1393121721,1393121684,1393121622,1393121563,1393121184,1393121138,1393121074,1393120999,1393120910,1393120075,1393120044,1393119754,1393119714,1393119584,1393119434,1393119432,1393119149,1393119147,1393119138,1393118580,1393118545,1393118494,1393117512,1393117399) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1393117399 begin to download photo : 1393119434 begin to download photo : 1393121138 begin to download photo : 1393122016 begin to download photo : 1393123219 download finish for photo 1393122016 begin to download photo : 1393122144 download finish for photo 1393119434 begin to download photo : 1393119584 download finish for photo 1393117399 begin to download photo : 1393117512 download finish for photo 1393121138 begin to download photo : 1393121184 download finish for photo 1393123219 begin to download photo : 1393123254 download finish for photo 1393119584 begin to download photo : 1393119714 download finish for photo 1393117512 begin to download photo : 1393118494 download finish for photo 1393122144 begin to download photo : 1393122172 download finish for photo 1393121184 begin to download photo : 1393121563 download finish for photo 1393123254 begin to download photo : 1393123287 download finish for photo 1393119714 begin to download photo : 1393119754 download finish for photo 1393118494 begin to download photo : 1393118545 download finish for photo 1393122172 begin to download photo : 1393122202 download finish for photo 1393123287 begin to download photo : 1393123321 download finish for photo 1393121563 begin to download photo : 1393121622 download finish for photo 1393122202 begin to download photo : 1393122706 download finish for photo 1393119754 begin to download photo : 1393120044 download finish for photo 1393118545 begin to download photo : 1393118580 download finish for photo 1393121622 begin to download photo : 1393121684 download finish for photo 1393123321 begin to download photo : 1393123810 download finish for photo 1393122706 begin to download photo : 1393122744 download finish for photo 1393118580 begin to download photo : 1393119138 download finish for photo 1393121684 begin to download photo : 1393121721 download finish for photo 1393120044 begin to download photo : 1393120075 download finish for photo 1393123810 download finish for photo 1393119138 begin to download photo : 1393119147 download finish for photo 1393122744 begin to download photo : 1393122777 download finish for photo 1393121721 begin to download photo : 1393121905 download finish for photo 1393120075 begin to download photo : 1393120910 download finish for photo 1393121905 begin to download photo : 1393121918 download finish for photo 1393119147 begin to download photo : 1393119149 download finish for photo 1393122777 begin to download photo : 1393122832 download finish for photo 1393120910 begin to download photo : 1393120999 download finish for photo 1393121918 begin to download photo : 1393121969 download finish for photo 1393122832 begin to download photo : 1393123184 download finish for photo 1393120999 begin to download photo : 1393121074 download finish for photo 1393121969 download finish for photo 1393119149 begin to download photo : 1393119432 download finish for photo 1393123184 download finish for photo 1393121074 download finish for photo 1393119432 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 : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P28310070_08-11-2025_05_51_33.pdf 28310090 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310090 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393119444: '1762527066_2614840_1393118580_b39d6be2b60cbcbefa798b1ba88cff05_rle_crop_4024866478_0.png', 1393119731: '1762527087_2615337_1393118545_f2afee6d3a56e939eb1d197d4fbb7431_rle_crop_4024867245_0.png', 1393120745: '1762527206_2625045_1393119714_d2a839074ca6055da02c6ee133e93b62_rle_crop_4024871499_0.png', 1393120747: '1762527206_2625045_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00_rle_crop_4024871516_0.png', 1393122574: '1762527445_2636383_1393121905_23000a9be5d6c17d6714b1b3c58985bc_rle_crop_4024880830_0.png', 1393123150: '1762527566_2644097_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887422_0.png', 1393123152: '1762527566_2644097_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887438_0.png', 1393124015: '1762527785_2700282_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2_rle_crop_4024896267_0.png', 1393124515: '1762527907_2709229_1393123810_17a6c73435eaccbcf943d705b33ecb7d_rle_crop_4024900558_0.png', 1393140837: '1762530507_2832022_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887422_0.png', 1393140838: '1762530507_2832022_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887438_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/5d4ef2143a682cf64f2c49a39805e56c_83449133.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/097948c0251f137c748d8d8a94f2ad29_84314355.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/069facb6423727a459af731e1c7b828a_47724466.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/52e289611f2c65efb21588b1c31a5fea_76366530.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/5b46d66e4c7db78ab649e4135f37f136_37067322.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/3d565a0f92b91af9cbf9351bb7327472_50856252.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/92ad11f36df41b29a34ff509e0f3a842_70096852.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/0b9e3f929ad3bb172402ed32a4925292_73344544.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/72ab71e39e42f5cf4e4202dae9c7432c_42536975.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/3d565a0f92b91af9cbf9351bb7327472_20503836.png change filename to text .imagette283100901762577493/ imagette283100901762577493/1762527566_2644097_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887438_0.png.png imagette283100901762577493/1762527785_2700282_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2_rle_crop_4024896267_0.png.png imagette283100901762577493/1762530507_2832022_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887422_0.png.png imagette283100901762577493/1762527066_2614840_1393118580_b39d6be2b60cbcbefa798b1ba88cff05_rle_crop_4024866478_0.png.png imagette283100901762577493/1762527206_2625045_1393119714_d2a839074ca6055da02c6ee133e93b62_rle_crop_4024871499_0.png.png imagette283100901762577493/1762527445_2636383_1393121905_23000a9be5d6c17d6714b1b3c58985bc_rle_crop_4024880830_0.png.png imagette283100901762577493/1762527907_2709229_1393123810_17a6c73435eaccbcf943d705b33ecb7d_rle_crop_4024900558_0.png.png imagette283100901762577493/1762527566_2644097_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887422_0.png.png imagette283100901762577493/1762527206_2625045_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00_rle_crop_4024871516_0.png.png imagette283100901762577493/1762527087_2615337_1393118545_f2afee6d3a56e939eb1d197d4fbb7431_rle_crop_4024867245_0.png.png imagette283100901762577493/1762530507_2832022_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887438_0.png.png imagette283100911762577494/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/92ad11f36df41b29a34ff509e0f3a842_9988535.png imagette283100901762577493 28310091 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310091 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette283100911762577494 28310092 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310092 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393119767: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867213_0.png'} change filename to text .imagette283100921762577494/ imagette283100921762577494/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867213_0.png.png imagette283100931762577494/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/99bdebb62e28e2b4f92a41d8840d3c10_61326256.png imagette283100921762577494 28310093 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310093 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette283100931762577494 28310094 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310094 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393122014: '1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874485_0.png', 1393122015: '1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874479_0.png', 1393122553: '1762527445_2636383_1393121969_a508dc1ccde6bf9036ab8c5d4f3bcd43_rle_crop_4024880814_0.png', 1393123130: '1762527566_2644097_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887367_0.png', 1393140831: '1762530507_2832022_1393123321_636b7f4981dd6c439129d0f21a40645d_rle_crop_4025028832_0.png', 1393140832: '1762530507_2832022_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887367_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/a195ba3e00b8abf717854096ded4e5f3_63642004.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/6c4c940839288a11d92394d645aa84d1_73618546.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/c375bc3650a3fbfffdcea784d34b4a52_49855780.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/86415960bbe1bf687d48462a85cfde5d_631022.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/561603056118a37b489772451cc77c45_69933084.png change filename to text .imagette283100941762577494/ imagette283100941762577494/1762530507_2832022_1393123321_636b7f4981dd6c439129d0f21a40645d_rle_crop_4025028832_0.png.png imagette283100941762577494/1762527445_2636383_1393121969_a508dc1ccde6bf9036ab8c5d4f3bcd43_rle_crop_4024880814_0.png.png imagette283100941762577494/1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874485_0.png.png imagette283100941762577494/1762527566_2644097_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887367_0.png.png imagette283100941762577494/1762530507_2832022_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887367_0.png.png imagette283100941762577494/1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874479_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/86415960bbe1bf687d48462a85cfde5d_94083990.png imagette283100941762577494 28310096 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310096 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393119752: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867218_0.png', 1393119755: '1762527087_2615337_1393118545_f2afee6d3a56e939eb1d197d4fbb7431_rle_crop_4024867254_0.png', 1393119757: '1762527087_2615337_1393118494_3981c8cda3557daa22cb3aa37f7c7369_rle_crop_4024867270_0.png', 1393122377: '1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880595_0.png', 1393122587: '1762527445_2636383_1393121969_a508dc1ccde6bf9036ab8c5d4f3bcd43_rle_crop_4024880816_0.png', 1393122589: '1762527445_2636383_1393121918_f6b3b4a8a383665a0a4357e001a452c4_rle_crop_4024880825_0.png', 1393123169: '1762527566_2644097_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887427_0.png', 1393140853: '1762530507_2832022_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887427_0.png', 1393141735: '1762530627_2839360_1393121684_3e906e8670d72cd463082e56484b9c21_rle_crop_4025038355_0.png', 1393141738: '1762530627_2839360_1393121622_f74e1d117e122dfa8ee13719c21088bd_rle_crop_4025038402_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/1007a61de781e06254585405c618d1ca_17627599.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/562ab75ae427e24acb3c420e958eb8c2_51365889.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/c3f7b8cf53ad43268fbb1757bc51b1d9_96184851.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/443edadb470a97e3007fb5b89da70110_67593093.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/ad1f91d65c3735475784cf8620cd8471_71841788.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4a3e0b5ce968698e5d9026bcc54ad375_61853077.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/cdfdd0f949fc9a0a6304cc06a711bbd2_25730849.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/cdfdd0f949fc9a0a6304cc06a711bbd2_6834292.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/e81c214527cc1c5d60a623def96a3db6_82756543.png change filename to text .imagette283100961762577495/ imagette283100961762577495/1762530627_2839360_1393121622_f74e1d117e122dfa8ee13719c21088bd_rle_crop_4025038402_0.png.png imagette283100961762577495/1762527566_2644097_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887427_0.png.png imagette283100961762577495/1762527087_2615337_1393118545_f2afee6d3a56e939eb1d197d4fbb7431_rle_crop_4024867254_0.png.png imagette283100961762577495/1762530627_2839360_1393121684_3e906e8670d72cd463082e56484b9c21_rle_crop_4025038355_0.png.png imagette283100961762577495/1762527087_2615337_1393118494_3981c8cda3557daa22cb3aa37f7c7369_rle_crop_4024867270_0.png.png imagette283100961762577495/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867218_0.png.png imagette283100961762577495/1762527445_2636383_1393121918_f6b3b4a8a383665a0a4357e001a452c4_rle_crop_4024880825_0.png.png imagette283100961762577495/1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880595_0.png.png imagette283100961762577495/1762530507_2832022_1393122744_56f10644204fe052b470ba950d1e0887_rle_crop_4024887427_0.png.png imagette283100961762577495/1762527445_2636383_1393121969_a508dc1ccde6bf9036ab8c5d4f3bcd43_rle_crop_4024880816_0.png.png imagette283101001762577496/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/9317f2eb9f4b9dcbe61ae51620e186f1_89119994.png imagette283100961762577495 28310100 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310100 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette283101001762577496 28310095 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310095 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393118955: '1762526965_2608914_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd_rle_crop_4024857951_0.png', 1393118958: '1762526965_2608914_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd_rle_crop_4024857956_0.png', 1393119443: '1762527066_2614840_1393118580_b39d6be2b60cbcbefa798b1ba88cff05_rle_crop_4024866477_0.png', 1393119684: '1762527087_2615337_1393118494_3981c8cda3557daa22cb3aa37f7c7369_rle_crop_4024867269_0.png', 1393122001: '1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874484_0.png', 1393122004: '1762527325_2629823_1393121074_76f24f2782ac0f362da9f860c48a6b4e_rle_crop_4024874497_0.png', 1393122008: '1762527325_2629823_1393120999_27e51426e370edb6a13e5cd29096ed36_rle_crop_4024874506_0.png', 1393122010: '1762527325_2629823_1393120910_76b202093b9d7feca1757234f675edb6_rle_crop_4024874531_0.png', 1393122355: '1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880592_0.png', 1393122357: '1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880593_0.png', 1393123091: '1762527546_2643574_1393119138_fd69f0acca5d63eab8878f5c85157917_rle_crop_4024887167_0.png', 1393124011: '1762527785_2700282_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2_rle_crop_4024896265_0.png', 1393141709: '1762530627_2839360_1393122016_281c3c9f9661dfb6d1fbb269b9fd64fc_rle_crop_4025038337_0.png', 1393141711: '1762530627_2839360_1393121622_f74e1d117e122dfa8ee13719c21088bd_rle_crop_4025038406_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/19a55bbc54a8cb059f7f5b3b4a662551_83207222.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/dc45d1c3aedc9d3f17d933cfe99f1b5d_83973377.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/413452702392801afb5d5bac09425478_49989522.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/ced927870d60bfd69a9002a308d9f5bd_74902668.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4358f5cd3e08f66d249180a553c83252_10290216.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/b3cb40bd3085b497fc0381bdab701bdb_81070550.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/36b99e732d52e7c086bfa15f6260d48a_45472132.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d1d237559cadc29bd540a1416d719a8f_34687930.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7b11825ab39d3b98a8d398582e0e3041_15888352.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/be62182cd8aad986945be8b32126e523_56985672.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/2f41fc65eabfdee8d81bd51f5f8ba56e_15219810.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/dc25628148acd769d9d06173210172fa_85942933.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/08b40979804b8b4e1246ce29d075fe9f_28131935.png change filename to text .imagette283100951762577496/ imagette283100951762577496/1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880593_0.png.png imagette283100951762577496/1762527785_2700282_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2_rle_crop_4024896265_0.png.png imagette283100951762577496/1762527325_2629823_1393120999_27e51426e370edb6a13e5cd29096ed36_rle_crop_4024874506_0.png.png imagette283100951762577496/1762530627_2839360_1393122016_281c3c9f9661dfb6d1fbb269b9fd64fc_rle_crop_4025038337_0.png.png imagette283100951762577496/1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880592_0.png.png imagette283100951762577496/1762527325_2629823_1393121074_76f24f2782ac0f362da9f860c48a6b4e_rle_crop_4024874497_0.png.png imagette283100951762577496/1762530627_2839360_1393121622_f74e1d117e122dfa8ee13719c21088bd_rle_crop_4025038406_0.png.png imagette283100951762577496/1762526965_2608914_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd_rle_crop_4024857951_0.png.png imagette283100951762577496/1762527066_2614840_1393118580_b39d6be2b60cbcbefa798b1ba88cff05_rle_crop_4024866477_0.png.png imagette283100951762577496/1762527087_2615337_1393118494_3981c8cda3557daa22cb3aa37f7c7369_rle_crop_4024867269_0.png.png imagette283100951762577496/1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874484_0.png.png imagette283100951762577496/1762527325_2629823_1393120910_76b202093b9d7feca1757234f675edb6_rle_crop_4024874531_0.png.png imagette283100951762577496/1762527546_2643574_1393119138_fd69f0acca5d63eab8878f5c85157917_rle_crop_4024887167_0.png.png imagette283100951762577496/1762526965_2608914_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd_rle_crop_4024857956_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/0de09c98553cebc5919f091e6d33285d_3800903.png imagette283100951762577496 28310097 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310097 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393120732: '1762527206_2625045_1393119714_d2a839074ca6055da02c6ee133e93b62_rle_crop_4024871494_0.png', 1393141720: '1762530627_2839360_1393121684_3e906e8670d72cd463082e56484b9c21_rle_crop_4025038357_0.png', 1393140834: '1762530507_2832022_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887363_0.png', 1393124014: '1762527785_2700282_1393122144_96117044c111b121f53ba913cf2fd7fc_rle_crop_4024896288_0.png', 1393124013: '1762527785_2700282_1393122172_3e393088ea26103cb87cc81ec1bb2e6f_rle_crop_4024896282_0.png', 1393124012: '1762527785_2700282_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2_rle_crop_4024896263_0.png', 1393123139: '1762527566_2644097_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887363_0.png', 1393123093: '1762527546_2643574_1393119147_e33e782d7086e28075afcda903724eab_rle_crop_4024887093_0.png', 1393123092: '1762527546_2643574_1393119147_e33e782d7086e28075afcda903724eab_rle_crop_4024887092_0.png', 1393120736: '1762527206_2625045_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00_rle_crop_4024871514_0.png', 1393120734: '1762527206_2625045_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00_rle_crop_4024871512_0.png', 1393118987: '1762526965_2608914_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd_rle_crop_4024857953_0.png', 1393120730: '1762527206_2625045_1393119714_d2a839074ca6055da02c6ee133e93b62_rle_crop_4024871498_0.png', 1393119720: '1762527087_2615337_1393118494_3981c8cda3557daa22cb3aa37f7c7369_rle_crop_4024867265_0.png', 1393119717: '1762527087_2615337_1393118545_f2afee6d3a56e939eb1d197d4fbb7431_rle_crop_4024867249_0.png', 1393119715: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867222_0.png', 1393119712: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867211_0.png', 1393119710: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867214_0.png', 1393119708: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867219_0.png', 1393118996: '1762526965_2608914_1393117399_f0c165c3fdad4c67de1da0371ca3a97b_rle_crop_4024857970_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/a5adc1e2ae9bb11caf6947036f925620_22574987.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/553ea5350a01f9e24c4b56810ae93499_80599861.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/def7f6b7b6eb7148c1a028520a714767_55877911.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/f27261fcdc14a1dec7c3c5c8eba3b397_11968947.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/816fd975a0d9881d7163d81eefeeecfd_6842157.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/6eb1dc2dc485fbd97e4595fe31991c06_44240367.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/def7f6b7b6eb7148c1a028520a714767_91975222.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/9b9a96bb56fc0586923750c8ea0d12fe_21753621.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/08ffb21163f156171592397c650eb9c3_73352191.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/b2cf2988fe3b383902ffc4c3a1633763_60883673.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/ee725e4a4b678f54b819903538ca5324_95543269.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/6daf1010ba71490d19f0643f908283bc_10593069.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/068e449de12550a18bd036293521750f_39564646.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/3a85e3f31780141a563b633688dd44a2_71239380.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4f3e472ee4ccc9b0a87f10b6a1bf13c2_42100664.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/06d6b45b2b6a06afb7961af01c998a0c_38591635.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/0014f150fe97389a430808c2bf851f01_62299687.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/0ed78879590f2ce10920464e13ae667f_99637652.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/bf8f61d142ac367e42b46a3b6e6aeda3_81867007.png change filename to text .imagette283100971762577497/ imagette283100971762577497/1762527566_2644097_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887363_0.png.png imagette283100971762577497/1762527206_2625045_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00_rle_crop_4024871514_0.png.png imagette283100971762577497/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867219_0.png.png imagette283100971762577497/1762527546_2643574_1393119147_e33e782d7086e28075afcda903724eab_rle_crop_4024887092_0.png.png imagette283100971762577497/1762526965_2608914_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd_rle_crop_4024857953_0.png.png imagette283100971762577497/1762527785_2700282_1393122172_3e393088ea26103cb87cc81ec1bb2e6f_rle_crop_4024896282_0.png.png imagette283100971762577497/1762527206_2625045_1393119714_d2a839074ca6055da02c6ee133e93b62_rle_crop_4024871498_0.png.png imagette283100971762577497/1762527087_2615337_1393118494_3981c8cda3557daa22cb3aa37f7c7369_rle_crop_4024867265_0.png.png imagette283100971762577497/1762527785_2700282_1393122144_96117044c111b121f53ba913cf2fd7fc_rle_crop_4024896288_0.png.png imagette283100971762577497/1762527206_2625045_1393119714_d2a839074ca6055da02c6ee133e93b62_rle_crop_4024871494_0.png.png imagette283100971762577497/1762527785_2700282_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2_rle_crop_4024896263_0.png.png imagette283100971762577497/1762527087_2615337_1393118545_f2afee6d3a56e939eb1d197d4fbb7431_rle_crop_4024867249_0.png.png imagette283100971762577497/1762526965_2608914_1393117399_f0c165c3fdad4c67de1da0371ca3a97b_rle_crop_4024857970_0.png.png imagette283100971762577497/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867214_0.png.png imagette283100971762577497/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867211_0.png.png imagette283100971762577497/1762530627_2839360_1393121684_3e906e8670d72cd463082e56484b9c21_rle_crop_4025038357_0.png.png imagette283100971762577497/1762527546_2643574_1393119147_e33e782d7086e28075afcda903724eab_rle_crop_4024887093_0.png.png imagette283100971762577497/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867222_0.png.png imagette283100971762577497/1762527206_2625045_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00_rle_crop_4024871512_0.png.png imagette283100971762577497/1762530507_2832022_1393122777_559d83b2869666938277357a513014a8_rle_crop_4024887363_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/312988fff58c39f6eca2298b27bd80f0_26530888.png imagette283100971762577497 28310099 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310099 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393119011: '1762526965_2608914_1393117399_f0c165c3fdad4c67de1da0371ca3a97b_rle_crop_4024857969_0.png', 1393119445: '1762527066_2614840_1393118580_b39d6be2b60cbcbefa798b1ba88cff05_rle_crop_4024866479_0.png', 1393119740: '1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867223_0.png', 1393122026: '1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874489_0.png', 1393122027: '1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874483_0.png', 1393122028: '1762527325_2629823_1393121074_76f24f2782ac0f362da9f860c48a6b4e_rle_crop_4024874501_0.png', 1393122029: '1762527325_2629823_1393121074_76f24f2782ac0f362da9f860c48a6b4e_rle_crop_4024874496_0.png', 1393122031: '1762527325_2629823_1393120999_27e51426e370edb6a13e5cd29096ed36_rle_crop_4024874508_0.png', 1393122367: '1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880586_0.png', 1393123094: '1762527546_2643574_1393119147_e33e782d7086e28075afcda903724eab_rle_crop_4024887095_0.png', 1393123160: '1762527566_2644097_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887442_0.png', 1393140845: '1762530507_2832022_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887442_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/5bff572ec8eb2f4517ba8ef54a1f22c4_20862885.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7bdb11f7cc45ecd4f3428bc065d77bf5_57714166.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/2a95357d0488782d4147b05014177ba1_37962497.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/4bfeb29c5eeb332634eb7f0fe11700c4_7229620.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/6346efb03b0be5ed681eb48856acc554_64440572.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/2249d6a5659e41d17cf572bf67172748_45575067.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/3ad4625c347a43e91c79af980d26f08a_65311353.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/94724e08c9e9a921ac4d86a1c56d4e50_1386886.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7cca643e9d9d1573a835001c7e954311_39523914.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/ba06565fcc2ff3519a08ea1f364a43e6_83446750.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d4fe957d05f9ecc645f4bfa5a0e02895_27389526.png change filename to text .imagette283100991762577500/ imagette283100991762577500/1762527566_2644097_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887442_0.png.png imagette283100991762577500/1762527066_2614840_1393118580_b39d6be2b60cbcbefa798b1ba88cff05_rle_crop_4024866479_0.png.png imagette283100991762577500/1762530507_2832022_1393122706_1a8d0661439baaf54d5a7ec2430a065a_rle_crop_4024887442_0.png.png imagette283100991762577500/1762527325_2629823_1393120999_27e51426e370edb6a13e5cd29096ed36_rle_crop_4024874508_0.png.png imagette283100991762577500/1762527546_2643574_1393119147_e33e782d7086e28075afcda903724eab_rle_crop_4024887095_0.png.png imagette283100991762577500/1762527325_2629823_1393121074_76f24f2782ac0f362da9f860c48a6b4e_rle_crop_4024874501_0.png.png imagette283100991762577500/1762526965_2608914_1393117399_f0c165c3fdad4c67de1da0371ca3a97b_rle_crop_4024857969_0.png.png imagette283100991762577500/1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874489_0.png.png imagette283100991762577500/1762527087_2615337_1393119149_47d65ed8427898093a2f990e79852bc0_rle_crop_4024867223_0.png.png imagette283100991762577500/1762527325_2629823_1393121074_76f24f2782ac0f362da9f860c48a6b4e_rle_crop_4024874496_0.png.png imagette283100991762577500/1762527325_2629823_1393121138_98e0b18ced0185a0aec4177bc3f734e2_rle_crop_4024874483_0.png.png imagette283100991762577500/1762527427_2635954_1393121184_715f3e2ce5ab0107c4472ee108a43e65_rle_crop_4024880586_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/d4fe957d05f9ecc645f4bfa5a0e02895_66870641.png imagette283100991762577500 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28310070 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28310101,28310102,28310103,28310104,28310105,28310106,28310107,28310108,28310109,28310110,28310111,28310112?tags=environnement,cartonnette,metal,kraft,mal_croppe,autre_refus,Teint_Dans_La_Masse,plastique,Carton_gris,papier,Carton_brun,flou your option no_mail is active, we will not send the real mail to your client args[1393123810] : ('0.06137910996230766',) no score found for photo 1393123810 We are sending mail with results at report@fotonower.com args[1393123321] : ('0.06137910996230766',) no score found for photo 1393123321 We are sending mail with results at report@fotonower.com args[1393123287] : ('0.06137910996230766',) no score found for photo 1393123287 We are sending mail with results at report@fotonower.com args[1393123254] : ('0.06137910996230766',) no score found for photo 1393123254 We are sending mail with results at report@fotonower.com args[1393123219] : ('0.06137910996230766',) no score found for photo 1393123219 We are sending mail with results at report@fotonower.com args[1393123184] : ('0.06137910996230766',) no score found for photo 1393123184 We are sending mail with results at report@fotonower.com args[1393122832] : ('0.06137910996230766',) no score found for photo 1393122832 We are sending mail with results at report@fotonower.com args[1393122777] : ('0.06137910996230766',) no score found for photo 1393122777 We are sending mail with results at report@fotonower.com args[1393122744] : ('0.06137910996230766',) no score found for photo 1393122744 We are sending mail with results at report@fotonower.com args[1393122706] : ('0.06137910996230766',) no score found for photo 1393122706 We are sending mail with results at report@fotonower.com args[1393122202] : ('0.06137910996230766',) no score found for photo 1393122202 We are sending mail with results at report@fotonower.com args[1393122172] : ('0.06137910996230766',) no score found for photo 1393122172 We are sending mail with results at report@fotonower.com args[1393122144] : ('0.06137910996230766',) no score found for photo 1393122144 We are sending mail with results at report@fotonower.com args[1393122016] : ('0.06137910996230766',) no score found for photo 1393122016 We are sending mail with results at report@fotonower.com args[1393121969] : ('0.06137910996230766',) no score found for photo 1393121969 We are sending mail with results at report@fotonower.com args[1393121918] : ('0.06137910996230766',) no score found for photo 1393121918 We are sending mail with results at report@fotonower.com args[1393121905] : ('0.06137910996230766',) no score found for photo 1393121905 We are sending mail with results at report@fotonower.com args[1393121721] : ('0.06137910996230766',) no score found for photo 1393121721 We are sending mail with results at report@fotonower.com args[1393121684] : ('0.06137910996230766',) no score found for photo 1393121684 We are sending mail with results at report@fotonower.com args[1393121622] : ('0.06137910996230766',) no score found for photo 1393121622 We are sending mail with results at report@fotonower.com args[1393121563] : ('0.06137910996230766',) no score found for photo 1393121563 We are sending mail with results at report@fotonower.com args[1393121184] : ('0.06137910996230766',) no score found for photo 1393121184 We are sending mail with results at report@fotonower.com args[1393121138] : ('0.06137910996230766',) no score found for photo 1393121138 We are sending mail with results at report@fotonower.com args[1393121074] : ('0.06137910996230766',) no score found for photo 1393121074 We are sending mail with results at report@fotonower.com args[1393120999] : ('0.06137910996230766',) no score found for photo 1393120999 We are sending mail with results at report@fotonower.com args[1393120910] : ('0.06137910996230766',) no score found for photo 1393120910 We are sending mail with results at report@fotonower.com args[1393120075] : ('0.06137910996230766',) no score found for photo 1393120075 We are sending mail with results at report@fotonower.com args[1393120044] : ('0.06137910996230766',) no score found for photo 1393120044 We are sending mail with results at report@fotonower.com args[1393119754] : ('0.06137910996230766',) no score found for photo 1393119754 We are sending mail with results at report@fotonower.com args[1393119714] : ('0.06137910996230766',) no score found for photo 1393119714 We are sending mail with results at report@fotonower.com args[1393119584] : ('0.06137910996230766',) no score found for photo 1393119584 We are sending mail with results at report@fotonower.com args[1393119434] : ('0.06137910996230766',) no score found for photo 1393119434 We are sending mail with results at report@fotonower.com args[1393119432] : ('0.06137910996230766',) no score found for photo 1393119432 We are sending mail with results at report@fotonower.com args[1393119149] : ('0.06137910996230766',) no score found for photo 1393119149 We are sending mail with results at report@fotonower.com args[1393119147] : ('0.06137910996230766',) no score found for photo 1393119147 We are sending mail with results at report@fotonower.com args[1393119138] : ('0.06137910996230766',) no score found for photo 1393119138 We are sending mail with results at report@fotonower.com args[1393118580] : ('0.06137910996230766',) no score found for photo 1393118580 We are sending mail with results at report@fotonower.com args[1393118545] : ('0.06137910996230766',) no score found for photo 1393118545 We are sending mail with results at report@fotonower.com args[1393118494] : ('0.06137910996230766',) no score found for photo 1393118494 We are sending mail with results at report@fotonower.com args[1393117512] : ('0.06137910996230766',) no score found for photo 1393117512 We are sending mail with results at report@fotonower.com args[1393117399] : ('0.06137910996230766',) no score found for photo 1393117399 We are sending mail with results at report@fotonower.com refus_total : 0.06137910996230766 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310070 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_P28310070_08-11-2025_05_51_33.pdf results_Auto_P28310070_08-11-2025_05_51_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310070_08-11-2025_05_51_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','28310070','results_Auto_P28310070_08-11-2025_05_51_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310070_08-11-2025_05_51_33.pdf','pdf','','0.51','0.06137910996230766') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28310070]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] map_info['map_portfolio_photo'] : {28310070: [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399]} final : False mtd_id 4302 list_pids : [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] 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, '4021595') ('4302', '28310070', '1393123810', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595') 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', '28310070', '1393123810', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595')] time used for this insertion : 0.01726818084716797 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.861965656280518 time spend to save output : 0.017771482467651367 total time spend for step 4 : 11.879737138748169 step5:split_time_score Sat Nov 8 05:51:43 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 : ['28310070'] 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 : [('28310070',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28310070) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1393123219: {'path': 'temp/1762577491_1417164_1393123219_2de21dc06d2d822bc0af7b6eecb29339.jpg', 'extension': 'jpg'}, 1393123254: {'path': 'temp/1762577491_1417164_1393123254_190f328e2dc69765e75183fb5356a619.jpg', 'extension': 'jpg'}, 1393123287: {'path': 'temp/1762577491_1417164_1393123287_58c277123e9562cdb2aa08b37a9d6ed5.jpg', 'extension': 'jpg'}, 1393123321: {'path': 'temp/1762577491_1417164_1393123321_636b7f4981dd6c439129d0f21a40645d.jpg', 'extension': 'jpg'}, 1393123810: {'path': 'temp/1762577491_1417164_1393123810_17a6c73435eaccbcf943d705b33ecb7d.jpg', 'extension': 'jpg'}, 1393121138: {'path': 'temp/1762577491_1417164_1393121138_98e0b18ced0185a0aec4177bc3f734e2.jpg', 'extension': 'jpg'}, 1393121184: {'path': 'temp/1762577491_1417164_1393121184_715f3e2ce5ab0107c4472ee108a43e65.jpg', 'extension': 'jpg'}, 1393121563: {'path': 'temp/1762577491_1417164_1393121563_fc97d75b313f7640ba3783f045e0245d.jpg', 'extension': 'jpg'}, 1393121622: {'path': 'temp/1762577491_1417164_1393121622_f74e1d117e122dfa8ee13719c21088bd.jpg', 'extension': 'jpg'}, 1393121684: {'path': 'temp/1762577491_1417164_1393121684_3e906e8670d72cd463082e56484b9c21.jpg', 'extension': 'jpg'}, 1393121721: {'path': 'temp/1762577491_1417164_1393121721_dca07eb7c84f289afef3049356ca918f.jpg', 'extension': 'jpg'}, 1393121905: {'path': 'temp/1762577491_1417164_1393121905_23000a9be5d6c17d6714b1b3c58985bc.jpg', 'extension': 'jpg'}, 1393121918: {'path': 'temp/1762577491_1417164_1393121918_f6b3b4a8a383665a0a4357e001a452c4.jpg', 'extension': 'jpg'}, 1393121969: {'path': 'temp/1762577491_1417164_1393121969_a508dc1ccde6bf9036ab8c5d4f3bcd43.jpg', 'extension': 'jpg'}, 1393122016: {'path': 'temp/1762577491_1417164_1393122016_281c3c9f9661dfb6d1fbb269b9fd64fc.jpg', 'extension': 'jpg'}, 1393122144: {'path': 'temp/1762577491_1417164_1393122144_96117044c111b121f53ba913cf2fd7fc.jpg', 'extension': 'jpg'}, 1393122172: {'path': 'temp/1762577491_1417164_1393122172_3e393088ea26103cb87cc81ec1bb2e6f.jpg', 'extension': 'jpg'}, 1393122202: {'path': 'temp/1762577491_1417164_1393122202_98bfbbcad9e32ac21bbc801309448528.jpg', 'extension': 'jpg'}, 1393122706: {'path': 'temp/1762577491_1417164_1393122706_1a8d0661439baaf54d5a7ec2430a065a.jpg', 'extension': 'jpg'}, 1393122744: {'path': 'temp/1762577491_1417164_1393122744_56f10644204fe052b470ba950d1e0887.jpg', 'extension': 'jpg'}, 1393122777: {'path': 'temp/1762577491_1417164_1393122777_559d83b2869666938277357a513014a8.jpg', 'extension': 'jpg'}, 1393122832: {'path': 'temp/1762577491_1417164_1393122832_6714df9eed98ec2aa61d9d49d3baa8b2.jpg', 'extension': 'jpg'}, 1393123184: {'path': 'temp/1762577491_1417164_1393123184_87c09f689b59707c83b3494fc0f1caab.jpg', 'extension': 'jpg'}, 1393119434: {'path': 'temp/1762577491_1417164_1393119434_0884e1ba24bd53457cec0091cbd3c18b.jpg', 'extension': 'jpg'}, 1393119584: {'path': 'temp/1762577491_1417164_1393119584_a3a0c7ee65f9d6d451c3c2770d3ede00.jpg', 'extension': 'jpg'}, 1393119714: {'path': 'temp/1762577491_1417164_1393119714_d2a839074ca6055da02c6ee133e93b62.jpg', 'extension': 'jpg'}, 1393119754: {'path': 'temp/1762577491_1417164_1393119754_a879ca6d01d67e8bf3a3a33b1ff88d02.jpg', 'extension': 'jpg'}, 1393120044: {'path': 'temp/1762577491_1417164_1393120044_138b65b56c2ded3a46dbd28fc95924da.jpg', 'extension': 'jpg'}, 1393120075: {'path': 'temp/1762577491_1417164_1393120075_8d76a27d191a22ff2302161d9d1a12f1.jpg', 'extension': 'jpg'}, 1393120910: {'path': 'temp/1762577491_1417164_1393120910_76b202093b9d7feca1757234f675edb6.jpg', 'extension': 'jpg'}, 1393120999: {'path': 'temp/1762577491_1417164_1393120999_27e51426e370edb6a13e5cd29096ed36.jpg', 'extension': 'jpg'}, 1393121074: {'path': 'temp/1762577491_1417164_1393121074_76f24f2782ac0f362da9f860c48a6b4e.jpg', 'extension': 'jpg'}, 1393117399: {'path': 'temp/1762577491_1417164_1393117399_f0c165c3fdad4c67de1da0371ca3a97b.jpg', 'extension': 'jpg'}, 1393117512: {'path': 'temp/1762577491_1417164_1393117512_7e0f8a8ff568f691ed5fc452e410b1bd.jpg', 'extension': 'jpg'}, 1393118494: {'path': 'temp/1762577491_1417164_1393118494_3981c8cda3557daa22cb3aa37f7c7369.jpg', 'extension': 'jpg'}, 1393118545: {'path': 'temp/1762577491_1417164_1393118545_f2afee6d3a56e939eb1d197d4fbb7431.jpg', 'extension': 'jpg'}, 1393118580: {'path': 'temp/1762577491_1417164_1393118580_b39d6be2b60cbcbefa798b1ba88cff05.jpg', 'extension': 'jpg'}, 1393119138: {'path': 'temp/1762577491_1417164_1393119138_fd69f0acca5d63eab8878f5c85157917.jpg', 'extension': 'jpg'}, 1393119147: {'path': 'temp/1762577491_1417164_1393119147_e33e782d7086e28075afcda903724eab.jpg', 'extension': 'jpg'}, 1393119149: {'path': 'temp/1762577491_1417164_1393119149_47d65ed8427898093a2f990e79852bc0.jpg', 'extension': 'jpg'}, 1393119432: {'path': 'temp/1762577491_1417164_1393119432_ba1794a89bd01afdbdfb9de6b436156d.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 = 28310070; (('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 28310070 group by h (('15', 41),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28310070 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 (28310070) 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 (28310070) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07112025 28310070 Nombre de photos uploadées : 41 / 23040 (0%) 07112025 28310070 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 07112025 28310070 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1393117512, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/7e0f8a8ff568f691ed5fc452e410b1bd.jpg', 'username': None, 'uploaded_at': 1762526887, 'text': 'image_07112025_15_47_34_010142m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1393117399, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/f0c165c3fdad4c67de1da0371ca3a97b.jpg', 'username': None, 'uploaded_at': 1762526887, 'text': 'image_07112025_15_47_44_010142m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1393118580, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/b39d6be2b60cbcbefa798b1ba88cff05.jpg', 'username': None, 'uploaded_at': 1762526947, 'text': 'image_07112025_15_47_54_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1393118545, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/7/f2afee6d3a56e939eb1d197d4fbb7431.jpg', 'username': None, 'uploaded_at': 1762526947, 'text': 'image_07112025_15_48_13_009130m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018856525421142578 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28310070, '2025-11-07' ) 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-11-07' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2530388,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20929765701293945 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= 2530388 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28281663, 'dashboard_result_id': 17026879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_08-11-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28281671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281675, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28282061, 'dashboard_result_id': 17026880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282061_08-11-2025_05_35_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282076, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28282493, 'dashboard_result_id': 17026881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282493_08-11-2025_05_35_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282526, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28282879, 'dashboard_result_id': 17026882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282879_08-11-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282896, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28283926, 'dashboard_result_id': 17026883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28283926_08-11-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28283944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28283945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28283946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28283947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28283948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28283949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28283950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28283951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28283952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28283953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28283954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28283955, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28284433, 'dashboard_result_id': 17026884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284433_08-11-2025_05_36_11.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28284438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28284439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28284440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28284441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28284442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28284443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28284444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28284445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28284446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28284447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28284448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28284449, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28284864, 'dashboard_result_id': 17026885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284864_08-11-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28284877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28284878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28284879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28284880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28284881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28284882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28284883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28284884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28284885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28284886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28284887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28284888, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28285404, 'dashboard_result_id': 17026886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285404_08-11-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28285405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28285406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28285407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28285408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28285409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28285410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28285411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28285412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28285413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28285414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28285415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28285416, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28285972, 'dashboard_result_id': 17026887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285972_08-11-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28285977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28285978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28285979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28285980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28285981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28285982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28285983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28285984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28285985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28285986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28285987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28285988, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28286424, 'dashboard_result_id': 17026888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286424_08-11-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28286434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28286435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28286436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28286437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28286438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28286439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28286440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28286441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28286442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28286443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28286444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28286445, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28286911, 'dashboard_result_id': 17026889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286911_08-11-2025_05_38_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28286944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28286945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28286946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28286947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28286948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28286949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28286950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28286951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28286952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28286953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28286955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28286956, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28287492, 'dashboard_result_id': 17026890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28287492_08-11-2025_05_38_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28287517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28287518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28287519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28287520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28287521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28287522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28287523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28287524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28287525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28287526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28287527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28287528, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28288007, 'dashboard_result_id': 17026891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288007_08-11-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28288012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28288013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28288014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28288015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28288016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28288017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28288018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28288019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28288020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28288021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28288022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28288023, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28288467, 'dashboard_result_id': 17026892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288467_08-11-2025_05_39_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28288492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28288493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28288494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28288495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28288496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28288497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28288498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28288499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28288500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28288501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28288502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28288503, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28289357, 'dashboard_result_id': 17026893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289357_08-11-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28289363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28289364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28289365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28289366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28289367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28289368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28289369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28289370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28289371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28289372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28289373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28289374, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28289750, 'dashboard_result_id': 17026894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289750_08-11-2025_05_39_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28289755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28289756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28289757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28289758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28289759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28289760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28289761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28289762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28289763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28289764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28289765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28289766, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28290275, 'dashboard_result_id': 17026895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290275_08-11-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28290277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28290278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28290279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28290280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28290281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28290282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28290283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28290284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28290285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28290286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28290287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28290288, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28290672, 'dashboard_result_id': 17026896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290672_08-11-2025_05_41_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28290677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28290678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28290679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28290680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28290681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28290682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28290683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28290684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28290685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28290686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28290687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28290688, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28291027, 'dashboard_result_id': 17026897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291027_08-11-2025_05_41_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28291051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28291052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28291053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28291054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28291055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28291056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28291057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28291058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28291059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28291060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28291061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28291062, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28291656, 'dashboard_result_id': 17026898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291656_08-11-2025_05_41_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28291669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28291670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28291671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28291672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28291673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28291674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28291675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28291676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28291677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28291678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28291679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28291680, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28292160, 'dashboard_result_id': 17026899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292160_08-11-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28292185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28292186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28292187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28292188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28292189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28292190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28292191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28292192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28292193, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28292194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28292195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28292196, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28292616, 'dashboard_result_id': 17026900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292616_08-11-2025_05_42_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28292626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28292627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28292628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28292629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28292630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28292631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28292632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28292633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28292634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28292635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28292636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28292637, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28293148, 'dashboard_result_id': 17026901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293148_08-11-2025_05_42_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28293152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28293153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28293154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28293155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28293156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28293157, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28293158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28293159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28293160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28293161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28293162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28293163, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28293906, 'dashboard_result_id': 17026902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293906_08-11-2025_05_43_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28293909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28293910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28293911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28293912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28293913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28293914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28293915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28293916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28293917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28293918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28293919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28293920, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28294381, 'dashboard_result_id': 17026903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294381_08-11-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28294383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28294384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28294385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28294386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28294387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28294388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28294389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28294390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28294391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28294392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28294393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28294394, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28294932, 'dashboard_result_id': 17026904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294932_08-11-2025_05_43_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28294938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28294939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28294940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28294941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28294942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28294944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28294945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28294946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28294947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28294948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28294949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28294950, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28295475, 'dashboard_result_id': 17026905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28295475_08-11-2025_05_44_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28295492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28295493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28295494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28295495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28295496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28295497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28295498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28295499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28295500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28295501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28295502, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28295503, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28296108, 'dashboard_result_id': 17026906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296108_08-11-2025_05_44_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28296152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28296153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28296154, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28296155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28296156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28296157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28296158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28296159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28296160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28296161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28296162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28296163, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28296762, 'dashboard_result_id': 17026907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296762_08-11-2025_05_45_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28296801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28296802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28296803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28296804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28296805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28296806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28296807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28296808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28296809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28296810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28296811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28296812, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28297390, 'dashboard_result_id': 17026908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28297390_08-11-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28297471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28297472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28297473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28297474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28297475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28297476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28297477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28297478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28297479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28297480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28297481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28297482, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28298769, 'dashboard_result_id': 17026909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298769_08-11-2025_05_45_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28298801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28298802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28298803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28298804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28298805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28298806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28298807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28298808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28298809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28298810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28298811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28298812, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28299301, 'dashboard_result_id': 17026910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299301_08-11-2025_05_46_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28299316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28299317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28299318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28299319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28299320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28299321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28299323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28299324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28299325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28299326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28299327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28299328, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28299744, 'dashboard_result_id': 17026911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299744_08-11-2025_05_46_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28299785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28299786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28299787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28299788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28299789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28299790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28299791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28299792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28299793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28299794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28299795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28299796, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28300271, 'dashboard_result_id': 17026912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300271_08-11-2025_05_46_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28300303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28300304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28300305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28300306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28300307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28300308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28300309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28300310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28300311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28300312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28300313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28300314, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28300829, 'dashboard_result_id': 17026913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300829_08-11-2025_05_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28300865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28300866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28300867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28300868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28300869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28300870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28300871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28300872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28300873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28300874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28300875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28300876, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28301414, 'dashboard_result_id': 17026914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301414_08-11-2025_05_47_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28301418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28301419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28301420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28301421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28301422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28301423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28301424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28301425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28301426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28301427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28301428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28301429, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28301853, 'dashboard_result_id': 17026915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301853_08-11-2025_05_47_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28301906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28301907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28301908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28301909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28301910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28301911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28301912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28301913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28301914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28301915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28301916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28301917, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28302605, 'dashboard_result_id': 17026916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28302605_08-11-2025_05_47_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28302609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28302610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28302611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28302612, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28302613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28302614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28302615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28302616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28302617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28302618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28302619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28302620, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28303360, 'dashboard_result_id': 17026917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303360_08-11-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28303363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28303364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28303365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28303366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28303367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28303368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28303369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28303370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28303371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28303372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28303373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28303374, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28303548, 'dashboard_result_id': 17026918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303548_08-11-2025_05_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28303555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28303556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28303557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28303558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28303559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28303560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28303561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28303562, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28303563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28303564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28303565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28303566, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28304084, 'dashboard_result_id': 17026919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304084_08-11-2025_05_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28304088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28304089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28304090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28304091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28304092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28304093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28304094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28304095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28304096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28304097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28304098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28304099, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28306060, 'dashboard_result_id': 17026920, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306060_08-11-2025_05_49_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28306062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28306063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28306064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28306065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28306066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28306067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28306068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28306069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28306070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28306071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28306072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28306073, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28306403, 'dashboard_result_id': 17026921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306403_08-11-2025_05_50_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28306433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28306434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28306435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28306436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28306437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28306438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28306439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28306440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28306441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28306442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28306443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28306444, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28307002, 'dashboard_result_id': 17026922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307002_08-11-2025_05_50_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28307007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307018, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28307458, 'dashboard_result_id': 17026923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307458_08-11-2025_05_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28307492, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307498, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28307873, 'dashboard_result_id': 17026924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307873_08-11-2025_05_51_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28307894, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28308316, 'dashboard_result_id': 17026925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28308316_07-11-2025_15_16_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28308346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28308347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28308348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28308349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28308350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28308351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28308352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28308353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28308354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28308355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28308356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28308357, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28310070, 'dashboard_result_id': 17026926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310070_08-11-2025_05_51_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28310089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28310090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28310091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28310092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28310093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28310094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28310095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28310096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28310097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28310098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28310099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28310100, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28310846, 'dashboard_result_id': 17026927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310846_07-11-2025_16_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28310860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28310861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28310862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28310863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28310864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28310865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28310866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28310867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28310868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28310869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28310870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28310871, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28311675, 'dashboard_result_id': 17026928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28311675_07-11-2025_16_34_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28311711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28311712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28311713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28311714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28311715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28311716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28311717, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28311718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28311719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28311720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28311721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28311722, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28313170, 'dashboard_result_id': 17026929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28313170_07-11-2025_16_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28313195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28313196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28313197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28313198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28313199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28313200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28313201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28313202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28313203, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28313204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28313205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28313206, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28314461, 'dashboard_result_id': 17026930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28314461_07-11-2025_17_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28314523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28314524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28314525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28314526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28314527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28314528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28314529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28314530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28314532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28314533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28314534, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28315582, 'dashboard_result_id': 17026931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28315582_07-11-2025_17_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28315627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28315628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28315629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28315631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28315632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28315633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28315635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28315636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28315637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28315639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28315640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28315641, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28316494, 'dashboard_result_id': 17026932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28316494_07-11-2025_18_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28316535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28316536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28316537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28316538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28316539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28316540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28316541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28316542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28316543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28316544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28316545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28316546, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28318620, 'dashboard_result_id': 17026933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28318620_07-11-2025_18_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28318632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28318633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28318634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28318635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28318636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28318637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28318638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28318639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28318640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28318641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28318642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28318643, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28319269, 'dashboard_result_id': 17026934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28319269_07-11-2025_18_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28319316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28319317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28319318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28319319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28319320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28319321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28319322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28319323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28319324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28319325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28319326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28319327, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28320006, 'dashboard_result_id': 17026935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320006_07-11-2025_18_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28320053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28320054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28320055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28320056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28320057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28320058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28320059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28320060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28320061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28320062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28320063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28320064, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28320801, 'dashboard_result_id': 17026936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320801_07-11-2025_19_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28320890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28320891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28320892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28320893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28320894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28320895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28320896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28320897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28320898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28320899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28320900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28320901, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28321466, 'dashboard_result_id': 17026937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28321466_07-11-2025_19_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28321569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28321570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28321571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28321572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28321573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28321574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28321575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28321576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28321577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28321578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28321579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28321580, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28322540, 'dashboard_result_id': 17026938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28322540_07-11-2025_19_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28322570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28322571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28322572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28322573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28322574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28322575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28322576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28322577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28322578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28322579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28322580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28322581, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28323312, 'dashboard_result_id': 17026939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28323312_07-11-2025_19_49_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28323371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28323372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28323373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28323374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28323375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28323376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28323377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28323378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28323379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28323380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28323381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28323382, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28324232, 'dashboard_result_id': 17026940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28324232_07-11-2025_20_02_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28324261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28324263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28324265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28324267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28324270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28324272, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28324274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28324276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28324279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28324281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28324283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28324285, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28325221, 'dashboard_result_id': 17026941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28325221_07-11-2025_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28325230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28325231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28325232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28325233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28325234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28325235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28325236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28325237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28325238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28325239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28325240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28325241, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28326126, 'dashboard_result_id': 17026942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326126_07-11-2025_20_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28326149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28326150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28326151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28326152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28326153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28326154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28326155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28326156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28326157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28326158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28326159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28326160, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28326783, 'dashboard_result_id': 17026943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326783_07-11-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28326839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28326840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28326841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28326842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28326843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28326844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28326845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28326846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28326847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28326848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28326849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28326850, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28328153, 'dashboard_result_id': 17026944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328153_07-11-2025_21_16_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28328195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28328196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28328197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28328198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28328199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28328200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28328201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28328202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28328203, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28328204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28328205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28328206, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28328626, 'dashboard_result_id': 17026945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328626_07-11-2025_21_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28328630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28328631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28328632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28328633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28328634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28328635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28328636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28328637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28328638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28328639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28328640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28328641, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28329174, 'dashboard_result_id': 17026946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329174_07-11-2025_21_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28329185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28329186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28329187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28329188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28329189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28329190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28329191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28329192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28329193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28329194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28329195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28329196, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28329931, 'dashboard_result_id': 17026947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329931_07-11-2025_22_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28329938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28329939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28329940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28329941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28329942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28329943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28329944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28329945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28329946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28329948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28329949, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28330502, 'dashboard_result_id': 17026948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28330502_07-11-2025_22_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28330550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28330551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28330552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28330553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28330554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28330555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28330556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28330557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28330558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28330559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28330560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28330561, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28331380, 'dashboard_result_id': 17026949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28331380_07-11-2025_22_39_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28331414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28331415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28331416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28331417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28331418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28331419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28331420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28331421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28331422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28331423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28331424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28331425, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28332300, 'dashboard_result_id': 17026950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332300_07-11-2025_22_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28332302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28332303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28332304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28332305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28332306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28332307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28332308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28332309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28332310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28332311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28332312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28332313, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28332607, 'dashboard_result_id': 17026951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332607_07-11-2025_23_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28332630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28332631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28332632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28332633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28332634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28332635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28332636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28332637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28332638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28332639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28332640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28332641, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28333101, 'dashboard_result_id': 17026952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333101_07-11-2025_23_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28333126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28333127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28333128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28333130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28333131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28333132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28333133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28333134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28333135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28333136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28333137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28333138, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28333805, 'dashboard_result_id': 17026953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333805_07-11-2025_23_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28333814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28333815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28333816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28333817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28333818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28333819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28333820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28333821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28333822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28333823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28333824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28333825, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28334504, 'dashboard_result_id': 17026954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28334504_07-11-2025_23_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28334565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28334566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28334567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28334568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28334569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28334571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28334572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28334573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28334574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28334575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28334576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28334577, 'pht': 3726}}"}, {'dashboat_entry_day': 2530388, 'dashboard_run_id': 2547340, 'mtr_portfolio_id': 28335230, 'dashboard_result_id': 17026955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28335230_08-11-2025_01_01_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28335256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28335257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28335258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28335259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28335260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28335261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28335262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28335263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28335264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28335265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28335266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28335267, '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 = 28281663 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021548, 'mtr_portfolio_id': 28281663, 'created_at': datetime.datetime(2025, 11, 8, 5, 34, 29), 'result': '0.06913855491106878', 'result_long': None, 'result_double': None}] Qualite : 0.06913855491106878 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28281663 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_08-11-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28281663 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_08-11-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28281671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281675, 'pht': 3726}}" where mtr_portfolio_id = 28281663 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28281663 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026879, 0.06913855491106878, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281663_08-11-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28281671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281675, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28282061 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021549, 'mtr_portfolio_id': 28282061, 'created_at': datetime.datetime(2025, 11, 8, 5, 35), 'result': '0.06565343853054073', 'result_long': None, 'result_double': None}] Qualite : 0.06565343853054073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28282061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282061_08-11-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28282061 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282061_08-11-2025_05_35_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282076, 'pht': 3726}}" where mtr_portfolio_id = 28282061 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28282061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026880, 0.06565343853054073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282061_08-11-2025_05_35_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282076, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28282493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021550, 'mtr_portfolio_id': 28282493, 'created_at': datetime.datetime(2025, 11, 8, 5, 35, 27), 'result': '0.05277529826425871', 'result_long': None, 'result_double': None}] Qualite : 0.05277529826425871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28282493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282493_08-11-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28282493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282493_08-11-2025_05_35_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282526, 'pht': 3726}}" where mtr_portfolio_id = 28282493 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28282493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026881, 0.05277529826425871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282493_08-11-2025_05_35_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282526, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28282879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021551, 'mtr_portfolio_id': 28282879, 'created_at': datetime.datetime(2025, 11, 8, 5, 35, 29), 'result': '0.04275165830663633', 'result_long': None, 'result_double': None}] Qualite : 0.04275165830663633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28282879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282879_08-11-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28282879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282879_08-11-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282896, 'pht': 3726}}" where mtr_portfolio_id = 28282879 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28282879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026882, 0.04275165830663633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28282879_08-11-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28282885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28282886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28282887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28282888, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28282889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28282890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28282891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28282892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28282893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28282894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28282895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28282896, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28283926 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021552, 'mtr_portfolio_id': 28283926, 'created_at': datetime.datetime(2025, 11, 8, 5, 35, 57), 'result': '0.039423126549853346', 'result_long': None, 'result_double': None}] Qualite : 0.039423126549853346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28283926 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28283926_08-11-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28283926 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28283926_08-11-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28283944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28283945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28283946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28283947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28283948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28283949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28283950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28283951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28283952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28283953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28283954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28283955, 'pht': 3726}}" where mtr_portfolio_id = 28283926 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28283926 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026883, 0.039423126549853346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28283926_08-11-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28283944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28283945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28283946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28283947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28283948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28283949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28283950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28283951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28283952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28283953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28283954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28283955, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28284433 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021553, 'mtr_portfolio_id': 28284433, 'created_at': datetime.datetime(2025, 11, 8, 5, 36, 7), 'result': '0.033100493947782965', 'result_long': None, 'result_double': None}] Qualite : 0.033100493947782965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28284433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284433_08-11-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28284433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284433_08-11-2025_05_36_11.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28284438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28284439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28284440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28284441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28284442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28284443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28284444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28284445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28284446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28284447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28284448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28284449, 'pht': 3726}}" where mtr_portfolio_id = 28284433 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28284433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026884, 0.033100493947782965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284433_08-11-2025_05_36_11.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28284438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28284439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28284440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28284441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28284442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28284443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28284444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28284445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28284446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28284447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28284448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28284449, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28284864 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021554, 'mtr_portfolio_id': 28284864, 'created_at': datetime.datetime(2025, 11, 8, 5, 36, 31), 'result': '0.046433470561761475', 'result_long': None, 'result_double': None}] Qualite : 0.046433470561761475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28284864 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284864_08-11-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28284864 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284864_08-11-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28284877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28284878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28284879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28284880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28284881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28284882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28284883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28284884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28284885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28284886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28284887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28284888, 'pht': 3726}}" where mtr_portfolio_id = 28284864 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28284864 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026885, 0.046433470561761475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28284864_08-11-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28284877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28284878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28284879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28284880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28284881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28284882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28284883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28284884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28284885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28284886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28284887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28284888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28285404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021555, 'mtr_portfolio_id': 28285404, 'created_at': datetime.datetime(2025, 11, 8, 5, 36, 57), 'result': '0.04641160158163423', 'result_long': None, 'result_double': None}] Qualite : 0.04641160158163423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28285404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285404_08-11-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28285404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285404_08-11-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28285405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28285406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28285407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28285408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28285409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28285410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28285411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28285412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28285413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28285414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28285415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28285416, 'pht': 3726}}" where mtr_portfolio_id = 28285404 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28285404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026886, 0.04641160158163423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285404_08-11-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28285405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28285406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28285407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28285408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28285409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28285410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28285411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28285412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28285413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28285414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28285415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28285416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28285972 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021556, 'mtr_portfolio_id': 28285972, 'created_at': datetime.datetime(2025, 11, 8, 5, 37, 32), 'result': '0.053802415749994593', 'result_long': None, 'result_double': None}] Qualite : 0.053802415749994593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28285972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285972_08-11-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28285972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285972_08-11-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28285977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28285978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28285979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28285980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28285981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28285982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28285983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28285984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28285985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28285986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28285987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28285988, 'pht': 3726}}" where mtr_portfolio_id = 28285972 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28285972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026887, 0.053802415749994593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28285972_08-11-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28285977, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28285978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28285979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28285980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28285981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28285982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28285983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28285984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28285985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28285986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28285987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28285988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28286424 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021557, 'mtr_portfolio_id': 28286424, 'created_at': datetime.datetime(2025, 11, 8, 5, 37, 27), 'result': '0.05116586775066912', 'result_long': None, 'result_double': None}] Qualite : 0.05116586775066912 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28286424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286424_08-11-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28286424 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286424_08-11-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28286434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28286435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28286436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28286437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28286438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28286439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28286440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28286441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28286442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28286443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28286444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28286445, 'pht': 3726}}" where mtr_portfolio_id = 28286424 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28286424 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026888, 0.05116586775066912, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286424_08-11-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28286434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28286435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28286436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28286437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28286438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28286439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28286440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28286441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28286442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28286443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28286444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28286445, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28286911 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021558, 'mtr_portfolio_id': 28286911, 'created_at': datetime.datetime(2025, 11, 8, 5, 37, 58), 'result': '0.05956659748739012', 'result_long': None, 'result_double': None}] Qualite : 0.05956659748739012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28286911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286911_08-11-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28286911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286911_08-11-2025_05_38_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28286944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28286945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28286946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28286947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28286948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28286949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28286950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28286951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28286952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28286953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28286955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28286956, 'pht': 3726}}" where mtr_portfolio_id = 28286911 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28286911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026889, 0.05956659748739012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28286911_08-11-2025_05_38_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28286944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28286945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28286946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28286947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28286948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28286949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28286950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28286951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28286952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28286953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28286955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28286956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28287492 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021559, 'mtr_portfolio_id': 28287492, 'created_at': datetime.datetime(2025, 11, 8, 5, 38, 30), 'result': '0.056620326618719206', 'result_long': None, 'result_double': None}] Qualite : 0.056620326618719206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28287492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28287492_08-11-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28287492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28287492_08-11-2025_05_38_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28287517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28287518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28287519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28287520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28287521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28287522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28287523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28287524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28287525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28287526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28287527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28287528, 'pht': 3726}}" where mtr_portfolio_id = 28287492 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28287492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026890, 0.056620326618719206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28287492_08-11-2025_05_38_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28287517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28287518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28287519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28287520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28287521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28287522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28287523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28287524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28287525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28287526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28287527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28287528, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28288007 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021560, 'mtr_portfolio_id': 28288007, 'created_at': datetime.datetime(2025, 11, 8, 5, 39), 'result': '0.043407394001289845', 'result_long': None, 'result_double': None}] Qualite : 0.043407394001289845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28288007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288007_08-11-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28288007 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288007_08-11-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28288012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28288013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28288014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28288015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28288016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28288017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28288018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28288019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28288020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28288021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28288022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28288023, 'pht': 3726}}" where mtr_portfolio_id = 28288007 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28288007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026891, 0.043407394001289845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288007_08-11-2025_05_39_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28288012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28288013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28288014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28288015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28288016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28288017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28288018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28288019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28288020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28288021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28288022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28288023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28288467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021561, 'mtr_portfolio_id': 28288467, 'created_at': datetime.datetime(2025, 11, 8, 5, 39, 33), 'result': '0.048442786330771634', 'result_long': None, 'result_double': None}] Qualite : 0.048442786330771634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28288467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288467_08-11-2025_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28288467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288467_08-11-2025_05_39_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28288492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28288493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28288494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28288495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28288496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28288497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28288498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28288499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28288500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28288501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28288502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28288503, 'pht': 3726}}" where mtr_portfolio_id = 28288467 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28288467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026892, 0.048442786330771634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28288467_08-11-2025_05_39_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28288492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28288493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28288494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28288495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28288496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28288497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28288498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28288499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28288500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28288501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28288502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28288503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28289357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021562, 'mtr_portfolio_id': 28289357, 'created_at': datetime.datetime(2025, 11, 8, 5, 39, 30), 'result': '0.032263848797957066', 'result_long': None, 'result_double': None}] Qualite : 0.032263848797957066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28289357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289357_08-11-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28289357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289357_08-11-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28289363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28289364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28289365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28289366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28289367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28289368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28289369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28289370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28289371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28289372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28289373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28289374, 'pht': 3726}}" where mtr_portfolio_id = 28289357 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28289357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026893, 0.032263848797957066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289357_08-11-2025_05_39_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28289363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28289364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28289365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28289366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28289367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28289368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28289369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28289370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28289371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28289372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28289373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28289374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28289750 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021563, 'mtr_portfolio_id': 28289750, 'created_at': datetime.datetime(2025, 11, 8, 5, 39, 56), 'result': '0.041895511437362476', 'result_long': None, 'result_double': None}] Qualite : 0.041895511437362476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28289750 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289750_08-11-2025_05_39_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28289750 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289750_08-11-2025_05_39_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28289755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28289756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28289757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28289758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28289759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28289760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28289761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28289762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28289763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28289764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28289765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28289766, 'pht': 3726}}" where mtr_portfolio_id = 28289750 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28289750 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026894, 0.041895511437362476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28289750_08-11-2025_05_39_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28289755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28289756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28289757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28289758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28289759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28289760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28289761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28289762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28289763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28289764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28289765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28289766, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28290275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021564, 'mtr_portfolio_id': 28290275, 'created_at': datetime.datetime(2025, 11, 8, 5, 40, 29), 'result': '0.056800304248190756', 'result_long': None, 'result_double': None}] Qualite : 0.056800304248190756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28290275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290275_08-11-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28290275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290275_08-11-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28290277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28290278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28290279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28290280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28290281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28290282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28290283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28290284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28290285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28290286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28290287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28290288, 'pht': 3726}}" where mtr_portfolio_id = 28290275 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28290275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026895, 0.056800304248190756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290275_08-11-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28290277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28290278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28290279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28290280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28290281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28290282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28290283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28290284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28290285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28290286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28290287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28290288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28290672 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021565, 'mtr_portfolio_id': 28290672, 'created_at': datetime.datetime(2025, 11, 8, 5, 40, 56), 'result': '0.03996551761176012', 'result_long': None, 'result_double': None}] Qualite : 0.03996551761176012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28290672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290672_08-11-2025_05_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28290672 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290672_08-11-2025_05_41_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28290677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28290678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28290679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28290680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28290681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28290682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28290683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28290684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28290685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28290686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28290687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28290688, 'pht': 3726}}" where mtr_portfolio_id = 28290672 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28290672 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026896, 0.03996551761176012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28290672_08-11-2025_05_41_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28290677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28290678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28290679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28290680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28290681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28290682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28290683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28290684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28290685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28290686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28290687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28290688, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28291027 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021566, 'mtr_portfolio_id': 28291027, 'created_at': datetime.datetime(2025, 11, 8, 5, 41, 11), 'result': '0.048977032231291795', 'result_long': None, 'result_double': None}] Qualite : 0.048977032231291795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28291027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291027_08-11-2025_05_41_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28291027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291027_08-11-2025_05_41_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28291051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28291052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28291053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28291054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28291055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28291056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28291057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28291058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28291059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28291060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28291061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28291062, 'pht': 3726}}" where mtr_portfolio_id = 28291027 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28291027 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026897, 0.048977032231291795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291027_08-11-2025_05_41_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28291051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28291052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28291053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28291054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28291055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28291056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28291057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28291058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28291059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28291060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28291061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28291062, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28291656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021567, 'mtr_portfolio_id': 28291656, 'created_at': datetime.datetime(2025, 11, 8, 5, 41, 33), 'result': '0.04344159635384699', 'result_long': None, 'result_double': None}] Qualite : 0.04344159635384699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28291656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291656_08-11-2025_05_41_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28291656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291656_08-11-2025_05_41_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28291669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28291670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28291671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28291672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28291673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28291674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28291675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28291676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28291677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28291678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28291679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28291680, 'pht': 3726}}" where mtr_portfolio_id = 28291656 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28291656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026898, 0.04344159635384699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28291656_08-11-2025_05_41_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28291669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28291670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28291671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28291672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28291673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28291674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28291675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28291676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28291677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28291678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28291679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28291680, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28292160 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021568, 'mtr_portfolio_id': 28292160, 'created_at': datetime.datetime(2025, 11, 8, 5, 41, 28), 'result': '0.04469005547279421', 'result_long': None, 'result_double': None}] Qualite : 0.04469005547279421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28292160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292160_08-11-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28292160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292160_08-11-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28292185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28292186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28292187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28292188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28292189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28292190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28292191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28292192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28292193, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28292194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28292195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28292196, 'pht': 3726}}" where mtr_portfolio_id = 28292160 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28292160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026899, 0.04469005547279421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292160_08-11-2025_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28292185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28292186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28292187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28292188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28292189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28292190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28292191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28292192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28292193, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28292194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28292195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28292196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28292616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021569, 'mtr_portfolio_id': 28292616, 'created_at': datetime.datetime(2025, 11, 8, 5, 41, 58), 'result': '0.03715975657251701', 'result_long': None, 'result_double': None}] Qualite : 0.03715975657251701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28292616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292616_08-11-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28292616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292616_08-11-2025_05_42_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28292626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28292627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28292628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28292629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28292630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28292631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28292632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28292633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28292634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28292635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28292636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28292637, 'pht': 3726}}" where mtr_portfolio_id = 28292616 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28292616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026900, 0.03715975657251701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28292616_08-11-2025_05_42_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28292626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28292627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28292628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28292629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28292630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28292631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28292632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28292633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28292634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28292635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28292636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28292637, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28293148 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021570, 'mtr_portfolio_id': 28293148, 'created_at': datetime.datetime(2025, 11, 8, 5, 42, 31), 'result': '0.050402273134469544', 'result_long': None, 'result_double': None}] Qualite : 0.050402273134469544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28293148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293148_08-11-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28293148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293148_08-11-2025_05_42_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28293152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28293153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28293154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28293155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28293156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28293157, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28293158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28293159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28293160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28293161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28293162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28293163, 'pht': 3726}}" where mtr_portfolio_id = 28293148 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28293148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026901, 0.050402273134469544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293148_08-11-2025_05_42_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28293152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28293153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28293154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28293155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28293156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28293157, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28293158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28293159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28293160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28293161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28293162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28293163, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28293906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021571, 'mtr_portfolio_id': 28293906, 'created_at': datetime.datetime(2025, 11, 8, 5, 42, 58), 'result': '0.0335744949248006', 'result_long': None, 'result_double': None}] Qualite : 0.0335744949248006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28293906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293906_08-11-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28293906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293906_08-11-2025_05_43_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28293909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28293910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28293911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28293912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28293913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28293914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28293915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28293916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28293917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28293918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28293919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28293920, 'pht': 3726}}" where mtr_portfolio_id = 28293906 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28293906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026902, 0.0335744949248006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28293906_08-11-2025_05_43_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28293909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28293910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28293911, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28293912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28293913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28293914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28293915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28293916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28293917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28293918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28293919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28293920, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28294381 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021572, 'mtr_portfolio_id': 28294381, 'created_at': datetime.datetime(2025, 11, 8, 5, 43, 29), 'result': '0.05996337547173117', 'result_long': None, 'result_double': None}] Qualite : 0.05996337547173117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28294381 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294381_08-11-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28294381 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294381_08-11-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28294383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28294384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28294385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28294386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28294387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28294388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28294389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28294390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28294391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28294392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28294393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28294394, 'pht': 3726}}" where mtr_portfolio_id = 28294381 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28294381 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026903, 0.05996337547173117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294381_08-11-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28294383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28294384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28294385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28294386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28294387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28294388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28294389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28294390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28294391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28294392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28294393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28294394, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28294932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021573, 'mtr_portfolio_id': 28294932, 'created_at': datetime.datetime(2025, 11, 8, 5, 43, 28), 'result': '0.04740289795472794', 'result_long': None, 'result_double': None}] Qualite : 0.04740289795472794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28294932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294932_08-11-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28294932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294932_08-11-2025_05_43_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28294938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28294939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28294940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28294941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28294942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28294944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28294945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28294946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28294947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28294948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28294949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28294950, 'pht': 3726}}" where mtr_portfolio_id = 28294932 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28294932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026904, 0.04740289795472794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28294932_08-11-2025_05_43_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28294938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28294939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28294940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28294941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28294942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28294944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28294945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28294946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28294947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28294948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28294949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28294950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28295475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021574, 'mtr_portfolio_id': 28295475, 'created_at': datetime.datetime(2025, 11, 8, 5, 43, 58), 'result': '0.04354908481886648', 'result_long': None, 'result_double': None}] Qualite : 0.04354908481886648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28295475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28295475_08-11-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28295475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28295475_08-11-2025_05_44_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28295492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28295493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28295494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28295495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28295496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28295497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28295498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28295499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28295500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28295501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28295502, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28295503, 'pht': 3726}}" where mtr_portfolio_id = 28295475 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28295475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026905, 0.04354908481886648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28295475_08-11-2025_05_44_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28295492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28295493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28295494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28295495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28295496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28295497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28295498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28295499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28295500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28295501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28295502, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28295503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28296108 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021575, 'mtr_portfolio_id': 28296108, 'created_at': datetime.datetime(2025, 11, 8, 5, 44, 28), 'result': '0.04964452810510312', 'result_long': None, 'result_double': None}] Qualite : 0.04964452810510312 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28296108 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296108_08-11-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28296108 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296108_08-11-2025_05_44_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28296152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28296153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28296154, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28296155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28296156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28296157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28296158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28296159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28296160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28296161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28296162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28296163, 'pht': 3726}}" where mtr_portfolio_id = 28296108 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28296108 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026906, 0.04964452810510312, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296108_08-11-2025_05_44_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28296152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28296153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28296154, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28296155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28296156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28296157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28296158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28296159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28296160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28296161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28296162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28296163, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28296762 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021576, 'mtr_portfolio_id': 28296762, 'created_at': datetime.datetime(2025, 11, 8, 5, 45), 'result': '0.05084867529195767', 'result_long': None, 'result_double': None}] Qualite : 0.05084867529195767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28296762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296762_08-11-2025_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28296762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296762_08-11-2025_05_45_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28296801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28296802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28296803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28296804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28296805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28296806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28296807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28296808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28296809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28296810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28296811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28296812, 'pht': 3726}}" where mtr_portfolio_id = 28296762 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28296762 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026907, 0.05084867529195767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28296762_08-11-2025_05_45_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28296801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28296802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28296803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28296804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28296805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28296806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28296807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28296808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28296809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28296810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28296811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28296812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28297390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021577, 'mtr_portfolio_id': 28297390, 'created_at': datetime.datetime(2025, 11, 8, 5, 45, 27), 'result': '0.04472466818845192', 'result_long': None, 'result_double': None}] Qualite : 0.04472466818845192 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28297390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28297390_08-11-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28297390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28297390_08-11-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28297471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28297472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28297473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28297474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28297475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28297476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28297477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28297478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28297479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28297480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28297481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28297482, 'pht': 3726}}" where mtr_portfolio_id = 28297390 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28297390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026908, 0.04472466818845192, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28297390_08-11-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28297471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28297472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28297473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28297474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28297475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28297476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28297477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28297478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28297479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28297480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28297481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28297482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28298769 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021578, 'mtr_portfolio_id': 28298769, 'created_at': datetime.datetime(2025, 11, 8, 5, 45, 34), 'result': '0.045983742754805684', 'result_long': None, 'result_double': None}] Qualite : 0.045983742754805684 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28298769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298769_08-11-2025_05_45_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298769_08-11-2025_05_45_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28298801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28298802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28298803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28298804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28298805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28298806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28298807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28298808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28298809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28298810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28298811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28298812, 'pht': 3726}}" where mtr_portfolio_id = 28298769 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28298769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026909, 0.045983742754805684, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298769_08-11-2025_05_45_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28298801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28298802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28298803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28298804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28298805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28298806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28298807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28298808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28298809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28298810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28298811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28298812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28299301 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021579, 'mtr_portfolio_id': 28299301, 'created_at': datetime.datetime(2025, 11, 8, 5, 45, 57), 'result': '0.030922908487284618', 'result_long': None, 'result_double': None}] Qualite : 0.030922908487284618 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28299301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299301_08-11-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28299301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299301_08-11-2025_05_46_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28299316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28299317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28299318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28299319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28299320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28299321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28299323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28299324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28299325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28299326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28299327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28299328, 'pht': 3726}}" where mtr_portfolio_id = 28299301 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28299301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026910, 0.030922908487284618, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299301_08-11-2025_05_46_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28299316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28299317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28299318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28299319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28299320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28299321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28299323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28299324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28299325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28299326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28299327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28299328, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28299744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021580, 'mtr_portfolio_id': 28299744, 'created_at': datetime.datetime(2025, 11, 8, 5, 46, 11), 'result': '0.04030374076931906', 'result_long': None, 'result_double': None}] Qualite : 0.04030374076931906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28299744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299744_08-11-2025_05_46_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28299744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299744_08-11-2025_05_46_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28299785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28299786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28299787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28299788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28299789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28299790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28299791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28299792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28299793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28299794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28299795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28299796, 'pht': 3726}}" where mtr_portfolio_id = 28299744 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28299744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026911, 0.04030374076931906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28299744_08-11-2025_05_46_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28299785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28299786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28299787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28299788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28299789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28299790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28299791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28299792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28299793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28299794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28299795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28299796, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28300271 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021581, 'mtr_portfolio_id': 28300271, 'created_at': datetime.datetime(2025, 11, 8, 5, 46, 31), 'result': '0.04346318854800288', 'result_long': None, 'result_double': None}] Qualite : 0.04346318854800288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28300271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300271_08-11-2025_05_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28300271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300271_08-11-2025_05_46_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28300303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28300304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28300305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28300306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28300307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28300308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28300309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28300310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28300311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28300312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28300313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28300314, 'pht': 3726}}" where mtr_portfolio_id = 28300271 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28300271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026912, 0.04346318854800288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300271_08-11-2025_05_46_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28300303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28300304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28300305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28300306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28300307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28300308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28300309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28300310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28300311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28300312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28300313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28300314, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28300829 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021582, 'mtr_portfolio_id': 28300829, 'created_at': datetime.datetime(2025, 11, 8, 5, 46, 59), 'result': '0.06521516270296071', 'result_long': None, 'result_double': None}] Qualite : 0.06521516270296071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28300829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300829_08-11-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28300829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300829_08-11-2025_05_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28300865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28300866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28300867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28300868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28300869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28300870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28300871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28300872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28300873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28300874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28300875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28300876, 'pht': 3726}}" where mtr_portfolio_id = 28300829 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28300829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026913, 0.06521516270296071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28300829_08-11-2025_05_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28300865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28300866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28300867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28300868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28300869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28300870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28300871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28300872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28300873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28300874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28300875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28300876, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28301414 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021583, 'mtr_portfolio_id': 28301414, 'created_at': datetime.datetime(2025, 11, 8, 5, 47, 32), 'result': '0.058782366217484616', 'result_long': None, 'result_double': None}] Qualite : 0.058782366217484616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28301414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301414_08-11-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28301414 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301414_08-11-2025_05_47_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28301418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28301419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28301420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28301421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28301422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28301423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28301424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28301425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28301426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28301427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28301428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28301429, 'pht': 3726}}" where mtr_portfolio_id = 28301414 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28301414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026914, 0.058782366217484616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301414_08-11-2025_05_47_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28301418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28301419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28301420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28301421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28301422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28301423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28301424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28301425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28301426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28301427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28301428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28301429, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28301853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021584, 'mtr_portfolio_id': 28301853, 'created_at': datetime.datetime(2025, 11, 8, 5, 47, 29), 'result': '0.06010978125349746', 'result_long': None, 'result_double': None}] Qualite : 0.06010978125349746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28301853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301853_08-11-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28301853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301853_08-11-2025_05_47_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28301906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28301907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28301908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28301909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28301910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28301911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28301912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28301913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28301914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28301915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28301916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28301917, 'pht': 3726}}" where mtr_portfolio_id = 28301853 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28301853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026915, 0.06010978125349746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28301853_08-11-2025_05_47_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28301906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28301907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28301908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28301909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28301910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28301911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28301912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28301913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28301914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28301915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28301916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28301917, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28302605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021585, 'mtr_portfolio_id': 28302605, 'created_at': datetime.datetime(2025, 11, 8, 5, 47, 58), 'result': '0.04470870440988619', 'result_long': None, 'result_double': None}] Qualite : 0.04470870440988619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28302605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28302605_08-11-2025_05_47_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28302605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28302605_08-11-2025_05_47_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28302609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28302610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28302611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28302612, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28302613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28302614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28302615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28302616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28302617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28302618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28302619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28302620, 'pht': 3726}}" where mtr_portfolio_id = 28302605 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28302605 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026916, 0.04470870440988619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28302605_08-11-2025_05_47_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28302609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28302610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28302611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28302612, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28302613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28302614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28302615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28302616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28302617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28302618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28302619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28302620, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28303360 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021586, 'mtr_portfolio_id': 28303360, 'created_at': datetime.datetime(2025, 11, 8, 5, 48, 31), 'result': '0.043605177814533366', 'result_long': None, 'result_double': None}] Qualite : 0.043605177814533366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28303360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303360_08-11-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28303360 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303360_08-11-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28303363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28303364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28303365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28303366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28303367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28303368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28303369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28303370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28303371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28303372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28303373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28303374, 'pht': 3726}}" where mtr_portfolio_id = 28303360 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28303360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026917, 0.043605177814533366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303360_08-11-2025_05_48_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28303363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28303364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28303365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28303366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28303367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28303368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28303369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28303370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28303371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28303372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28303373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28303374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28303548 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021587, 'mtr_portfolio_id': 28303548, 'created_at': datetime.datetime(2025, 11, 8, 5, 48, 59), 'result': '0.05613470352099742', 'result_long': None, 'result_double': None}] Qualite : 0.05613470352099742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28303548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303548_08-11-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28303548 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303548_08-11-2025_05_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28303555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28303556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28303557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28303558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28303559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28303560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28303561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28303562, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28303563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28303564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28303565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28303566, 'pht': 3726}}" where mtr_portfolio_id = 28303548 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28303548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026918, 0.05613470352099742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28303548_08-11-2025_05_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28303555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28303556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28303557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28303558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28303559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28303560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28303561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28303562, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28303563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28303564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28303565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28303566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28304084 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021588, 'mtr_portfolio_id': 28304084, 'created_at': datetime.datetime(2025, 11, 8, 5, 49, 28), 'result': '0.03483328857025933', 'result_long': None, 'result_double': None}] Qualite : 0.03483328857025933 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28304084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304084_08-11-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28304084 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304084_08-11-2025_05_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28304088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28304089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28304090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28304091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28304092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28304093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28304094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28304095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28304096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28304097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28304098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28304099, 'pht': 3726}}" where mtr_portfolio_id = 28304084 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28304084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026919, 0.03483328857025933, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304084_08-11-2025_05_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28304088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28304089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28304090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28304091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28304092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28304093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28304094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28304095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28304096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28304097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28304098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28304099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28306060 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021589, 'mtr_portfolio_id': 28306060, 'created_at': datetime.datetime(2025, 11, 8, 5, 49, 30), 'result': '0.05094106363834566', 'result_long': None, 'result_double': None}] Qualite : 0.05094106363834566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28306060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306060_08-11-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28306060 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306060_08-11-2025_05_49_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28306062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28306063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28306064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28306065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28306066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28306067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28306068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28306069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28306070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28306071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28306072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28306073, 'pht': 3726}}" where mtr_portfolio_id = 28306060 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28306060 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026920, 0.05094106363834566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306060_08-11-2025_05_49_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28306062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28306063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28306064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28306065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28306066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28306067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28306068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28306069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28306070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28306071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28306072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28306073, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28306403 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021590, 'mtr_portfolio_id': 28306403, 'created_at': datetime.datetime(2025, 11, 8, 5, 49, 58), 'result': '0.07488840392644412', 'result_long': None, 'result_double': None}] Qualite : 0.07488840392644412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28306403 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306403_08-11-2025_05_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28306403 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306403_08-11-2025_05_50_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28306433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28306434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28306435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28306436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28306437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28306438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28306439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28306440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28306441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28306442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28306443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28306444, 'pht': 3726}}" where mtr_portfolio_id = 28306403 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28306403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026921, 0.07488840392644412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28306403_08-11-2025_05_50_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28306433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28306434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28306435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28306436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28306437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28306438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28306439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28306440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28306441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28306442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28306443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28306444, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28307002 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021591, 'mtr_portfolio_id': 28307002, 'created_at': datetime.datetime(2025, 11, 8, 5, 50, 29), 'result': '0.06559904903656724', 'result_long': None, 'result_double': None}] Qualite : 0.06559904903656724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28307002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307002_08-11-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28307002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307002_08-11-2025_05_50_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28307007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307018, 'pht': 3726}}" where mtr_portfolio_id = 28307002 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28307002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026922, 0.06559904903656724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307002_08-11-2025_05_50_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28307007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307018, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28307458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021592, 'mtr_portfolio_id': 28307458, 'created_at': datetime.datetime(2025, 11, 8, 5, 50, 56), 'result': '0.06035707820465068', 'result_long': None, 'result_double': None}] Qualite : 0.06035707820465068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28307458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307458_08-11-2025_05_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28307458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307458_08-11-2025_05_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28307492, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307498, 'pht': 3726}}" where mtr_portfolio_id = 28307458 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28307458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026923, 0.06035707820465068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307458_08-11-2025_05_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28307492, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307498, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28307873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021593, 'mtr_portfolio_id': 28307873, 'created_at': datetime.datetime(2025, 11, 8, 5, 51, 10), 'result': '0.04482623497806853', 'result_long': None, 'result_double': None}] Qualite : 0.04482623497806853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28307873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307873_08-11-2025_05_51_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28307873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307873_08-11-2025_05_51_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28307894, 'pht': 3726}}" where mtr_portfolio_id = 28307873 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28307873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026924, 0.04482623497806853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28307873_08-11-2025_05_51_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28307883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28307884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28307885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28307886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28307887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28307888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28307889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28307890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28307891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28307892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28307893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28307894, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28308316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021594, 'mtr_portfolio_id': 28308316, 'created_at': datetime.datetime(2025, 11, 8, 5, 51, 28), 'result': '0.04901372496243536', 'result_long': None, 'result_double': None}] Qualite : 0.04901372496243536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28308316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28308316_08-11-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28308316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28308316_08-11-2025_05_51_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28308346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28308347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28308348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28308349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28308350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28308351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28308352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28308353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28308354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28308355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28308356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28308357, 'pht': 3726}}" where mtr_portfolio_id = 28308316 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28308316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026925, 0.04901372496243536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28308316_08-11-2025_05_51_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28308346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28308347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28308348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28308349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28308350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28308351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28308352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28308353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28308354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28308355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28308356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28308357, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28310070 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4021595, 'mtr_portfolio_id': 28310070, 'created_at': datetime.datetime(2025, 11, 8, 5, 51, 31), 'result': '0.06137910996230766', 'result_long': None, 'result_double': None}] Qualite : 0.06137910996230766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28310070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310070_08-11-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28310070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310070_08-11-2025_05_51_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28310089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28310090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28310091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28310092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28310093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28310094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28310095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28310096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28310097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28310098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28310099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28310100, 'pht': 3726}}" where mtr_portfolio_id = 28310070 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28310070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026926, 0.06137910996230766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310070_08-11-2025_05_51_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28310089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28310090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28310091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28310092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28310093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28310094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28310095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28310096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28310097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28310098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28310099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28310100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28310846 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4017152, 'mtr_portfolio_id': 28310846, 'created_at': datetime.datetime(2025, 11, 7, 16, 16, 58), 'result': '0.08801320340652731', 'result_long': None, 'result_double': None}] Qualite : 0.08801320340652731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28310846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310846_07-11-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28310846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310846_07-11-2025_16_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28310860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28310861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28310862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28310863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28310864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28310865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28310866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28310867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28310868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28310869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28310870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28310871, 'pht': 3726}}" where mtr_portfolio_id = 28310846 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28310846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026927, 0.08801320340652731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28310846_07-11-2025_16_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28310860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28310861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28310862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28310863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28310864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28310865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28310866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28310867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28310868, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28310869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28310870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28310871, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28311675 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4017255, 'mtr_portfolio_id': 28311675, 'created_at': datetime.datetime(2025, 11, 7, 16, 34, 56), 'result': '0.08612930110953183', 'result_long': None, 'result_double': None}] Qualite : 0.08612930110953183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28311675 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28311675_07-11-2025_16_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28311675 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28311675_07-11-2025_16_34_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28311711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28311712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28311713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28311714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28311715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28311716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28311717, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28311718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28311719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28311720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28311721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28311722, 'pht': 3726}}" where mtr_portfolio_id = 28311675 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28311675 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026928, 0.08612930110953183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28311675_07-11-2025_16_34_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28311711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28311712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28311713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28311714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28311715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28311716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28311717, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28311718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28311719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28311720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28311721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28311722, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28313170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4017528, 'mtr_portfolio_id': 28313170, 'created_at': datetime.datetime(2025, 11, 7, 16, 48, 59), 'result': '0.07455582956031355', 'result_long': None, 'result_double': None}] Qualite : 0.07455582956031355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28313170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28313170_07-11-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28313170_07-11-2025_16_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28313195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28313196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28313197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28313198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28313199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28313200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28313201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28313202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28313203, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28313204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28313205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28313206, 'pht': 3726}}" where mtr_portfolio_id = 28313170 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28313170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026929, 0.07455582956031355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28313170_07-11-2025_16_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28313195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28313196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28313197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28313198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28313199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28313200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28313201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28313202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28313203, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28313204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28313205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28313206, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28314461 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4017656, 'mtr_portfolio_id': 28314461, 'created_at': datetime.datetime(2025, 11, 7, 17, 2, 59), 'result': '0.06917657112118385', 'result_long': None, 'result_double': None}] Qualite : 0.06917657112118385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28314461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28314461_07-11-2025_17_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314461 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28314461_07-11-2025_17_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28314523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28314524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28314525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28314526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28314527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28314528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28314529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28314530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28314532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28314533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28314534, 'pht': 3726}}" where mtr_portfolio_id = 28314461 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28314461 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026930, 0.06917657112118385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28314461_07-11-2025_17_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28314523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28314524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28314525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28314526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28314527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28314528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28314529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28314530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28314532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28314533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28314534, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28315582 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4017868, 'mtr_portfolio_id': 28315582, 'created_at': datetime.datetime(2025, 11, 7, 17, 18, 59), 'result': '0.05627293805825231', 'result_long': None, 'result_double': None}] Qualite : 0.05627293805825231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28315582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28315582_07-11-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28315582_07-11-2025_17_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28315627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28315628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28315629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28315631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28315632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28315633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28315635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28315636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28315637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28315639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28315640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28315641, 'pht': 3726}}" where mtr_portfolio_id = 28315582 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28315582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026931, 0.05627293805825231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28315582_07-11-2025_17_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28315627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28315628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28315629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28315631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28315632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28315633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28315635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28315636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28315637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28315639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28315640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28315641, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28316494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4017966, 'mtr_portfolio_id': 28316494, 'created_at': datetime.datetime(2025, 11, 7, 18, 2, 59), 'result': '0.05719680030445637', 'result_long': None, 'result_double': None}] Qualite : 0.05719680030445637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28316494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28316494_07-11-2025_18_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28316494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28316494_07-11-2025_18_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28316535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28316536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28316537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28316538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28316539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28316540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28316541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28316542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28316543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28316544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28316545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28316546, 'pht': 3726}}" where mtr_portfolio_id = 28316494 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28316494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026932, 0.05719680030445637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28316494_07-11-2025_18_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28316535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28316536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28316537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28316538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28316539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28316540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28316541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28316542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28316543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28316544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28316545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28316546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28318620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018155, 'mtr_portfolio_id': 28318620, 'created_at': datetime.datetime(2025, 11, 7, 18, 16, 58), 'result': '0.04859402090391119', 'result_long': None, 'result_double': None}] Qualite : 0.04859402090391119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28318620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28318620_07-11-2025_18_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28318620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28318620_07-11-2025_18_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28318632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28318633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28318634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28318635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28318636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28318637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28318638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28318639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28318640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28318641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28318642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28318643, 'pht': 3726}}" where mtr_portfolio_id = 28318620 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28318620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026933, 0.04859402090391119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28318620_07-11-2025_18_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28318632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28318633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28318634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28318635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28318636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28318637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28318638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28318639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28318640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28318641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28318642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28318643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28319269 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018208, 'mtr_portfolio_id': 28319269, 'created_at': datetime.datetime(2025, 11, 7, 18, 35), 'result': '0.05801288215487936', 'result_long': None, 'result_double': None}] Qualite : 0.05801288215487936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28319269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28319269_07-11-2025_18_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28319269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28319269_07-11-2025_18_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28319316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28319317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28319318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28319319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28319320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28319321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28319322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28319323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28319324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28319325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28319326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28319327, 'pht': 3726}}" where mtr_portfolio_id = 28319269 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28319269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026934, 0.05801288215487936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28319269_07-11-2025_18_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28319316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28319317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28319318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28319319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28319320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28319321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28319322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28319323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28319324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28319325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28319326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28319327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28320006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018271, 'mtr_portfolio_id': 28320006, 'created_at': datetime.datetime(2025, 11, 7, 18, 48, 58), 'result': '0.048539467718282846', 'result_long': None, 'result_double': None}] Qualite : 0.048539467718282846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28320006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320006_07-11-2025_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28320006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320006_07-11-2025_18_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28320053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28320054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28320055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28320056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28320057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28320058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28320059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28320060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28320061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28320062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28320063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28320064, 'pht': 3726}}" where mtr_portfolio_id = 28320006 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28320006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026935, 0.048539467718282846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320006_07-11-2025_18_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28320053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28320054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28320055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28320056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28320057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28320058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28320059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28320060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28320061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28320062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28320063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28320064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28320801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018358, 'mtr_portfolio_id': 28320801, 'created_at': datetime.datetime(2025, 11, 7, 19, 4, 59), 'result': '0.04913517583849038', 'result_long': None, 'result_double': None}] Qualite : 0.04913517583849038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28320801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320801_07-11-2025_19_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28320801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320801_07-11-2025_19_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28320890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28320891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28320892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28320893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28320894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28320895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28320896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28320897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28320898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28320899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28320900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28320901, 'pht': 3726}}" where mtr_portfolio_id = 28320801 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28320801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026936, 0.04913517583849038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28320801_07-11-2025_19_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28320890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28320891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28320892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28320893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28320894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28320895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28320896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28320897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28320898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28320899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28320900, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28320901, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28321466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018467, 'mtr_portfolio_id': 28321466, 'created_at': datetime.datetime(2025, 11, 7, 19, 18, 57), 'result': '0.04572165858144772', 'result_long': None, 'result_double': None}] Qualite : 0.04572165858144772 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28321466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28321466_07-11-2025_19_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28321466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28321466_07-11-2025_19_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28321569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28321570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28321571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28321572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28321573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28321574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28321575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28321576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28321577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28321578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28321579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28321580, 'pht': 3726}}" where mtr_portfolio_id = 28321466 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28321466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026937, 0.04572165858144772, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28321466_07-11-2025_19_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28321569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28321570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28321571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28321572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28321573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28321574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28321575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28321576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28321577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28321578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28321579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28321580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28322540 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018648, 'mtr_portfolio_id': 28322540, 'created_at': datetime.datetime(2025, 11, 7, 19, 32, 57), 'result': '0.03716968087421904', 'result_long': None, 'result_double': None}] Qualite : 0.03716968087421904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28322540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28322540_07-11-2025_19_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28322540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28322540_07-11-2025_19_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28322570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28322571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28322572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28322573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28322574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28322575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28322576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28322577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28322578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28322579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28322580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28322581, 'pht': 3726}}" where mtr_portfolio_id = 28322540 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28322540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026938, 0.03716968087421904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28322540_07-11-2025_19_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28322570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28322571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28322572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28322573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28322574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28322575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28322576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28322577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28322578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28322579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28322580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28322581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28323312 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4018829, 'mtr_portfolio_id': 28323312, 'created_at': datetime.datetime(2025, 11, 7, 19, 49, 29), 'result': '0.053563828363817914', 'result_long': None, 'result_double': None}] Qualite : 0.053563828363817914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28323312 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28323312_07-11-2025_19_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28323312 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28323312_07-11-2025_19_49_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28323371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28323372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28323373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28323374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28323375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28323376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28323377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28323378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28323379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28323380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28323381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28323382, 'pht': 3726}}" where mtr_portfolio_id = 28323312 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28323312 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026939, 0.053563828363817914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28323312_07-11-2025_19_49_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28323371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28323372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28323373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28323374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28323375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28323376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28323377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28323378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28323379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28323380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28323381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28323382, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28324232 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019018, 'mtr_portfolio_id': 28324232, 'created_at': datetime.datetime(2025, 11, 7, 20, 2, 29), 'result': '0.052968000353124586', 'result_long': None, 'result_double': None}] Qualite : 0.052968000353124586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28324232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28324232_07-11-2025_20_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28324232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28324232_07-11-2025_20_02_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28324261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28324263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28324265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28324267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28324270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28324272, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28324274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28324276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28324279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28324281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28324283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28324285, 'pht': 3726}}" where mtr_portfolio_id = 28324232 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28324232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026940, 0.052968000353124586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28324232_07-11-2025_20_02_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28324261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28324263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28324265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28324267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28324270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28324272, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28324274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28324276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28324279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28324281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28324283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28324285, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28325221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019220, 'mtr_portfolio_id': 28325221, 'created_at': datetime.datetime(2025, 11, 7, 20, 18, 58), 'result': '0.03797217782580238', 'result_long': None, 'result_double': None}] Qualite : 0.03797217782580238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28325221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28325221_07-11-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28325221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28325221_07-11-2025_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28325230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28325231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28325232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28325233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28325234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28325235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28325236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28325237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28325238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28325239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28325240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28325241, 'pht': 3726}}" where mtr_portfolio_id = 28325221 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28325221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026941, 0.03797217782580238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28325221_07-11-2025_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28325230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28325231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28325232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28325233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28325234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28325235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28325236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28325237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28325238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28325239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28325240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28325241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28326126 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019352, 'mtr_portfolio_id': 28326126, 'created_at': datetime.datetime(2025, 11, 7, 20, 34, 59), 'result': '0.03999303094440913', 'result_long': None, 'result_double': None}] Qualite : 0.03999303094440913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28326126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326126_07-11-2025_20_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28326126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326126_07-11-2025_20_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28326149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28326150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28326151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28326152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28326153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28326154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28326155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28326156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28326157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28326158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28326159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28326160, 'pht': 3726}}" where mtr_portfolio_id = 28326126 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28326126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026942, 0.03999303094440913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326126_07-11-2025_20_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28326149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28326150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28326151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28326152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28326153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28326154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28326155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28326156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28326157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28326158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28326159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28326160, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28326783 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019436, 'mtr_portfolio_id': 28326783, 'created_at': datetime.datetime(2025, 11, 7, 21, 4, 59), 'result': '0.03774208614353719', 'result_long': None, 'result_double': None}] Qualite : 0.03774208614353719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28326783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326783_07-11-2025_21_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28326783 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326783_07-11-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28326839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28326840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28326841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28326842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28326843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28326844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28326845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28326846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28326847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28326848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28326849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28326850, 'pht': 3726}}" where mtr_portfolio_id = 28326783 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28326783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026943, 0.03774208614353719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28326783_07-11-2025_21_04_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28326839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28326840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28326841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28326842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28326843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28326844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28326845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28326846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28326847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28326848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28326849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28326850, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28328153 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019584, 'mtr_portfolio_id': 28328153, 'created_at': datetime.datetime(2025, 11, 7, 21, 16, 29), 'result': '0.033785912663493026', 'result_long': None, 'result_double': None}] Qualite : 0.033785912663493026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28328153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328153_07-11-2025_21_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28328153 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328153_07-11-2025_21_16_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28328195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28328196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28328197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28328198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28328199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28328200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28328201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28328202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28328203, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28328204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28328205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28328206, 'pht': 3726}}" where mtr_portfolio_id = 28328153 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28328153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026944, 0.033785912663493026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328153_07-11-2025_21_16_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28328195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28328196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28328197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28328198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28328199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28328200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28328201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28328202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28328203, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28328204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28328205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28328206, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28328626 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019613, 'mtr_portfolio_id': 28328626, 'created_at': datetime.datetime(2025, 11, 7, 21, 33), 'result': '0.06224434618483525', 'result_long': None, 'result_double': None}] Qualite : 0.06224434618483525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28328626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328626_07-11-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28328626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328626_07-11-2025_21_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28328630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28328631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28328632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28328633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28328634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28328635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28328636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28328637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28328638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28328639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28328640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28328641, 'pht': 3726}}" where mtr_portfolio_id = 28328626 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28328626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026945, 0.06224434618483525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28328626_07-11-2025_21_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28328630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28328631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28328632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28328633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28328634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28328635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28328636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28328637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28328638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28328639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28328640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28328641, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28329174 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019661, 'mtr_portfolio_id': 28329174, 'created_at': datetime.datetime(2025, 11, 7, 21, 48, 56), 'result': '0.060640519633403986', 'result_long': None, 'result_double': None}] Qualite : 0.060640519633403986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28329174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329174_07-11-2025_21_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28329174 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329174_07-11-2025_21_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28329185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28329186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28329187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28329188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28329189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28329190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28329191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28329192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28329193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28329194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28329195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28329196, 'pht': 3726}}" where mtr_portfolio_id = 28329174 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28329174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026946, 0.060640519633403986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329174_07-11-2025_21_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28329185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28329186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28329187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28329188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28329189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28329190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28329191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28329192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28329193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28329194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28329195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28329196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28329931 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019726, 'mtr_portfolio_id': 28329931, 'created_at': datetime.datetime(2025, 11, 7, 22, 2, 58), 'result': '0.03649169631861827', 'result_long': None, 'result_double': None}] Qualite : 0.03649169631861827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28329931 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329931_07-11-2025_22_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28329931 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329931_07-11-2025_22_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28329938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28329939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28329940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28329941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28329942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28329943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28329944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28329945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28329946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28329948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28329949, 'pht': 3726}}" where mtr_portfolio_id = 28329931 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28329931 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026947, 0.03649169631861827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28329931_07-11-2025_22_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28329938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28329939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28329940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28329941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28329942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28329943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28329944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28329945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28329946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28329947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28329948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28329949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28330502 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019819, 'mtr_portfolio_id': 28330502, 'created_at': datetime.datetime(2025, 11, 7, 22, 19), 'result': '0.0422906398226138', 'result_long': None, 'result_double': None}] Qualite : 0.0422906398226138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28330502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28330502_07-11-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28330502 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28330502_07-11-2025_22_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28330550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28330551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28330552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28330553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28330554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28330555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28330556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28330557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28330558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28330559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28330560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28330561, 'pht': 3726}}" where mtr_portfolio_id = 28330502 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28330502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026948, 0.0422906398226138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28330502_07-11-2025_22_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28330550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28330551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28330552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28330553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28330554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28330555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28330556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28330557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28330558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28330559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28330560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28330561, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28331380 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4019906, 'mtr_portfolio_id': 28331380, 'created_at': datetime.datetime(2025, 11, 7, 22, 39, 1), 'result': '0.046122489474819714', 'result_long': None, 'result_double': None}] Qualite : 0.046122489474819714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28331380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28331380_07-11-2025_22_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28331380 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28331380_07-11-2025_22_39_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28331414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28331415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28331416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28331417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28331418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28331419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28331420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28331421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28331422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28331423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28331424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28331425, 'pht': 3726}}" where mtr_portfolio_id = 28331380 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28331380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026949, 0.046122489474819714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28331380_07-11-2025_22_39_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28331414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28331415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28331416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28331417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28331418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28331419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28331420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28331421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28331422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28331423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28331424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28331425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28332300 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4020001, 'mtr_portfolio_id': 28332300, 'created_at': datetime.datetime(2025, 11, 7, 22, 48, 57), 'result': '0.03810376055350146', 'result_long': None, 'result_double': None}] Qualite : 0.03810376055350146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28332300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332300_07-11-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28332300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332300_07-11-2025_22_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28332302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28332303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28332304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28332305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28332306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28332307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28332308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28332309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28332310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28332311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28332312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28332313, 'pht': 3726}}" where mtr_portfolio_id = 28332300 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28332300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026950, 0.03810376055350146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332300_07-11-2025_22_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28332302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28332303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28332304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28332305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28332306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28332307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28332308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28332309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28332310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28332311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28332312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28332313, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28332607 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4020023, 'mtr_portfolio_id': 28332607, 'created_at': datetime.datetime(2025, 11, 7, 23, 2, 57), 'result': '0.05449522759544123', 'result_long': None, 'result_double': None}] Qualite : 0.05449522759544123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28332607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332607_07-11-2025_23_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28332607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332607_07-11-2025_23_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28332630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28332631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28332632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28332633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28332634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28332635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28332636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28332637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28332638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28332639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28332640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28332641, 'pht': 3726}}" where mtr_portfolio_id = 28332607 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28332607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026951, 0.05449522759544123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28332607_07-11-2025_23_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28332630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28332631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28332632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28332633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28332634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28332635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28332636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28332637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28332638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28332639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28332640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28332641, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28333101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4020107, 'mtr_portfolio_id': 28333101, 'created_at': datetime.datetime(2025, 11, 7, 23, 18, 58), 'result': '0.04247959292103865', 'result_long': None, 'result_double': None}] Qualite : 0.04247959292103865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28333101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333101_07-11-2025_23_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28333101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333101_07-11-2025_23_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28333126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28333127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28333128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28333130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28333131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28333132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28333133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28333134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28333135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28333136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28333137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28333138, 'pht': 3726}}" where mtr_portfolio_id = 28333101 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28333101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026952, 0.04247959292103865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333101_07-11-2025_23_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28333126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28333127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28333128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28333130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28333131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28333132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28333133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28333134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28333135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28333136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28333137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28333138, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28333805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4020178, 'mtr_portfolio_id': 28333805, 'created_at': datetime.datetime(2025, 11, 7, 23, 33), 'result': '0.050577753018956305', 'result_long': None, 'result_double': None}] Qualite : 0.050577753018956305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28333805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333805_07-11-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28333805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333805_07-11-2025_23_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28333814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28333815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28333816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28333817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28333818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28333819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28333820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28333821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28333822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28333823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28333824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28333825, 'pht': 3726}}" where mtr_portfolio_id = 28333805 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28333805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026953, 0.050577753018956305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28333805_07-11-2025_23_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28333814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28333815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28333816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28333817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28333818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28333819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28333820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28333821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28333822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28333823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28333824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28333825, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28334504 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4020234, 'mtr_portfolio_id': 28334504, 'created_at': datetime.datetime(2025, 11, 7, 23, 48, 57), 'result': '0.05013317814772589', 'result_long': None, 'result_double': None}] Qualite : 0.05013317814772589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28334504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28334504_07-11-2025_23_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28334504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28334504_07-11-2025_23_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28334565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28334566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28334567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28334568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28334569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28334571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28334572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28334573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28334574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28334575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28334576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28334577, 'pht': 3726}}" where mtr_portfolio_id = 28334504 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28334504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026954, 0.05013317814772589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28334504_07-11-2025_23_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28334565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28334566, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28334567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28334568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28334569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28334571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28334572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28334573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28334574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28334575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28334576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28334577, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28335230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4020303, 'mtr_portfolio_id': 28335230, 'created_at': datetime.datetime(2025, 11, 8, 1, 1, 31), 'result': '0.05562878942506664', 'result_long': None, 'result_double': None}] Qualite : 0.05562878942506664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28335230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28335230_08-11-2025_01_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28335230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28335230_08-11-2025_01_01_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28335256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28335257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28335258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28335259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28335260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28335261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28335262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28335263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28335264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28335265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28335266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28335267, 'pht': 3726}}" where mtr_portfolio_id = 28335230 and dashboard_run_id = 2547340 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28335230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17026955, 0.05562878942506664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28335230_08-11-2025_01_01_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28335256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28335257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28335258, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28335259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28335260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28335261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28335262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28335263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28335264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28335265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28335266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28335267, '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 (28281663,28282061,28282493,28282879,28283926,28284433,28284864,28285404,28285972,28286424,28286911,28287492,28288007,28288467,28289357,28289750,28290275,28290672,28291027,28291656,28292160,28292616,28293148,28293906,28294381,28294932,28295475,28296108,28296762,28297390,28298769,28299301,28299744,28300271,28300829,28301414,28301853,28302605,28303360,28303548,28304084,28306060,28306403,28307002,28307458,28307873,28308316,28310070,28310846,28311675,28313170,28314461,28315582,28316494,28318620,28319269,28320006,28320801,28321466,28322540,28323312,28324232,28325221,28326126,28326783,28328153,28328626,28329174,28329931,28330502,28331380,28332300,28332607,28333101,28333805,28334504,28335230) result : ((1393022676,), (1393022677,), (1393022680,), (1393022682,), (1393022711,), (1393022714,), (1393022715,), (1393023161,), (1393023195,), (1393023228,), (1393023259,), (1393023289,), (1393023323,), (1393023664,), (1393023696,), (1393023731,), (1393023854,), (1393023965,), (1393024015,), (1393024378,), (1393024410,), (1393024416,), (1393024712,), (1393024753,), (1393024789,), (1393024826,), (1393024864,), (1393025240,), (1393025273,), (1393025310,), (1393025348,), (1393025418,), (1393025422,), (1393025424,), (1393025426,), (1393025457,), (1393025459,), (1393025460,), (1393025461,), (1393025548,), (1393025550,), (1393025551,), (1393025573,), (1393025575,), (1393025576,), (1393025577,), (1393025612,), (1393025614,), (1393025615,), (1393025616,), (1393025619,), (1393025671,), (1393025674,), (1393025678,), (1393025712,), (1393025711,), (1393025745,), (1393025747,), (1393025748,), (1393025817,), (1393025848,), (1393025850,), (1393025853,), (1393025856,), (1393025870,), (1393025891,), (1393025899,), (1393025905,), (1393025909,), (1393025912,), (1393025914,), (1393025926,), (1393025928,), (1393026111,), (1393026117,), (1393026119,), (1393026122,), (1393026127,), (1393026131,), (1393026146,), (1393026149,), (1393026151,), (1393026155,), (1393026165,), (1393026219,), (1393026220,), (1393026222,), (1393026226,), (1393026230,), (1393026244,), (1393026250,), (1393026257,), (1393026292,), (1393026297,), (1393026299,), (1393026308,), (1393026317,), (1393026598,), (1393026635,), (1393026688,), (1393026728,), (1393026759,), (1393026807,), (1393026809,), (1393026812,), (1393026815,), (1393026820,), (1393026836,), (1393026837,), (1393026838,), (1393026839,), (1393026846,), (1393026894,), (1393026896,), (1393026898,), (1393026899,), (1393026901,), (1393026938,), (1393026955,), (1393026958,), (1393026964,), (1393026981,), (1393026983,), (1393026934,), (1393026936,), (1393026989,), (1393026991,), (1393026996,), (1393027046,), (1393027048,), (1393027051,), (1393027066,), (1393027067,), (1393027068,), (1393027071,), (1393027085,), (1393027087,), (1393027089,), (1393027091,), (1393027094,), (1393027097,), (1393027146,), (1393027148,), (1393027162,), (1393027186,), (1393027187,), (1393027188,), (1393027191,), (1393027195,), (1393027198,), (1393027230,), (1393027232,), (1393027236,), (1393027240,), (1393027349,), (1393027388,), (1393027422,), (1393027457,), (1393027492,), (1393027529,), (1393027792,), (1393027797,), (1393027800,), (1393027891,), (1393027984,), (1393027987,), (1393027990,), (1393027994,), (1393028006,), (1393028039,), (1393028042,), (1393028045,), (1393028048,), (1393028052,), (1393028079,), (1393028075,), (1393028077,), (1393028118,), (1393028122,), (1393028131,), (1393028197,), (1393028202,), (1393028204,), (1393028224,), (1393028226,), (1393028230,), (1393028235,), (1393028239,), (1393028281,), (1393028282,), (1393028304,), (1393028309,), (1393028312,), (1393028456,), (1393028492,), (1393028527,), (1393028561,), (1393028595,), (1393028633,), (1393028914,), (1393028916,), (1393028917,), (1393028919,), (1393028922,), (1393028943,), (1393028945,), (1393028947,), (1393029005,), (1393029014,), (1393029017,), (1393029021,), (1393029049,), (1393029097,), (1393029102,), (1393029103,), (1393029105,), (1393029109,), (1393029153,), (1393029155,), (1393029157,), (1393029161,), (1393029208,), (1393029221,), (1393029229,), (1393029231,), (1393029235,), (1393029271,), (1393029273,), (1393029276,), (1393029278,), (1393029283,), (1393029285,), (1393029327,), (1393029342,), (1393029363,), (1393029382,), (1393029395,), (1393029403,), (1393029425,), (1393033090,), (1393033079,), (1393033081,), (1393033082,), (1393033085,), (1393033088,), (1393033100,), (1393033101,), (1393033102,), (1393033103,), (1393033107,), (1393033316,), (1393033348,), (1393033803,), (1393033834,), (1393033867,), (1393033897,), (1393033930,), (1393033961,), (1393034281,), (1393034312,), (1393034346,), (1393034377,), (1393034411,), (1393034445,), (1393034606,), (1393034607,), (1393034608,), (1393034737,), (1393034767,), (1393034798,), (1393034830,), (1393034861,), (1393035038,), (1393035047,), (1393035057,), (1393035058,), (1393035060,), (1393035062,), (1393035093,), (1393035094,), (1393035122,), (1393035123,), (1393035138,), (1393035144,), (1393035151,), (1393035165,), (1393035180,), (1393035188,), (1393035189,), (1393035191,), (1393035207,), (1393035235,), (1393035236,), (1393035237,), (1393035239,), (1393035274,), (1393035275,), (1393035276,), (1393035277,), (1393035296,), (1393035295,), (1393035330,), (1393035339,), (1393035341,), (1393035343,), (1393035346,), (1393035400,), (1393035401,), (1393035402,), (1393035417,), (1393035422,), (1393035425,), (1393035429,), (1393035432,), (1393035434,), (1393035450,), (1393035455,), (1393035456,), (1393035457,), (1393035472,), (1393035473,), (1393035474,), (1393035475,), (1393035477,), (1393035479,), (1393035492,), (1393035499,), (1393035501,), (1393035503,), (1393035506,), (1393035508,), (1393035557,), (1393035558,), (1393035559,), (1393035560,), (1393035562,), (1393035603,), (1393035605,), (1393035632,), (1393035633,), (1393035634,), (1393035636,), (1393035657,), (1393035658,), (1393035659,), (1393035661,), (1393035723,), (1393035724,), (1393035725,), (1393035727,), (1393035743,), (1393035744,), (1393035745,), (1393035747,), (1393035791,), (1393035795,), (1393035801,), (1393035805,), (1393035810,), (1393035818,), (1393035820,), (1393035822,), (1393035869,), (1393035872,), (1393035910,), (1393035921,), (1393035855,), (1393035859,), (1393035863,), (1393035867,), (1393035875,), (1393035878,), (1393035882,), (1393035889,), (1393035934,), (1393035936,), (1393035938,), (1393035940,), (1393036210,), (1393036239,), (1393036270,), (1393036693,), (1393036725,), (1393036755,), (1393037238,), (1393037239,), (1393037241,), (1393037243,), (1393037266,), (1393037268,), (1393037270,), (1393037272,), (1393037584,), (1393037621,), (1393037652,), (1393037839,), (1393037850,), (1393037865,), (1393037868,), (1393037892,), (1393037896,), (1393037897,), (1393037899,), (1393037901,), (1393037912,), (1393037914,), (1393037916,), (1393037920,), (1393037922,), (1393037926,), (1393037977,), (1393037979,), (1393037980,), (1393038037,), (1393038039,), (1393038054,), (1393038087,), (1393038089,), (1393038091,), (1393038094,), (1393038146,), (1393038149,), (1393038151,), (1393038153,), (1393038156,), (1393038189,), (1393038181,), (1393038183,), (1393038185,), (1393038187,), (1393038219,), (1393038225,), (1393038239,), (1393038298,), (1393038300,), (1393038301,), (1393038302,), (1393038316,), (1393038322,), (1393038323,), (1393038326,), (1393038346,), (1393038349,), (1393038351,), (1393038353,), (1393038403,), (1393038405,), (1393038407,), (1393038429,), (1393038485,), (1393038488,), (1393038546,), (1393038578,), (1393038582,), (1393038608,), (1393038611,), (1393038628,), (1393038629,), (1393038633,), (1393038635,), (1393038685,), (1393038687,), (1393038688,), (1393038690,), (1393038691,), (1393038718,), (1393038720,), (1393038722,), (1393038724,), (1393038727,), (1393038771,), (1393038774,), (1393038776,), (1393038799,), (1393038801,), (1393038804,), (1393038809,), (1393038798,), (1393038824,), (1393038826,), (1393038827,), (1393038829,), (1393038832,), (1393038840,), (1393038923,), (1393038930,), (1393038933,), (1393038937,), (1393038942,), (1393038964,), (1393038965,), (1393038966,), (1393038967,), (1393038973,), (1393038992,), (1393038995,), (1393038998,), (1393039029,), (1393039031,), (1393039033,), (1393039036,), (1393039040,), (1393039075,), (1393039076,), (1393039077,), (1393039079,), (1393039083,), (1393039085,), (1393039113,), (1393039115,), (1393039171,), (1393039174,), (1393039177,), (1393039182,), (1393039206,), (1393039208,), (1393039243,), (1393039251,), (1393039306,), (1393039307,), (1393039309,), (1393039313,), (1393039318,), (1393039374,), (1393039382,), (1393039418,), (1393039420,), (1393039421,), (1393039422,), (1393039426,), (1393039429,), (1393039455,), (1393039457,), (1393039461,), (1393039464,), (1393039465,), (1393039466,), (1393039468,), (1393039444,), (1393039446,), (1393039449,), (1393039453,), (1393039475,), (1393039479,), (1393039493,), (1393039520,), (1393039522,), (1393039524,), (1393039546,), (1393039551,), (1393039555,), (1393039619,), (1393039622,), (1393039636,), (1393039644,), (1393039663,), (1393039665,), (1393039667,), (1393039670,), (1393039674,), (1393039720,), (1393039724,), (1393039728,), (1393039732,), (1393039735,), (1393039738,), (1393039780,), (1393039782,), (1393039786,), (1393039790,), (1393039795,), (1393039827,), (1393039828,), (1393039829,), (1393039865,), (1393039868,), (1393039869,), (1393039870,), (1393039873,), (1393039876,), (1393039910,), (1393039938,), (1393039941,), (1393039945,), (1393039967,), (1393040021,), (1393040022,), (1393040023,), (1393040026,), (1393040030,), (1393040064,), (1393040066,), (1393040067,), (1393040068,), (1393040071,), (1393040119,), (1393040121,), (1393040123,), (1393040125,), (1393040128,), (1393040134,), (1393040246,), (1393040251,), (1393040256,), (1393040262,), (1393040272,), (1393040278,), (1393040284,), (1393040289,), (1393040342,), (1393040347,), (1393040354,), (1393040401,), (1393040403,), (1393040336,), (1393040340,), (1393040341,), (1393040380,), (1393040395,), (1393040452,), (1393040456,), (1393040459,), (1393040461,), (1393040463,), (1393040551,), (1393040553,), (1393040555,), (1393040559,), (1393040564,), (1393040567,), (1393040575,), (1393040577,), (1393040579,), (1393040626,), (1393040627,), (1393040640,), (1393040642,), (1393040649,), (1393040691,), (1393040693,), (1393040694,), (1393040696,), (1393040700,), (1393040702,), (1393040731,), (1393040737,), (1393040740,), (1393040798,), (1393040801,), (1393040806,), (1393040827,), (1393040848,), (1393040850,), (1393040851,), (1393040853,), (1393040856,), (1393040872,), (1393040874,), (1393040876,), (1393040899,), (1393040901,), (1393040904,), (1393040920,), (1393040942,), (1393041004,), (1393041018,), (1393041081,), (1393041084,), (1393041088,), (1393041107,), (1393041109,), (1393041112,), (1393041115,), (1393041137,), (1393041145,), (1393041161,), (1393041163,), (1393041216,), (1393041210,), (1393041214,), (1393041245,), (1393041256,), (1393041262,), (1393041268,), (1393041272,), (1393041276,), (1393041329,), (1393041331,), (1393041333,), (1393041337,), (1393041341,), (1393041344,), (1393041350,), (1393041351,), (1393041365,), (1393041368,), (1393041372,), (1393041378,), (1393041402,), (1393041404,), (1393041406,), (1393041409,), (1393041423,), (1393041435,), (1393041454,), (1393041456,), (1393041457,), (1393041458,), (1393041507,), (1393041509,), (1393041511,), (1393041541,), (1393041543,), (1393041544,), (1393041545,), (1393041549,), (1393041607,), (1393041609,), (1393041611,), (1393041613,), (1393041618,), (1393041621,), (1393041640,), (1393041641,), (1393041643,), (1393041687,), (1393041694,), (1393041718,), (1393041796,), (1393041797,), (1393041798,), (1393041812,), (1393041814,), (1393041820,), (1393041825,), (1393041834,), (1393041841,), (1393041879,), (1393041880,), (1393041882,), (1393041883,), (1393041918,), (1393041921,), (1393041932,), (1393041939,), (1393041948,), (1393041910,), (1393041911,), (1393041912,), (1393041914,), (1393041953,), (1393042006,), (1393042034,), (1393042036,), (1393042080,), (1393042082,), (1393042084,), (1393042086,), (1393042116,), (1393042118,), (1393042120,), (1393042123,), (1393042127,), (1393042131,), (1393042146,), (1393042148,), (1393042149,), (1393042156,), (1393042162,), (1393042164,), (1393042215,), (1393042225,), (1393042229,), (1393042275,), (1393042277,), (1393042280,), (1393042283,), (1393042287,), (1393042314,), (1393042315,), (1393042316,), (1393042317,), (1393042321,), (1393042345,), (1393042347,), (1393042348,), (1393042349,), (1393042352,), (1393042383,), (1393042384,), (1393042385,), (1393042447,), (1393042449,), (1393042457,), (1393042482,), (1393042486,), (1393042489,), (1393042513,), (1393042515,), (1393042516,), (1393042526,), (1393042535,), (1393042553,), (1393042610,), (1393042605,), (1393042608,), (1393042609,), (1393042648,), (1393042653,), (1393042656,), (1393042661,), (1393042674,), (1393042737,), (1393042739,), (1393042743,), (1393042746,), (1393042749,), (1393042753,), (1393042769,), (1393042814,), (1393042819,), (1393043230,), (1393046323,), (1393046321,), (1393046410,), (1393046413,), (1393046423,), (1393046456,), (1393046496,), (1393046916,), (1393046949,), (1393046982,), (1393047015,), (1393047048,), (1393047093,), (1393047244,), (1393047281,), (1393047451,), (1393047495,), (1393047535,), (1393047712,), (1393047714,), (1393047750,), (1393048606,), (1393048608,), (1393048610,), (1393048612,), (1393048640,), (1393048642,), (1393048644,), (1393048646,), (1393049078,), (1393049107,), (1393049143,), (1393049175,), (1393049211,), (1393049544,), (1393049706,), (1393049741,), (1393049788,), (1393049822,), (1393050048,), (1393050052,), (1393050064,), (1393050069,), (1393050082,), (1393050099,), (1393050121,), (1393050124,), (1393050127,), (1393050147,), (1393050158,), (1393050163,), (1393050169,), (1393050202,), (1393050569,), (1393050471,), (1393050504,), (1393050537,), (1393050792,), (1393050801,), (1393050815,), (1393050816,), (1393050820,), (1393050838,), (1393050870,), (1393050872,), (1393050875,), (1393050879,), (1393050884,), (1393050900,), (1393050911,), (1393050949,), (1393050950,), (1393051016,), (1393051018,), (1393051020,), (1393051052,), (1393051057,), (1393051068,), (1393051145,), (1393051286,), (1393051289,), (1393051355,), (1393051424,), (1393051425,), (1393051485,), (1393051487,), (1393051488,), (1393051489,), (1393051491,), (1393051547,), (1393051550,), (1393051553,), (1393051555,), (1393051571,), (1393051575,), (1393051518,), (1393051545,), (1393051596,), (1393051598,), (1393051599,), (1393051602,), (1393051628,), (1393051630,), (1393051632,), (1393051666,), (1393051667,), (1393051668,), (1393051691,), (1393051693,), (1393051695,), (1393051702,), (1393051738,), (1393051740,), (1393051742,), (1393051774,), (1393051780,), (1393051783,), (1393051787,), (1393051794,), (1393051797,), (1393051826,), (1393051828,), (1393051832,), (1393051878,), (1393051880,), (1393051881,), (1393051882,), (1393051884,), (1393051906,), (1393051910,), (1393051911,), (1393051913,), (1393051915,), (1393051941,), (1393051943,), (1393051944,), (1393051945,), (1393051985,), (1393051988,), (1393051991,), (1393052058,), (1393052060,), (1393052061,), (1393052062,), (1393052064,), (1393052065,), (1393052084,), (1393052086,), (1393052088,), (1393052091,), (1393052150,), (1393052153,), (1393052157,), (1393052160,), (1393052165,), (1393052167,), (1393052205,), (1393052206,), (1393052211,), (1393052212,), (1393052213,), (1393052214,), (1393052215,), (1393052216,), (1393052316,), (1393052319,), (1393052400,), (1393052404,), (1393052429,), (1393052430,), (1393052193,), (1393052197,), (1393052201,), (1393052203,), (1393052239,), (1393052246,), (1393052254,), (1393052292,), (1393052296,), (1393052298,), (1393052305,), (1393052307,), (1393052309,), (1393052312,), (1393052339,), (1393052343,), (1393052348,), (1393052351,), (1393052354,), (1393052357,), (1393052371,), (1393052372,), (1393052373,), (1393052386,), (1393052413,), (1393052414,), (1393052417,), (1393052418,), (1393052421,), (1393052422,), (1393052424,), (1393052425,), (1393052427,), (1393052428,), (1393052432,), (1393052434,), (1393052436,), (1393052439,), (1393052443,), (1393052446,), (1393052462,), (1393052465,), (1393052468,), (1393052472,), (1393052499,), (1393052500,), (1393052524,), (1393052531,), (1393052535,), (1393052602,), (1393052605,), (1393052607,), (1393052609,), (1393052612,), (1393052626,), (1393052629,), (1393052632,), (1393052637,), (1393052639,), (1393052641,), (1393052649,), (1393052652,), (1393052655,), (1393052663,), (1393052664,), (1393052666,), (1393052669,), (1393052671,), (1393052688,), (1393052726,), (1393052728,), (1393052731,), (1393052734,), (1393052776,), (1393052808,), (1393052846,), (1393052880,), (1393052915,), (1393052962,), (1393053384,), (1393053388,), (1393053391,), (1393053395,), (1393053398,), (1393053409,), (1393053413,), (1393053416,), (1393053423,), (1393053848,), (1393053884,), (1393053923,), (1393053975,), (1393054017,), (1393053540,), (1393053580,), (1393053614,), (1393053670,), (1393053709,), (1393053743,), (1393054239,), (1393054273,), (1393054310,), (1393054347,), (1393054385,), (1393054422,), (1393054464,), (1393054465,), (1393054469,), (1393054470,), (1393054471,), (1393054472,), (1393054475,), (1393054478,), (1393054744,), (1393054776,), (1393054809,), (1393054838,), (1393054862,), (1393054864,), (1393054919,), (1393054956,), (1393054970,), (1393054973,), (1393054974,), (1393054975,), (1393054977,), (1393054980,), (1393054983,), (1393055010,), (1393055014,), (1393055016,), (1393055017,), (1393055020,), (1393055046,), (1393055048,), (1393055050,), (1393055059,), (1393055068,), (1393055075,), (1393055125,), (1393055129,), (1393055536,), (1393055575,), (1393055597,), (1393055605,), (1393055608,), (1393055721,), (1393055725,), (1393055728,), (1393055733,), (1393055738,), (1393055740,), (1393055755,), (1393055757,), (1393055758,), (1393055761,), (1393055795,), (1393055803,), (1393055810,), (1393055814,), (1393055818,), (1393055871,), (1393055874,), (1393055877,), (1393055881,), (1393055884,), (1393055886,), (1393055891,), (1393055906,), (1393055908,), (1393055914,), (1393055915,), (1393055917,), (1393055922,), (1393055944,), (1393055946,), (1393055948,), (1393055950,), (1393055951,), (1393056015,), (1393056016,), (1393056017,), (1393056020,), (1393056023,), (1393056026,), (1393056042,), (1393056054,), (1393056057,), (1393056059,), (1393056093,), (1393056096,), (1393056098,), (1393056101,), (1393056103,), (1393056157,), (1393056159,), (1393056161,), (1393056163,), (1393056166,), (1393056223,), (1393056225,), (1393056227,), (1393056229,), (1393056246,), (1393056248,), (1393056250,), (1393056253,), (1393056258,), (1393056262,), (1393056329,), (1393056331,), (1393056332,), (1393056334,), (1393056366,), (1393056383,), (1393056386,), (1393056392,), (1393056396,), (1393056352,), (1393056354,), (1393056358,), (1393056360,), (1393056362,), (1393056400,), (1393056412,), (1393056420,), (1393056430,), (1393056454,), (1393056456,), (1393056458,), (1393056461,), (1393056467,), (1393056490,), (1393056491,), (1393056492,), (1393056495,), (1393056499,), (1393056502,), (1393056519,), (1393056521,), (1393056524,), (1393056582,), (1393056586,), (1393056587,), (1393056599,), (1393056603,), (1393056617,), (1393056684,), (1393056686,), (1393056687,), (1393056694,), (1393056697,), (1393056870,), (1393056871,), (1393056939,), (1393056942,), (1393056945,), (1393056948,), (1393056952,), (1393056955,), (1393056983,), (1393056984,), (1393056985,), (1393056987,), (1393056990,), (1393057018,), (1393057019,), (1393057020,), (1393057023,), (1393057053,), (1393057054,), (1393057055,), (1393057057,), (1393057062,), (1393057067,), (1393057097,), (1393057116,), (1393057118,), (1393057121,), (1393057151,), (1393057154,), (1393057156,), (1393057158,), (1393057161,), (1393057169,), (1393057215,), (1393057217,), (1393057219,), (1393057221,), (1393057258,), (1393057251,), (1393057253,), (1393057255,), (1393057280,), (1393057282,), (1393057284,), (1393057456,), (1393057457,), (1393057458,), (1393057490,), (1393057493,), (1393057517,), (1393057521,), (1393057524,), (1393057530,), (1393057540,), (1393057614,), (1393057615,), (1393057617,), (1393057636,), (1393057642,), (1393057646,), (1393057652,), (1393057658,), (1393057685,), (1393057691,), (1393057693,), (1393057696,), (1393057700,), (1393057736,), (1393057738,), (1393057740,), (1393057743,), (1393057764,), (1393057767,), (1393057785,), (1393057792,), (1393057795,), (1393057797,), (1393057927,), (1393057932,), (1393057935,), (1393057940,), (1393057951,), (1393057954,), (1393057956,), (1393057960,), (1393057962,), (1393058094,), (1393058140,), (1393058181,), (1393058614,), (1393058647,), (1393058681,), (1393057986,), (1393058013,), (1393058058,), (1393058299,), (1393058332,), (1393058369,), (1393058401,), (1393058434,), (1393058482,), (1393058724,), (1393058726,), (1393058729,), (1393058733,), (1393058935,), (1393058942,), (1393058953,), (1393058967,), (1393058978,), (1393058983,), (1393059043,), (1393059053,), (1393059054,), (1393059056,), (1393059091,), (1393059092,), (1393059093,), (1393059096,), (1393059099,), (1393059118,), (1393059120,), (1393059122,), (1393059128,), (1393059139,), (1393059149,), (1393059164,), (1393059173,), (1393059190,), (1393059192,), (1393059195,), (1393059265,), (1393059268,), (1393059270,), (1393059273,), (1393059277,), (1393059280,), (1393059315,), (1393059318,), (1393059319,), (1393059322,), (1393059404,), (1393059407,), (1393059409,), (1393059412,), (1393059416,), (1393059418,), (1393059467,), (1393059468,), (1393059469,), (1393059472,), (1393059476,), (1393059495,), (1393059497,), (1393059513,), (1393059521,), (1393059543,), (1393059575,), (1393059688,), (1393059690,), (1393059692,), (1393059695,), (1393059696,), (1393059698,), (1393059717,), (1393059718,), (1393059719,), (1393059722,), (1393059763,), (1393059864,), (1393059748,), (1393059751,), (1393059754,), (1393059759,), (1393059796,), (1393059797,), (1393059798,), (1393059800,), (1393059802,), (1393059805,), (1393059834,), (1393059873,), (1393059874,), (1393059876,), (1393059879,), (1393059882,), (1393059912,), (1393059922,), (1393059930,), (1393059934,), (1393059937,), (1393059940,), (1393059962,), (1393059967,), (1393059979,), (1393060012,), (1393060022,), (1393060025,), (1393060029,), (1393060033,), (1393060037,), (1393060046,), (1393060049,), (1393060052,), (1393060055,), (1393060059,), (1393060094,), (1393060096,), (1393060097,), (1393060098,), (1393060101,), (1393060166,), (1393060167,), (1393060168,), (1393060170,), (1393060173,), (1393060176,), (1393060201,), (1393060203,), (1393060205,), (1393060210,), (1393060258,), (1393060260,), (1393060261,), (1393060262,), (1393060265,), (1393060267,), (1393060309,), (1393060310,), (1393060312,), (1393060332,), (1393060335,), (1393060337,), (1393060352,), (1393060353,), (1393060354,), (1393060355,), (1393060368,), (1393060371,), (1393060374,), (1393060378,), (1393060382,), (1393060383,), (1393060408,), (1393060411,), (1393060413,), (1393060415,), (1393060436,), (1393060437,), (1393060438,), (1393060441,), (1393060444,), (1393060447,), (1393060495,), (1393060497,), (1393060503,), (1393060505,), (1393060507,), (1393060514,), (1393060516,), (1393060481,), (1393060484,), (1393060487,), (1393060491,), (1393060519,), (1393060521,), (1393060524,), (1393060527,), (1393060531,), (1393060578,), (1393060579,), (1393060580,), (1393060582,), (1393060585,), (1393060610,), (1393060612,), (1393060614,), (1393060616,), (1393060640,), (1393060642,), (1393060643,), (1393060644,), (1393060646,), (1393060648,), (1393060689,), (1393060692,), (1393060694,), (1393060698,), (1393060728,), (1393060733,), (1393060735,), (1393060837,), (1393060859,), (1393060887,), (1393060890,), (1393061045,), (1393061047,), (1393061049,), (1393061097,), (1393061100,), (1393061102,), (1393061104,), (1393061136,), (1393061131,), (1393061134,), (1393061135,), (1393061154,), (1393061156,), (1393061158,), (1393061162,), (1393061196,), (1393061200,), (1393061205,), (1393061217,), (1393061227,), (1393061238,), (1393061264,), (1393061266,), (1393061267,), (1393061269,), (1393061330,), (1393061332,), (1393061334,), (1393061336,), (1393061341,), (1393061346,), (1393061390,), (1393061393,), (1393061397,), (1393061443,), (1393061445,), (1393061446,), (1393061447,), (1393061449,), (1393061452,), (1393061470,), (1393061472,), (1393061473,), (1393061511,), (1393061514,), (1393061528,), (1393061543,), (1393061552,), (1393061556,), (1393061584,), (1393061586,), (1393061587,), (1393061595,), (1393061603,), (1393061605,), (1393061642,), (1393061643,), (1393061644,), (1393061701,), (1393061705,), (1393061708,), (1393061711,), (1393061715,), (1393061758,), (1393061759,), (1393061761,), (1393061764,), (1393061768,), (1393061771,), (1393061781,), (1393061784,), (1393061786,), (1393061787,), (1393061788,), (1393061817,), (1393061819,), (1393061823,), (1393061825,), (1393061854,), (1393061858,), (1393061860,), (1393061871,), (1393061874,), (1393061880,), (1393061845,), (1393061848,), (1393061851,), (1393061893,), (1393061896,), (1393061899,), (1393061904,), (1393061909,), (1393061912,), (1393061986,), (1393061989,), (1393061990,), (1393061992,), (1393061995,), (1393062407,), (1393062488,), (1393062554,), (1393062616,), (1393062679,), (1393062747,), (1393063351,), (1393063389,), (1393063427,), (1393063466,), (1393063662,), (1393063696,), (1393063728,), (1393063764,), (1393063799,), (1393063807,), (1393064106,), (1393064140,), (1393064156,), (1393064165,), (1393064268,), (1393064270,), (1393064272,), (1393064277,), (1393064280,), (1393064283,), (1393064298,), (1393064309,), (1393064321,), (1393064331,), (1393064356,), (1393064358,), (1393064360,), (1393064363,), (1393064366,), (1393064396,), (1393064397,), (1393064398,), (1393064400,), (1393064402,), (1393064436,), (1393064441,), (1393064444,), (1393064447,), (1393064451,), (1393064455,), (1393064477,), (1393064480,), (1393064481,), (1393064485,), (1393064551,), (1393064552,), (1393064553,), (1393064557,), (1393064567,), (1393064569,), (1393064583,), (1393064585,), (1393064587,), (1393064591,), (1393064639,), (1393064645,), (1393064651,), (1393064657,), (1393064661,), (1393064665,), (1393064701,), (1393064676,), (1393064689,), (1393064692,), (1393064695,), (1393064698,), (1393064714,), (1393064716,), (1393064718,), (1393064722,), (1393064729,), (1393064735,), (1393064796,), (1393064798,), (1393064800,), (1393064804,), (1393064808,), (1393064810,), (1393064816,), (1393064820,), (1393064853,), (1393064886,), (1393065005,), (1393065039,), (1393065070,), (1393065104,), (1393065138,), (1393065162,), (1393065193,), (1393065194,), (1393065195,), (1393065198,), (1393065240,), (1393065242,), (1393065245,), (1393065249,), (1393065254,), (1393065287,), (1393065289,), (1393065290,), (1393065292,), (1393065295,), (1393065320,), (1393065321,), (1393065322,), (1393065325,), (1393065329,), (1393065332,), (1393065384,), (1393065387,), (1393065390,), (1393065393,), (1393065419,), (1393065427,), (1393065434,), (1393065443,), (1393065445,), (1393065448,), (1393065483,), (1393065484,), (1393065485,), (1393065487,), (1393065490,), (1393065535,), (1393065537,), (1393065540,), (1393065542,), (1393065545,), (1393065550,), (1393065589,), (1393065591,), (1393065593,), (1393065618,), (1393065621,), (1393065622,), (1393065625,), (1393065628,), (1393065631,), (1393065693,), (1393065696,), (1393065701,), (1393065704,), (1393065761,), (1393065772,), (1393065775,), (1393065778,), (1393065783,), (1393065726,), (1393065731,), (1393065743,), (1393065751,), (1393065760,), (1393065814,), (1393065817,), (1393065821,), (1393065832,), (1393065843,), (1393065846,), (1393065941,), (1393065975,), (1393065989,), (1393066045,), (1393066048,), (1393066051,), (1393066054,), (1393066060,), (1393066080,), (1393066082,), (1393066083,), (1393066085,), (1393066089,), (1393066093,), (1393066120,), (1393066121,), (1393066122,), (1393066145,), (1393066148,), (1393066149,), (1393066154,), (1393066165,), (1393066169,), (1393066196,), (1393066199,), (1393066202,), (1393066205,), (1393066210,), (1393066214,), (1393066266,), (1393066267,), (1393066268,), (1393066270,), (1393066273,), (1393066276,), (1393066298,), (1393066304,), (1393066306,), (1393066308,), (1393066311,), (1393066315,), (1393066322,), (1393066330,), (1393066359,), (1393066363,), (1393066367,), (1393066372,), (1393066378,), (1393066381,), (1393066434,), (1393066435,), (1393066436,), (1393066438,), (1393066463,), (1393066469,), (1393066473,), (1393066483,), (1393066487,), (1393066521,), (1393066523,), (1393066525,), (1393066528,), (1393066531,), (1393066551,), (1393066719,), (1393066753,), (1393066784,), (1393066883,), (1393066865,), (1393066867,), (1393066868,), (1393066880,), (1393066973,), (1393066981,), (1393066983,), (1393066985,), (1393066987,), (1393067049,), (1393067051,), (1393067052,), (1393067054,), (1393067099,), (1393067100,), (1393067111,), (1393067114,), (1393067117,), (1393067120,), (1393067126,), (1393067128,), (1393067129,), (1393067130,), (1393067140,), (1393067143,), (1393067157,), (1393067169,), (1393067205,), (1393067208,), (1393067211,), (1393067214,), (1393067219,), (1393067246,), (1393067249,), (1393067251,), (1393067254,), (1393067318,), (1393067319,), (1393067320,), (1393067323,), (1393067327,), (1393067342,), (1393067370,), (1393067372,), (1393067374,), (1393067396,), (1393067399,), (1393067401,), (1393067416,), (1393067419,), (1393067422,), (1393067451,), (1393067452,), (1393067453,), (1393067455,), (1393067470,), (1393067474,), (1393067480,), (1393067487,), (1393067493,), (1393067499,), (1393067522,), (1393067525,), (1393067527,), (1393067530,), (1393067550,), (1393067552,), (1393067961,), (1393067965,), (1393067969,), (1393067990,), (1393068017,), (1393068046,), (1393068117,), (1393068121,), (1393068144,), (1393068150,), (1393068156,), (1393068164,), (1393068198,), (1393068203,), (1393068208,), (1393068211,), (1393068222,), (1393068229,), (1393068264,), (1393068265,), (1393068267,), (1393068269,), (1393069884,), (1393069880,), (1393069881,), (1393069882,), (1393069957,), (1393069959,), (1393069961,), (1393069963,), (1393069967,), (1393069969,), (1393069996,), (1393069998,), (1393069999,), (1393070022,), (1393070024,), (1393070026,), (1393070030,), (1393070034,), (1393070037,), (1393070071,), (1393070075,), (1393070077,), (1393070080,), (1393070084,), (1393070104,), (1393070113,), (1393070119,), (1393070201,), (1393070209,), (1393070213,), (1393070216,), (1393070221,), (1393070224,), (1393070250,), (1393070252,), (1393070254,), (1393070256,), (1393070259,), (1393070262,), (1393070281,), (1393070282,), (1393070283,), (1393070286,), (1393070289,), (1393070293,), (1393070309,), (1393070311,), (1393070334,), (1393070341,), (1393070342,), (1393070346,), (1393070349,), (1393070352,), (1393070356,), (1393070361,), (1393070363,), (1393070376,), (1393070378,), (1393070380,), (1393070437,), (1393070438,), (1393070441,), (1393070449,), (1393070454,), (1393070457,), (1393070485,), (1393070486,), (1393070487,), (1393070490,), (1393070493,), (1393070503,), (1393070537,), (1393070541,), (1393070543,), (1393070545,), (1393070548,), (1393070588,), (1393070577,), (1393070580,), (1393070581,), (1393070583,), (1393070586,), (1393070617,), (1393070619,), (1393070623,), (1393070629,), (1393070651,), (1393070653,), (1393070655,), (1393070658,), (1393070662,), (1393070676,), (1393070678,), (1393070679,), (1393070685,), (1393070693,), (1393070716,), (1393070717,), (1393070718,), (1393070721,), (1393070725,), (1393070777,), (1393070779,), (1393070781,), (1393070784,), (1393070787,), (1393070816,), (1393070818,), (1393070820,), (1393070822,), (1393070825,), (1393070830,), (1393070874,), (1393070875,), (1393070876,), (1393070877,), (1393070910,), (1393070911,), (1393070913,), (1393070916,), (1393070919,), (1393070954,), (1393070957,), (1393070982,), (1393071014,), (1393071044,), (1393071046,), (1393071048,), (1393071051,), (1393071054,), (1393071063,), (1393071093,), (1393071094,), (1393071095,), (1393071097,), (1393071100,), (1393071151,), (1393071154,), (1393071155,), (1393071156,), (1393071174,), (1393071223,), (1393071229,), (1393071234,), (1393071238,), (1393071241,), (1393071245,), (1393071273,), (1393071276,), (1393071291,), (1393071293,), (1393071295,), (1393071296,), (1393071299,), (1393071263,), (1393071266,), (1393071268,), (1393071270,), (1393071317,), (1393071354,), (1393071393,), (1393071446,), (1393071801,), (1393071838,), (1393071871,), (1393071901,), (1393071936,), (1393071972,), (1393072314,), (1393072347,), (1393072381,), (1393072413,), (1393072446,), (1393072581,), (1393072582,), (1393072583,), (1393072586,), (1393072590,), (1393072686,), (1393072719,), (1393072751,), (1393072786,), (1393073118,), (1393073144,), (1393073163,), (1393073173,), (1393073186,), (1393073214,), (1393073311,), (1393073312,), (1393073313,), (1393073314,), (1393073335,), (1393073337,), (1393073339,), (1393073342,), (1393073345,), (1393073376,), (1393073379,), (1393073381,), (1393073383,), (1393073408,), (1393073409,), (1393073411,), (1393073423,), (1393073431,), (1393073443,), (1393073462,), (1393073466,), (1393073473,), (1393073478,), (1393073487,), (1393073489,), (1393073492,), (1393073494,), (1393073514,), (1393073518,), (1393073525,), (1393073527,), (1393073529,), (1393073578,), (1393073579,), (1393073580,), (1393073581,), (1393073583,), (1393073617,), (1393073623,), (1393073625,), (1393073628,), (1393073632,), (1393073655,), (1393073646,), (1393073649,), (1393073651,), (1393073652,), (1393073695,), (1393073699,), (1393073705,), (1393073711,), (1393073725,), (1393073825,), (1393073829,), (1393073833,), (1393073837,), (1393073841,), (1393073844,), (1393073858,), (1393073869,), (1393073875,), (1393073877,), (1393073916,), (1393073918,), (1393073934,), (1393073942,), (1393073946,), (1393073965,), (1393074024,), (1393074032,), (1393074036,), (1393074039,), (1393074042,), (1393074044,), (1393074057,), (1393074063,), (1393074065,), (1393074067,), (1393074086,), (1393074089,), (1393074093,), (1393074096,), (1393074099,), (1393074102,), (1393074117,), (1393074119,), (1393074123,), (1393074173,), (1393074181,), (1393074185,), (1393074190,), (1393074192,), (1393074194,), (1393074209,), (1393074212,), (1393074215,), (1393074217,), (1393074225,), (1393074264,), (1393074265,), (1393074266,), (1393074270,), (1393074273,), (1393074301,), (1393074308,), (1393074311,), (1393074313,), (1393074368,), (1393074371,), (1393074372,), (1393074374,), (1393074377,), (1393074435,), (1393074436,), (1393074437,), (1393074439,), (1393074499,), (1393074502,), (1393074506,), (1393074509,), (1393074513,), (1393074517,), (1393074544,), (1393074660,), (1393074541,), (1393074543,), (1393074563,), (1393074565,), (1393074568,), (1393074572,), (1393074576,), (1393074594,), (1393074648,), (1393074676,), (1393074680,), (1393074684,), (1393074689,), (1393074711,), (1393074714,), (1393074715,), (1393074716,), (1393074717,), (1393074720,), (1393074748,), (1393074957,), (1393074960,), (1393074962,), (1393075001,), (1393075011,), (1393075012,), (1393075013,), (1393075015,), (1393075035,), (1393075049,), (1393075074,), (1393075077,), (1393075079,), (1393075082,), (1393075084,), (1393075094,), (1393075115,), (1393075117,), (1393075123,), (1393075126,), (1393075128,), (1393075131,), (1393075136,), (1393075146,), (1393075178,), (1393075179,), (1393075182,), (1393075253,), (1393075256,), (1393075258,), (1393075262,), (1393075266,), (1393075269,), (1393075316,), (1393075284,), (1393075287,), (1393075292,), (1393075305,), (1393075313,), (1393075339,), (1393075341,), (1393075342,), (1393075446,), (1393075448,), (1393075450,), (1393075454,), (1393075457,), (1393075460,), (1393075481,), (1393075486,), (1393075488,), (1393075491,), (1393075506,), (1393075507,), (1393075508,), (1393075548,), (1393075549,), (1393075550,), (1393075552,), (1393075556,), (1393075559,), (1393075593,), (1393075596,), (1393075599,), (1393075601,), (1393075614,), (1393075623,), (1393075697,), (1393075699,), (1393075702,), (1393075705,), (1393075707,), (1393075715,), (1393075727,), (1393075731,), (1393075735,), (1393075739,), (1393075741,), (1393075745,), (1393075751,), (1393075752,), (1393075756,), (1393075760,), (1393075763,), (1393075767,), (1393075775,), (1393075794,), (1393075798,), (1393075801,), (1393075803,), (1393075827,), (1393075831,), (1393075834,), (1393075838,), (1393075908,), (1393075910,), (1393075911,), (1393075913,), (1393075917,), (1393075919,), (1393075936,), (1393075937,), (1393075938,), (1393075940,), (1393075944,), (1393076352,), (1393076357,), (1393076362,), (1393076365,), (1393076369,), (1393076490,), (1393076580,), (1393076898,), (1393076567,), (1393076574,), (1393076577,), (1393076606,), (1393076609,), (1393076646,), (1393076681,), (1393076717,), (1393076760,), (1393077078,), (1393077590,), (1393077622,), (1393077651,), (1393077866,), (1393077868,), (1393077870,), (1393077873,), (1393077876,), (1393077970,), (1393077972,), (1393078001,), (1393078038,), (1393078422,), (1393078445,), (1393078446,), (1393078456,), (1393078624,), (1393078626,), (1393078635,), (1393078647,), (1393078656,), (1393078659,), (1393078663,), (1393078665,), (1393078675,), (1393078677,), (1393078678,), (1393078679,), (1393078680,), (1393078681,), (1393078715,), (1393078718,), (1393078721,), (1393078725,), (1393078768,), (1393078770,), (1393078772,), (1393078809,), (1393078811,), (1393078814,), (1393078817,), (1393078820,), (1393078868,), (1393078871,), (1393078874,), (1393078875,), (1393078917,), (1393078919,), (1393078922,), (1393078924,), (1393078935,), (1393079008,), (1393079005,), (1393079033,), (1393079034,), (1393079035,), (1393079086,), (1393079090,), (1393079092,), (1393079094,), (1393079098,), (1393079118,), (1393079119,), (1393079122,), (1393079131,), (1393079134,), (1393079225,), (1393079227,), (1393079284,), (1393079359,), (1393079363,), (1393079481,), (1393079559,), (1393079562,), (1393079564,), (1393079632,), (1393079634,), (1393079637,), (1393079640,), (1393079709,), (1393079711,), (1393079713,), (1393079715,), (1393079783,), (1393080131,), (1393080114,), (1393080121,), (1393080185,), (1393080187,), (1393080228,), (1393080231,), (1393080232,), (1393080233,), (1393080257,), (1393080259,), (1393080261,), (1393080263,), (1393080266,), (1393080269,), (1393080306,), (1393080309,), (1393080311,), (1393080312,), (1393080476,), (1393080510,), (1393080540,), (1393080572,), (1393080907,), (1393080913,), (1393080918,), (1393080925,), (1393080927,), (1393080928,), (1393080937,), (1393080939,), (1393080941,), (1393080944,), (1393080946,), (1393080949,), (1393080952,), (1393081010,), (1393081017,), (1393081021,), (1393081025,), (1393081062,), (1393081052,), (1393081054,), (1393081056,), (1393081058,), (1393081083,), (1393081085,), (1393081160,), (1393081174,), (1393081371,), (1393081377,), (1393081378,), (1393081564,), (1393081567,), (1393081569,), (1393081617,), (1393081619,), (1393081621,), (1393081653,), (1393081661,), (1393081667,), (1393081964,), (1393082035,), (1393082251,), (1393082356,), (1393082359,), (1393082362,), (1393082364,), (1393082370,), (1393082378,), (1393082405,), (1393082407,), (1393082409,), (1393082411,), (1393082415,), (1393082426,), (1393082457,), (1393082459,), (1393082461,), (1393082515,), (1393082516,), (1393082517,), (1393082519,), (1393082522,), (1393082525,), (1393082962,), (1393083042,), (1393083108,), (1393083175,), (1393083461,), (1393083462,), (1393083530,), (1393083536,), (1393083599,), (1393083607,), (1393083661,), (1393083664,), (1393083868,), (1393083833,), (1393084253,), (1393084254,), (1393084310,), (1393084331,), (1393084348,), (1393084551,), (1393084583,), (1393084618,), (1393084657,), (1393085097,), (1393085168,), (1393085231,), (1393085296,), (1393085361,), (1393085849,), (1393085852,), (1393085853,), (1393085854,), (1393085856,), (1393085918,), (1393085922,), (1393085926,), (1393086352,), (1393086378,), (1393086556,), (1393086558,), (1393086560,), (1393086568,), (1393086577,), (1393086637,), (1393086638,), (1393086639,), (1393086642,), (1393086661,), (1393086694,), (1393086798,), (1393086799,), (1393086808,), (1393086896,), (1393086927,), (1393086960,), (1393097247,), (1393098487,), (1393098489,), (1393098490,), (1393098491,), (1393098501,), (1393098503,), (1393098505,), (1393098507,), (1393098510,), (1393098550,), (1393098553,), (1393098626,), (1393098627,), (1393098628,), (1393098629,), (1393098891,), (1393098925,), (1393098959,), (1393098993,), (1393099028,), (1393099223,), (1393099224,), (1393099225,), (1393099227,), (1393099229,), (1393099251,), (1393099252,), (1393099259,), (1393099269,), (1393099282,), (1393099290,), (1393099297,), (1393099299,), (1393099302,), (1393099303,), (1393099304,), (1393099305,), (1393099307,), (1393099309,), (1393099371,), (1393099390,), (1393099425,), (1393099455,), (1393099880,), (1393099886,), (1393099891,), (1393099896,), (1393099900,), (1393099902,), (1393099909,), (1393099910,), (1393099912,), (1393099914,), (1393099916,), (1393100023,), (1393100057,), (1393100092,), (1393100131,), (1393100517,), (1393100659,), (1393099958,), (1393099990,), (1393100303,), (1393100338,), (1393100373,), (1393100403,), (1393100460,), (1393100785,), (1393100820,), (1393100879,), (1393100939,), (1393100974,), (1393101009,), (1393101301,), (1393101333,), (1393101369,), (1393101399,), (1393101677,), (1393101708,), (1393101743,), (1393101766,), (1393101791,), (1393101914,), (1393101916,), (1393101920,), (1393101923,), (1393101926,), (1393101929,), (1393101947,), (1393101949,), (1393101951,), (1393101966,), (1393101970,), (1393102030,), (1393102034,), (1393102037,), (1393102040,), (1393102059,), (1393102061,), (1393102063,), (1393102107,), (1393102133,), (1393102138,), (1393102147,), (1393102158,), (1393102180,), (1393102189,), (1393102192,), (1393102196,), (1393102198,), (1393102201,), (1393102256,), (1393102258,), (1393102261,), (1393102266,), (1393102302,), (1393102303,), (1393102304,), (1393102353,), (1393102898,), (1393102809,), (1393102842,), (1393102877,), (1393102895,), (1393102912,), (1393102913,), (1393102914,), (1393102917,), (1393102921,), (1393103036,), (1393103038,), (1393103041,), (1393103043,), (1393103047,), (1393103079,), (1393103083,), (1393103089,), (1393103099,), (1393103103,), (1393103138,), (1393103139,), (1393103140,), (1393103143,), (1393103147,), (1393103150,), (1393103164,), (1393103168,), (1393103172,), (1393103175,), (1393103212,), (1393103214,), (1393103216,), (1393103219,), (1393103224,), (1393103228,), (1393103268,), (1393103270,), (1393103271,), (1393103273,), (1393103276,), (1393103353,), (1393103355,), (1393103396,), (1393103508,), (1393103512,), (1393103515,), (1393103590,), (1393103602,), (1393103608,), (1393104406,), (1393104413,), (1393104423,), (1393104485,), (1393104486,), (1393104660,), (1393104662,), (1393104664,), (1393104665,), (1393104461,), (1393104467,), (1393104473,), (1393104481,), (1393104628,), (1393104631,), (1393104635,), (1393104638,), (1393104642,), (1393104645,), (1393104656,), (1393104659,), (1393104673,), (1393104674,), (1393104684,), (1393104699,), (1393104703,), (1393104707,), (1393104733,), (1393104736,), (1393104737,), (1393104738,), (1393104742,), (1393104811,), (1393104812,), (1393104814,), (1393104817,), (1393104821,), (1393104824,), (1393104850,), (1393104857,), (1393104868,), (1393104870,), (1393104874,), (1393104905,), (1393104908,), (1393104910,), (1393104912,), (1393105017,), (1393105175,), (1393105211,), (1393105247,), (1393105288,), (1393105324,), (1393105490,), (1393105493,), (1393105496,), (1393105500,), (1393105524,), (1393105526,), (1393105528,), (1393105529,), (1393105532,), (1393105567,), (1393105568,), (1393105569,), (1393105572,), (1393105576,), (1393105579,), (1393105626,), (1393105628,), (1393105630,), (1393105661,), (1393105669,), (1393105671,), (1393105675,), (1393105679,), (1393105681,), (1393105702,), (1393105705,), (1393105707,), (1393105710,), (1393105713,), (1393105716,), (1393105762,), (1393105751,), (1393105758,), (1393105759,), (1393105783,), (1393105786,), (1393105788,), (1393105793,), (1393105797,), (1393105827,), (1393105832,), (1393105835,), (1393105839,), (1393105841,), (1393105852,), (1393105857,), (1393105861,), (1393105965,), (1393105995,), (1393106027,), (1393106062,), (1393106351,), (1393106355,), (1393106360,), (1393106362,), (1393106387,), (1393106391,), (1393106393,), (1393106395,), (1393106398,), (1393106449,), (1393106450,), (1393106451,), (1393106452,), (1393106455,), (1393106516,), (1393106518,), (1393106520,), (1393106523,), (1393106527,), (1393106530,), (1393106564,), (1393106566,), (1393106568,), (1393106611,), (1393106614,), (1393106616,), (1393106618,), (1393106621,), (1393106683,), (1393106685,), (1393106687,), (1393106690,), (1393106694,), (1393106745,), (1393106750,), (1393106755,), (1393106760,), (1393106765,), (1393107166,), (1393107175,), (1393107181,), (1393107186,), (1393107196,), (1393107197,), (1393107199,), (1393107200,), (1393107202,), (1393107203,), (1393107206,), (1393107207,), (1393107216,), (1393107217,), (1393107615,), (1393107650,), (1393107684,), (1393107714,), (1393108156,), (1393108192,), (1393107530,), (1393107582,), (1393107822,), (1393107853,), (1393107892,), (1393107934,), (1393107973,), (1393108011,), (1393108321,), (1393108359,), (1393108391,), (1393108947,), (1393109009,), (1393109071,), (1393109129,), (1393109167,), (1393109703,), (1393109734,), (1393109765,), (1393109797,), (1393109829,), (1393109950,), (1393109965,), (1393109966,), (1393109969,), (1393110200,), (1393110269,), (1393110355,), (1393110728,), (1393110751,), (1393110752,), (1393110766,), (1393110881,), (1393110882,), (1393110883,), (1393110885,), (1393110922,), (1393110924,), (1393110926,), (1393110928,), (1393110930,), (1393110952,), (1393110955,), (1393110956,), (1393110957,), (1393111020,), (1393111022,), (1393111083,), (1393111086,), (1393111123,), (1393111124,), (1393111125,), (1393111153,), (1393111155,), (1393111278,), (1393117399,), (1393117512,), (1393118494,), (1393118545,), (1393118580,), (1393119138,), (1393119147,), (1393119149,), (1393119432,), (1393119434,), (1393119584,), (1393119714,), (1393119754,), (1393120044,), (1393120075,), (1393120910,), (1393120999,), (1393121074,), (1393121138,), (1393121184,), (1393121563,), (1393121622,), (1393121684,), (1393121721,), (1393121905,), (1393121918,), (1393121969,), (1393122016,), (1393122144,), (1393122172,), (1393122202,), (1393122706,), (1393122744,), (1393122777,), (1393122832,), (1393123184,), (1393123219,), (1393123254,), (1393123287,), (1393123321,), (1393123810,), (1393123551,), (1393123630,), (1393123695,), (1393123780,), (1393123904,), (1393123907,), (1393123910,), (1393123913,), (1393123917,), (1393123920,), (1393123994,), (1393123997,), (1393124000,), (1393124002,), (1393124125,), (1393124162,), (1393124191,), (1393124232,), (1393124276,), (1393124471,), (1393124475,), (1393124482,), (1393124491,), (1393124508,), (1393124719,), (1393124743,), (1393124750,), (1393124758,), (1393124771,), (1393125062,), (1393125093,), (1393125198,), (1393125199,), (1393125200,), (1393125203,), (1393125206,), (1393125660,), (1393125751,), (1393125813,), (1393126459,), (1393126496,), (1393126528,), (1393126903,), (1393127038,), (1393127060,), (1393127064,), (1393127098,), (1393127099,), (1393127101,), (1393127103,), (1393127167,), (1393127168,), (1393127172,), (1393127181,), (1393127310,), (1393127312,), (1393127314,), (1393127316,), (1393127803,), (1393127820,), (1393127827,), (1393127888,), (1393127964,), (1393128180,), (1393128161,), (1393128171,), (1393128175,), (1393128177,), (1393128271,), (1393128274,), (1393128277,), (1393128280,), (1393128304,), (1393128592,), (1393128679,), (1393128744,), (1393128794,), (1393129342,), (1393129375,), (1393129377,), (1393129386,), (1393129659,), (1393129698,), (1393129804,), (1393129889,), (1393129950,), (1393130185,), (1393130187,), (1393130216,), (1393130248,), (1393130300,), (1393130372,), (1393130862,), (1393130899,), (1393131068,), (1393132066,), (1393132077,), (1393132084,), (1393132096,), (1393132106,), (1393133391,), (1393135472,), (1393135441,), (1393136052,), (1393136089,), (1393136162,), (1393136923,), (1393137001,), (1393137566,), (1393137604,), (1393137636,), (1393137727,), (1393138147,), (1393138165,), (1393138188,), (1393138192,), (1393138676,), (1393138679,), (1393138681,), (1393138684,), (1393138687,), (1393138720,), (1393138864,), (1393138897,), (1393138930,), (1393138961,), (1393138987,), (1393139015,), (1393139081,), (1393139082,), (1393139093,), (1393139096,), (1393139254,), (1393139285,), (1393139316,), (1393139347,), (1393139729,), (1393139740,), (1393139741,), (1393139771,), (1393140131,), (1393140141,), (1393140148,), (1393140356,), (1393140343,), (1393140344,), (1393140345,), (1393140348,), (1393140353,), (1393140374,), (1393140406,), (1393140441,), (1393140475,), (1393140806,), (1393140807,), (1393140808,), (1393140811,), (1393140814,), (1393140954,), (1393140987,), (1393141023,), (1393141059,), (1393141096,), (1393141804,), (1393141811,), (1393141821,), (1393141823,), (1393141826,), (1393142172,), (1393142205,), (1393142265,), (1393142298,), (1393142330,), (1393142370,), (1393143057,), (1393143092,), (1393143126,), (1393143159,), (1393143167,), (1393143182,), (1393143546,), (1393143591,), (1393143613,), (1393143699,), (1393143714,), (1393143745,), (1393143780,), (1393143814,), (1393143850,), (1393144016,), (1393144070,), (1393144105,), (1393144153,), (1393144226,), (1393144600,), (1393144662,), (1393144664,), (1393144667,), (1393144727,), (1393144728,), (1393144730,), (1393144734,), (1393144913,), (1393145415,), (1393145334,), (1393145380,), (1393145400,), (1393145411,), (1393145452,), (1393145455,), (1393145458,), (1393145845,), (1393145855,), (1393145858,), (1393145861,), (1393145865,), (1393145868,), (1393146005,), (1393146036,), (1393146067,), (1393146097,), (1393146191,), (1393146199,), (1393146201,), (1393146204,), (1393146211,), (1393146361,), (1393146364,), (1393146365,), (1393146367,), (1393146393,), (1393146398,), (1393146399,), (1393146401,), (1393146405,), (1393146407,), (1393146580,), (1393146612,), (1393146645,), (1393146925,), (1393146976,), (1393147011,), (1393147047,), (1393147087,), (1393147139,), (1393147504,), (1393147536,), (1393147566,), (1393147600,), (1393148204,), (1393148272,), (1393148304,), (1393148337,), (1393148372,), (1393148896,), (1393148926,), (1393148960,), (1393148991,), (1393149056,), (1393149513,), (1393149544,), (1393149580,), (1393149629,), (1393149693,), (1393150519,), (1393150609,), (1393151522,), (1393152795,), (1393153600,), (1393153665,), (1393153696,), (1393153751,), (1393154089,), (1393154093,), (1393154095,), (1393154119,), (1393154130,), (1393154413,), (1393154416,), (1393154418,), (1393154420,), (1393154817,), (1393154882,), (1393154944,), (1393154995,), (1393155808,), (1393155874,), (1393155937,), (1393156004,), (1393156069,), (1393156130,), (1393156359,), (1393156361,), (1393156378,), (1393156400,), (1393156683,), (1393156720,), (1393156760,), (1393156795,), (1393156832,), (1393156866,), (1393157010,), (1393157014,), (1393157016,), (1393157020,), (1393157071,), (1393157073,), (1393157075,), (1393157078,), (1393157083,), (1393157086,), (1393157317,), (1393157347,), (1393157379,), (1393157412,), (1393157445,), (1393157921,), (1393157988,), (1393158050,), (1393158763,), (1393158799,), (1393159284,), (1393159327,), (1393159367,), (1393159411,), (1393160183,), (1393160251,), (1393160268,), (1393160273,), (1393172127,), (1393171329,), (1393172092,), (1393172667,), (1393172668,), (1393172699,), (1393172720,), (1393172772,), (1393173342,), (1393173410,), (1393174066,), (1393174134,), (1393175156,), (1393175235,), (1393175316,), (1393175419,), (1393175423,), (1393175426,), (1393175448,), (1393175481,), (1393175957,), (1393176024,), (1393176094,), (1393176157,), (1393176226,), (1393176516,), (1393176540,), (1393176570,), (1393176721,), (1393176723,), (1393176725,), (1393176760,), (1393176762,), (1393176764,), (1393176767,), (1393176818,), (1393176839,), (1393176872,), (1393176920,), (1393176977,), (1393177006,), (1393177433,), (1393177469,), (1393177501,), (1393177535,), (1393177572,), (1393177952,), (1393177986,), (1393178023,), (1393178059,), (1393178302,), (1393178668,), (1393178478,), (1393178541,), (1393178606,), (1393179383,), (1393179427,), (1393179493,), (1393179525,), (1393180326,), (1393180363,), (1393180396,), (1393180431,), (1393180464,), (1393180865,), (1393180906,), (1393181277,), (1393181318,), (1393182311,), (1393182374,), (1393182414,), (1393182476,), (1393182536,), (1393182589,), (1393183002,), (1393183010,), (1393183014,), (1393183019,), (1393183023,), (1393183025,), (1393183078,), (1393183082,), (1393183699,), (1393183741,), (1393183774,), (1393183824,), (1393183888,), (1393184262,), (1393184293,), (1393184325,), (1393184335,), (1393184340,), (1393184627,), (1393184696,), (1393184758,), (1393184794,), (1393185246,), (1393185313,), (1393185376,), (1393185445,), (1393186102,), (1393186107,), (1393186109,), (1393186134,), (1393186214,), (1393186280,), (1393186792,), (1393186795,), (1393186819,), (1393186864,), (1393186907,), (1393186981,), (1393186993,), (1393187009,), (1393187829,), (1393187875,), (1393187909,), (1393188914,), (1393188946,), (1393188985,), (1393189021,), (1393187727,), (1393187758,), (1393187796,), (1393188529,), (1393188591,), (1393188630,), (1393188667,), (1393188700,), (1393188732,), (1393188878,), (1393189036,), (1393189038,), (1393189042,), (1393189046,), (1393189050,), (1393189150,), (1393189183,), (1393189241,), (1393189300,), (1393189360,), (1393189847,), (1393189861,), (1393189894,), (1393189902,), (1393189919,), (1393190418,), (1393190421,), (1393190422,), (1393190423,), (1393190444,), (1393190445,), (1393190446,), (1393190448,), (1393190451,), (1393190455,), (1393190497,), (1393190499,), (1393190501,), (1393190504,), (1393190508,), (1393190511,), (1393190571,), (1393190574,), (1393190576,), (1393190580,), (1393190598,), (1393190600,), (1393190601,), (1393190602,), (1393190605,), (1393190863,), (1393190903,), (1393190935,), (1393190967,), (1393191021,), (1393191057,), (1393191509,), (1393191568,), (1393191620,), (1393191653,), (1393191782,), (1393191784,), (1393191806,), (1393191836,), (1393191891,), (1393192732,), (1393192765,), (1393192798,), (1393192859,), (1393193161,), (1393193165,), (1393193168,), (1393193171,), (1393193175,), (1393193179,), (1393193692,), (1393193476,), (1393193508,), (1393193560,), (1393193616,), (1393193661,), (1393194183,), (1393194197,), (1393194202,), (1393194234,), (1393194268,), (1393194310,), (1393194480,), (1393194515,), (1393194555,), (1393194566,), (1393194568,), (1393194635,), (1393194667,), (1393194702,), (1393194734,), (1393194767,), (1393194929,), (1393194931,), (1393194961,), (1393194973,), (1393194974,), (1393194977,), (1393194979,), (1393194981,), (1393195004,), (1393195007,), (1393195009,), (1393195011,), (1393195022,), (1393195025,), (1393195243,), (1393195276,), (1393195309,), (1393195341,), (1393195347,), (1393195592,), (1393195611,), (1393195614,), (1393195617,), (1393195621,), (1393195623,), (1393195630,), (1393195631,), (1393195632,), (1393195634,), (1393195731,), (1393195773,), (1393195797,), (1393195799,), (1393195822,), (1393195833,), (1393195893,), (1393195913,), (1393195914,), (1393195916,), (1393195920,), (1393195923,), (1393196062,), (1393196094,), (1393196127,), (1393196160,), (1393196544,), (1393196579,), (1393196584,), (1393196588,), (1393196591,), (1393196594,), (1393196739,), (1393196779,), (1393196830,), (1393196855,), (1393197080,), (1393197115,), (1393197154,), (1393197729,), (1393197799,), (1393196978,), (1393197010,), (1393197046,), (1393197285,), (1393197333,), (1393197371,), (1393197406,), (1393197435,), (1393197491,), (1393198063,), (1393198153,), (1393198231,), (1393198326,), (1393198413,), (1393198810,), (1393198847,), (1393198880,), (1393198914,), (1393198950,), (1393199123,), (1393199127,), (1393199131,), (1393199134,), (1393199138,), (1393199923,), (1393200040,), (1393200104,), (1393200198,), (1393200971,), (1393201035,), (1393201101,), (1393201144,), (1393201181,), (1393201667,), (1393201708,), (1393201741,), (1393201774,), (1393201808,), (1393201844,), (1393202306,), (1393202369,), (1393202439,), (1393202500,), (1393202691,), (1393202723,), (1393202745,), (1393202749,), (1393203121,), (1393203147,), (1393203153,), (1393203201,), (1393203230,), (1393203264,), (1393203318,), (1393203320,), (1393203322,), (1393203325,), (1393203414,), (1393203415,), (1393203416,), (1393203421,), (1393203428,), (1393203433,), (1393203799,), (1393203902,), (1393203975,), (1393204018,), (1393204087,), (1393204135,), (1393204335,), (1393204371,), (1393204396,), (1393204399,), (1393204438,), (1393204472,), (1393204568,), (1393204602,), (1393204627,), (1393204670,), (1393204656,), (1393204659,), (1393204661,), (1393204664,), (1393204668,), (1393204894,), (1393204932,), (1393204990,), (1393205243,), (1393205244,), (1393205246,), (1393205249,), (1393205252,), (1393205255,), (1393205336,), (1393205349,), (1393205352,), (1393205354,), (1393205356,), (1393205365,), (1393205374,), (1393205414,), (1393205416,), (1393205418,), (1393205421,), (1393205425,), (1393205459,), (1393205468,), (1393205471,), (1393205486,), (1393206013,), (1393206014,), (1393206015,), (1393206027,), (1393206061,), (1393206262,), (1393206295,), (1393206325,), (1393206371,), (1393206413,), (1393206801,), (1393206808,), (1393206810,), (1393206814,), (1393207176,), (1393207192,), (1393207196,), (1393207200,), (1393207226,), (1393207261,), (1393207965,), (1393208009,), (1393208045,), (1393208075,), (1393208357,), (1393208358,), (1393208359,), (1393208361,), (1393208365,), (1393208597,), (1393208615,), (1393208617,), (1393208620,), (1393208871,), (1393208916,), (1393208980,), (1393209047,), (1393209686,), (1393209733,), (1393209737,), (1393209768,), (1393209779,), (1393209810,), (1393210043,), (1393210086,), (1393210200,), (1393210226,), (1393210237,), (1393210243,), (1393210248,), (1393209902,), (1393209937,), (1393209968,), (1393210003,), (1393210377,), (1393210443,), (1393210499,), (1393210602,), (1393210656,), (1393210693,), (1393210726,), (1393210766,), (1393210943,), (1393210976,), (1393210978,), (1393210981,), (1393210983,), (1393210986,), (1393211278,), (1393211304,), (1393211534,), (1393211535,), (1393211536,), (1393211563,), (1393211598,), (1393211749,), (1393211752,), (1393211754,), (1393211757,), (1393211761,), (1393211764,), (1393211787,), (1393211789,), (1393211790,), (1393211791,), (1393211849,), (1393211878,), (1393211909,), (1393212170,), (1393212173,), (1393212176,), (1393212179,), (1393212183,), (1393212208,), (1393212234,), (1393212277,), (1393212301,), (1393212317,), (1393212403,), (1393212797,), (1393212869,), (1393212937,), (1393213001,), (1393213498,), (1393213517,), (1393213528,), (1393213558,), (1393213627,), (1393213644,), (1393213754,), (1393213854,), (1393213887,), (1393213924,), (1393213973,), (1393214365,), (1393214415,), (1393214424,), (1393214433,), (1393214456,), (1393214493,), (1393214841,), (1393214748,), (1393214768,), (1393214802,), (1393214823,), (1393215071,), (1393215074,), (1393215076,), (1393215363,), (1393215372,), (1393215381,), (1393215390,), (1393215435,), (1393215527,), (1393215535,), (1393215555,), (1393215581,), (1393215586,), (1393215649,), (1393215654,), (1393215663,), (1393215671,), (1393215690,), (1393215699,), (1393215706,), (1393215750,), (1393215753,), (1393215754,), (1393215773,), (1393215776,), (1393215780,), (1393215800,), (1393215850,), (1393215895,), (1393216069,), (1393216154,), (1393216237,), (1393216304,), (1393216379,), (1393216478,), (1393217182,), (1393217222,), (1393217281,), (1393217330,), (1393217792,), (1393217856,), (1393217954,), (1393218081,), (1393218114,), (1393218323,), (1393218400,), (1393218435,), (1393218482,), (1393218836,), (1393218899,), (1393218971,), (1393219007,), (1393219144,), (1393219147,), (1393219149,), (1393219152,), (1393219177,), (1393219680,), (1393219693,), (1393219709,), (1393219746,), (1393220657,), (1393220816,), (1393220827,), (1393220860,), (1393221250,), (1393221280,), (1393221287,), (1393221317,), (1393221327,), (1393221355,), (1393221357,), (1393221358,), (1393221359,), (1393221372,), (1393221380,), (1393221745,), (1393221836,), (1393221956,), (1393222049,), (1393222458,), (1393222551,), (1393222555,), (1393222560,), (1393222576,), (1393222581,), (1393222710,), (1393222713,), (1393222720,), (1393222745,), (1393222778,), (1393223071,), (1393223078,), (1393223079,), (1393223081,), (1393224456,), (1393224490,), (1393224703,), (1393224734,), (1393224746,), (1393224877,), (1393224911,), (1393225747,), (1393225490,), (1393225526,), (1393225559,), (1393225607,), (1393225679,), (1393226122,), (1393226172,), (1393226236,), (1393226300,), (1393226721,), (1393226815,), (1393226910,), (1393227007,), (1393227424,), (1393227482,), (1393227493,), (1393227496,), (1393227504,), (1393227723,), (1393227726,), (1393227744,), (1393227753,), (1393227931,), (1393228074,), (1393228101,), (1393228144,), (1393228338,), (1393228352,), (1393228357,), (1393228361,), (1393228366,), (1393228370,), (1393228493,), (1393228526,), (1393228544,), (1393228551,), (1393228592,), (1393228593,), (1393228594,), (1393228596,), (1393228597,), (1393228614,), (1393228617,), (1393228621,), (1393228629,), (1393228631,), (1393228632,), (1393228659,), (1393228662,), (1393228663,), (1393228664,), (1393228666,), (1393228706,), (1393228710,), (1393228719,), (1393228722,), (1393229094,), (1393229124,), (1393229154,), (1393229187,), (1393229219,), (1393229622,), (1393229653,), (1393229685,), (1393230227,), (1393230262,), (1393230266,), (1393230290,), (1393230294,), (1393230317,), (1393230379,), (1393230402,), (1393230436,), (1393230473,), (1393231021,), (1393231027,), (1393231057,), (1393231066,), (1393231106,), (1393231108,), (1393231140,), (1393230376,), (1393230377,), (1393230842,), (1393230844,), (1393230854,), (1393230859,), (1393230881,), (1393230917,), (1393230960,), (1393230995,), (1393231090,), (1393231092,), (1393231095,), (1393231103,), (1393231178,), (1393231180,), (1393231221,), (1393231222,), (1393231223,), (1393231225,), (1393231229,), (1393231279,), (1393231281,), (1393231285,), (1393231288,), (1393231294,), (1393231307,), (1393231313,), (1393231327,), (1393231344,), (1393231353,), (1393231368,), (1393231380,), (1393231414,), (1393231430,), (1393231433,), (1393231443,), (1393231453,), (1393231457,), (1393231460,), (1393231462,), (1393231463,), (1393231480,), (1393231485,), (1393231488,), (1393231491,), (1393231493,), (1393231497,), (1393231528,), (1393231557,), (1393231560,), (1393231586,), (1393231615,), (1393232878,), (1393240421,), (1393240404,), (1393240801,), (1393241558,), (1393242167,), (1393242168,), (1393242494,), (1393242504,), (1393242508,), (1393242524,), (1393242537,), (1393242556,), (1393242561,), (1393242565,), (1393242572,), (1393242578,), (1393242583,), (1393242934,), (1393242972,), (1393243004,), (1393243478,), (1393243437,), (1393243508,), (1393243511,), (1393243517,), (1393243527,), (1393243604,), (1393243621,), (1393243652,), (1393243683,), (1393243716,), (1393243751,), (1393244093,), (1393244125,), (1393244140,), (1393244146,), (1393244150,), (1393244166,), (1393244325,), (1393244336,), (1393244337,), (1393244573,), (1393244604,), (1393244637,), (1393244692,), (1393244747,), (1393245162,), (1393245299,), (1393245314,), (1393245324,), (1393245327,), (1393245332,), (1393245365,), (1393245367,), (1393245369,), (1393245885,), (1393245943,), (1393246004,), (1393246062,), (1393246133,), (1393246193,), (1393246438,), (1393246496,), (1393246642,), (1393246684,), (1393246716,), (1393246730,), (1393246736,), (1393246815,), (1393246848,), (1393246878,), (1393246908,), (1393246945,), (1393246962,), (1393247288,), (1393247346,), (1393247440,), (1393248213,), (1393248277,), (1393248307,), (1393248341,), (1393248373,), (1393248653,), (1393248668,), (1393248670,), (1393248672,), (1393248675,), (1393249301,), (1393249359,), (1393249419,), (1393249485,), (1393249546,), (1393249632,), (1393250339,), (1393250372,), (1393250412,), (1393250467,), (1393250469,), (1393250473,), (1393250482,), (1393250274,), (1393250283,), (1393250303,), (1393250555,), (1393250593,), (1393250628,), (1393250666,), (1393250694,), (1393250768,), (1393250770,), (1393250790,), (1393250824,), (1393251309,), (1393251345,), (1393251371,), (1393251383,), (1393251387,), (1393251390,), (1393251444,), (1393251469,), (1393251503,), (1393251538,), (1393251573,), (1393251611,), (1393251718,), (1393251753,), (1393251969,), (1393251972,), (1393251974,), (1393251994,), (1393252507,), (1393252543,), (1393252575,), (1393252612,), (1393252773,), (1393252774,), (1393252775,), (1393253069,), (1393253072,), (1393253074,), (1393253075,), (1393253078,), (1393253098,), (1393253099,), (1393253100,), (1393253102,), (1393253114,), (1393253692,), (1393253745,), (1393254217,), (1393254253,), (1393254296,), (1393254358,), (1393254667,), (1393254669,), (1393254671,), (1393254673,), (1393255586,), (1393255239,), (1393255274,), (1393255337,), (1393255443,), (1393255518,), (1393256296,), (1393256362,), (1393256407,), (1393256507,), (1393257284,), (1393257328,), (1393257374,), (1393257406,), (1393257441,), (1393257475,), (1393257940,), (1393258235,), (1393258345,), (1393258407,), (1393258470,), (1393258852,), (1393258913,), (1393258958,), (1393259510,), (1393259530,), (1393259538,), (1393259541,), (1393259559,), (1393259561,), (1393259562,), (1393259564,), (1393259606,), (1393259610,), (1393259614,), (1393259618,), (1393259635,), (1393259636,), (1393259638,), (1393259641,), (1393259645,), (1393259648,), (1393259668,), (1393259670,), (1393259673,), (1393259676,), (1393259679,), (1393259681,), (1393259689,), (1393259691,), (1393259694,), (1393259704,), (1393259710,), (1393259717,), (1393259720,), (1393259725,), (1393260191,), (1393260321,), (1393260390,), (1393260455,), (1393260510,), (1393260547,), (1393260912,), (1393261098,), (1393261143,), (1393261146,), (1393261149,), (1393261150,), (1393261544,), (1393261563,), (1393261599,), (1393261603,), (1393261664,), (1393261665,), (1393261676,), (1393261677,), (1393262000,), (1393261880,), (1393261921,), (1393261963,), (1393262300,), (1393262302,), (1393262304,), (1393262309,), (1393262318,), (1393263037,), (1393263066,), (1393263079,), (1393263104,), (1393263139,), (1393263174,), (1393263263,), (1393263328,), (1393263340,), (1393263366,), (1393263402,), (1393263414,), (1393263417,), (1393263419,), (1393263422,), (1393263441,), (1393263443,), (1393263445,), (1393263459,), (1393263460,), (1393263509,), (1393263512,), (1393263515,), (1393263518,), (1393263961,), (1393263997,), (1393264003,), (1393264008,), (1393264013,), (1393264016,), (1393264027,), (1393264043,), (1393264078,), (1393264110,), (1393264230,), (1393264266,), (1393264269,), (1393264280,), (1393264303,), (1393264324,), (1393264325,), (1393264326,), (1393264328,), (1393264371,), (1393264372,), (1393264373,), (1393264375,), (1393264379,), (1393264382,), (1393264400,), (1393264404,), (1393264407,), (1393264459,), (1393264460,), (1393264462,), (1393264467,), (1393264511,), (1393264514,), (1393264520,), (1393264526,), (1393264530,), (1393264669,), (1393264676,), (1393264683,), (1393264686,), (1393264691,), (1393264719,), (1393264733,), (1393264734,), (1393264735,), (1393264777,), (1393264761,), (1393264768,), (1393264772,), (1393264774,), (1393264792,), (1393264794,), (1393264798,), (1393264801,), (1393264849,), (1393264852,), (1393264853,), (1393265237,), (1393265268,), (1393265301,), (1393265334,), (1393265501,), (1393265504,), (1393265513,), (1393265539,), (1393265629,), (1393265631,), (1393265667,), (1393265836,), (1393265870,), (1393265905,), (1393266163,), (1393266195,), (1393266228,), (1393268096,), (1393268059,), (1393268492,), (1393268496,), (1393268500,), (1393268504,), (1393268508,), (1393268782,), (1393268812,), (1393268941,), (1393268962,), (1393268992,), (1393269027,), (1393269073,), (1393269114,), (1393269274,), (1393269275,), (1393269276,), (1393269319,), (1393269321,), (1393269322,), (1393269323,), (1393269338,), (1393269340,), (1393269350,), (1393269356,), (1393269371,), (1393269379,), (1393269387,), (1393269390,), (1393269392,), (1393269433,), (1393269423,), (1393269425,), (1393269426,), (1393269427,), (1393269430,), (1393269448,), (1393269450,), (1393269452,), (1393269461,), (1393269559,), (1393269593,), (1393269625,), (1393269974,), (1393269976,), (1393270004,), (1393270040,), (1393270074,), (1393270107,), (1393270185,), (1393270187,), (1393270188,), (1393270197,), (1393270324,), (1393270330,), (1393270362,), (1393270399,), (1393270436,), (1393270472,), (1393270739,), (1393270741,), (1393270743,), (1393270746,), (1393270970,), (1393270974,), (1393270992,), (1393271002,), (1393271005,), (1393271016,), (1393271282,), (1393271284,), (1393271299,), (1393271334,), (1393271347,), (1393271349,), (1393271400,), (1393271402,), (1393271430,), (1393271452,), (1393271458,), (1393271461,), (1393271490,), (1393271492,), (1393271496,), (1393271499,), (1393271501,), (1393271504,), (1393271529,), (1393271530,), (1393271536,), (1393271537,), (1393271539,), (1393271541,), (1393271544,), (1393271545,), (1393271565,), (1393271566,), (1393271567,), (1393271568,), (1393271590,), (1393271593,), (1393271596,), (1393271599,), (1393271604,), (1393271607,), (1393271735,), (1393271737,), (1393271741,), (1393271746,), (1393271749,), (1393271752,), (1393271761,), (1393271763,), (1393271771,), (1393271802,), (1393271832,), (1393271865,), (1393272346,), (1393272383,), (1393272423,), (1393272459,), (1393272495,), (1393272534,), (1393272586,), (1393272619,), (1393272598,), (1393272613,), (1393272616,), (1393272917,), (1393272956,), (1393272989,), (1393273003,), (1393273597,), (1393273687,), (1393273757,), (1393273804,), (1393273839,), (1393273894,), (1393274697,), (1393274760,), (1393274853,), (1393275828,), (1393275887,), (1393275962,), (1393276031,), (1393276098,), (1393276169,), (1393276623,), (1393276697,), (1393276761,), (1393276823,), (1393277415,), (1393277450,), (1393277456,), (1393277733,), (1393277767,), (1393277799,), (1393277831,), (1393277866,), (1393277901,), (1393278059,), (1393278064,), (1393278079,), (1393278085,), (1393278090,), (1393278121,), (1393278123,), (1393278125,), (1393278128,), (1393278345,), (1393278380,), (1393278413,), (1393278850,), (1393278886,), (1393278919,), (1393278954,), (1393278990,), (1393279026,), (1393279598,), (1393279665,), (1393279732,), (1393279792,), (1393279852,), (1393280554,), (1393280616,), (1393281572,), (1393281638,), (1393281702,), (1393281761,), (1393281798,), (1393281833,), (1393282751,), (1393282455,), (1393282523,), (1393282631,), (1393282671,), (1393282718,), (1393283201,), (1393283281,), (1393283334,), (1393283684,), (1393283697,), (1393283699,), (1393283702,), (1393283706,), (1393283709,), (1393283727,), (1393283729,), (1393283732,), (1393283736,), (1393283739,), (1393283742,), (1393283749,), (1393283752,), (1393283753,), (1393283754,), (1393283755,), (1393283758,), (1393283777,), (1393283782,), (1393283799,), (1393283866,), (1393283882,), (1393283889,), (1393283890,), (1393283908,), (1393283982,), (1393283984,), (1393283986,), (1393283992,), (1393283997,), (1393284001,), (1393284330,), (1393284362,), (1393284399,), (1393284851,), (1393284860,), (1393284862,), (1393284865,), (1393285037,), (1393285081,), (1393285097,), (1393285105,), (1393285242,), (1393285245,), (1393285251,), (1393285284,), (1393285325,), (1393285583,), (1393285600,), (1393285602,), (1393285689,), (1393285698,), (1393285702,), (1393285705,), (1393285709,), (1393285731,), (1393285732,), (1393285734,), (1393285742,), (1393285747,), (1393285749,), (1393285771,), (1393285779,), (1393285781,), (1393285784,), (1393285814,), (1393285817,), (1393285821,), (1393285830,), (1393285803,), (1393285805,), (1393285809,), (1393285812,), (1393285844,), (1393285852,), (1393285867,), (1393285893,), (1393285937,), (1393286017,), (1393286040,), (1393286074,), (1393286100,), (1393286166,), (1393286168,), (1393286170,), (1393286174,), (1393286178,), (1393286239,), (1393286272,), (1393286305,), (1393286343,), (1393286384,), (1393286423,), (1393286627,), (1393286666,), (1393286701,), (1393286733,), (1393286847,), (1393286877,), (1393286912,), (1393286954,), (1393286993,), (1393287227,), (1393287237,), (1393287241,), (1393287261,), (1393287265,), (1393287269,), (1393287465,), (1393287497,), (1393287539,), (1393287572,), (1393287587,), (1393287588,), (1393287664,), (1393287665,), (1393287669,), (1393287672,), (1393287675,), (1393287704,), (1393287715,), (1393287721,), (1393287725,), (1393287875,), (1393287882,), (1393287889,), (1393287917,), (1393287954,), (1393288565,), (1393288628,), (1393288691,), (1393288754,), (1393289319,), (1393289356,), (1393289391,), (1393289418,), (1393289422,), (1393289463,), (1393289496,), (1393289532,), (1393289567,), (1393289620,), (1393289670,), (1393289805,), (1393289824,), (1393289826,), (1393289855,), (1393289868,), (1393289884,), (1393289885,), (1393289887,), (1393289888,), (1393289890,), (1393289891,), (1393289924,), (1393289913,), (1393289916,), (1393289917,), (1393289919,), (1393289922,), (1393289974,), (1393289990,), (1393290016,), (1393290019,), (1393290092,), (1393290098,), (1393290101,), (1393290285,), (1393290287,), (1393290289,), (1393290317,), (1393290323,), (1393290324,), (1393290328,), (1393290343,), (1393290381,), (1393290765,), (1393290876,), (1393290957,), (1393291014,), (1393291285,), (1393291313,), (1393291314,), (1393291323,), (1393291326,), (1393291343,), (1393291481,), (1393291514,), (1393291545,), (1393291577,), (1393292146,), (1393292180,), (1393292210,), (1393292242,), (1393292283,), (1393292309,), (1393292549,), (1393292564,), (1393292588,), (1393292595,), (1393292623,), (1393292657,), (1393292659,), (1393292661,), (1393292678,), (1393292680,), (1393292682,), (1393292684,), (1393292686,), (1393292690,), (1393292930,), (1393292988,), (1393294370,), (1393294379,), (1393294391,), (1393294422,), (1393294440,), (1393294449,), (1393294458,), (1393294459,), (1393294462,), (1393295036,), (1393295099,), (1393295166,), (1393295215,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07112025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28310070]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] map_info['map_portfolio_photo'] : {28310070: [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399]} final : True mtd_id 4302 list_pids : [1393123810, 1393123321, 1393123287, 1393123254, 1393123219, 1393123184, 1393122832, 1393122777, 1393122744, 1393122706, 1393122202, 1393122172, 1393122144, 1393122016, 1393121969, 1393121918, 1393121905, 1393121721, 1393121684, 1393121622, 1393121563, 1393121184, 1393121138, 1393121074, 1393120999, 1393120910, 1393120075, 1393120044, 1393119754, 1393119714, 1393119584, 1393119434, 1393119432, 1393119149, 1393119147, 1393119138, 1393118580, 1393118545, 1393118494, 1393117512, 1393117399] Looping around the photos to save general results len do output : 1 /28310070Didn'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, '4021595') ('4302', '28310070', '1393123810', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595') ('4302', None, None, None, None, None, None, None, '4021595') ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '28310070', 'None', None, None, None, None, '4021595'), ('4302', '28310070', '1393123810', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123321', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123287', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123254', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123219', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393123184', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122832', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122777', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122744', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122706', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122202', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122172', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122144', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393122016', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121969', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121918', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121905', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121721', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121684', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121622', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121563', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121184', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121138', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393121074', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120999', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120910', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120075', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393120044', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119754', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119714', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119584', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119434', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119432', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119149', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119147', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393119138', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118580', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118545', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393118494', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393117512', None, None, None, None, None, '4021595'), ('4302', '28310070', '1393117399', None, None, None, None, None, '4021595')] time used for this insertion : 0.02034783363342285 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.3132219314575195 time spend to save output : 0.02076101303100586 total time spend for step 5 : 6.333982944488525 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 (4021595) 3.56user 2.32system 0:24.25elapsed 24%CPU (0avgtext+0avgdata 167808maxresident)k 816inputs+35088outputs (18major+88701minor)pagefaults 0swaps