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 : 4059043 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 (3750942) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3750942) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037547 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3750942'] with mtr_portfolio_ids : ['27037547'] and first list_photo_ids : [] new path : /proc/4059043/ Name: python3 Umask: 0002 State: R (running) Tgid: 4059043 Ngid: 0 Pid: 4059043 PPid: 4059042 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4059043 NSpid: 4059043 NSpgid: 4058065 NSsid: 4058065 VmPeak: 1107240 kB VmSize: 1107240 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97188 kB VmRSS: 97188 kB RssAnon: 60168 kB RssFile: 37020 kB RssShmem: 0 kB VmData: 865992 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 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: 51 nonvoluntary_ctxt_switches: 93 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4059043', 'Ngid': '0', 'Pid': '4059043', 'PPid': '4059042', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4059043', 'NSpid': '4059043', 'NSpgid': '4058065', 'NSsid': '4058065', 'VmPeak': '1107240 kB', 'VmSize': '1107240 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97188 kB', 'VmRSS': '97188 kB', 'RssAnon': '60168 kB', 'RssFile': '37020 kB', 'RssShmem': '0 kB', 'VmData': '865992 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 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': '51', 'nonvoluntary_ctxt_switches': '93'} ('datou_batch_current', '4059043', '1107240', '0', '1107240', '865992', '97188', b'', 'marlene', '3750942') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27037547) 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 (3750942 ) ) 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 (27037547) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1385042207, 'portfolio_id': 27037547}, {'photo_id': 1385041985, 'portfolio_id': 27037547}, {'photo_id': 1385041983, 'portfolio_id': 27037547}, {'photo_id': 1385041981, 'portfolio_id': 27037547}, {'photo_id': 1385041979, 'portfolio_id': 27037547}, {'photo_id': 1385041779, 'portfolio_id': 27037547}, {'photo_id': 1385041775, 'portfolio_id': 27037547}, {'photo_id': 1385041773, 'portfolio_id': 27037547}, {'photo_id': 1385041757, 'portfolio_id': 27037547}, {'photo_id': 1385041722, 'portfolio_id': 27037547}, {'photo_id': 1385041676, 'portfolio_id': 27037547}, {'photo_id': 1385041656, 'portfolio_id': 27037547}, {'photo_id': 1385041654, 'portfolio_id': 27037547}, {'photo_id': 1385041569, 'portfolio_id': 27037547}, {'photo_id': 1385041552, 'portfolio_id': 27037547}, {'photo_id': 1385041551, 'portfolio_id': 27037547}, {'photo_id': 1385041549, 'portfolio_id': 27037547}, {'photo_id': 1385041535, 'portfolio_id': 27037547}, {'photo_id': 1385041534, 'portfolio_id': 27037547}, {'photo_id': 1385041516, 'portfolio_id': 27037547}, {'photo_id': 1385041515, 'portfolio_id': 27037547}, {'photo_id': 1385041510, 'portfolio_id': 27037547}, {'photo_id': 1385041508, 'portfolio_id': 27037547}, {'photo_id': 1385041505, 'portfolio_id': 27037547}, {'photo_id': 1385041503, 'portfolio_id': 27037547}, {'photo_id': 1385041500, 'portfolio_id': 27037547}, {'photo_id': 1385041479, 'portfolio_id': 27037547}, {'photo_id': 1385041476, 'portfolio_id': 27037547}, {'photo_id': 1385041453, 'portfolio_id': 27037547}, {'photo_id': 1385041450, 'portfolio_id': 27037547}, {'photo_id': 1385041448, 'portfolio_id': 27037547}, {'photo_id': 1385041447, 'portfolio_id': 27037547}, {'photo_id': 1385041446, 'portfolio_id': 27037547}, {'photo_id': 1385041402, 'portfolio_id': 27037547}, {'photo_id': 1385041393, 'portfolio_id': 27037547}, {'photo_id': 1385041331, 'portfolio_id': 27037547}, {'photo_id': 1385041329, 'portfolio_id': 27037547}] map_portfolio_id_photo_id: {27037547: [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329]} ##### 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.046975135803222656 #### 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 Sep 20 05:47:56 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 (27037547) 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 : 27037547 get user id for portfolio 27037547 get sub ptf for main ptf 27037547, type 3726 and hashtags ['Carton_gris', 'metal', 'plastique', 'autre_refus', 'flou', 'papier', 'cartonnette', 'environnement', 'kraft', 'Teint_Dans_La_Masse', 'mal_croppe', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27037547 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','plastique','autre_refus','flou','papier','cartonnette','environnement','kraft','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27037547 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','plastique','autre_refus','flou','papier','cartonnette','environnement','kraft','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27037547, 'sub_port_id': 27037565, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246566, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 27037547, 'sub_port_id': 27037566, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246567, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'kraft': {'main_port_id': 27037547, 'sub_port_id': 27037567, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246568, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'environnement': {'main_port_id': 27037547, 'sub_port_id': 27037568, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246569, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'mal_croppe': {'main_port_id': 27037547, 'sub_port_id': 27037569, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246570, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'cartonnette': {'main_port_id': 27037547, 'sub_port_id': 27037570, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246571, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'flou': {'main_port_id': 27037547, 'sub_port_id': 27037571, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246572, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'Carton_brun': {'main_port_id': 27037547, 'sub_port_id': 27037572, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246573, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'Carton_gris': {'main_port_id': 27037547, 'sub_port_id': 27037573, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246574, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'autre_refus': {'main_port_id': 27037547, 'sub_port_id': 27037574, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246575, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'metal': {'main_port_id': 27037547, 'sub_port_id': 27037575, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246576, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}, 'plastique': {'main_port_id': 27037547, 'sub_port_id': 27037576, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246577, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037565 , 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=27037547 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 (27037565) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037566 , 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=27037547 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 (27037566) result : ((1385041523,), (1385041602,), (1385041603,), (1385041604,), (1385044681,), (1385051257,), (1385052244,), (1385052558,), (1385052717,), (1385052719,), (1385052721,), (1385053699,), (1385053701,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037567 , 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=27037547 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 (27037567) result : ((1385053707,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037568 , 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=27037547 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 (27037568) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037569 , 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=27037547 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 (27037569) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037570 , 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=27037547 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 (27037570) result : ((1385041560,), (1385041606,), (1385041607,), (1385041608,), (1385041609,), (1385041610,), (1385052560,), (1385052742,), (1385052744,), (1385053703,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037571 , 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=27037547 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 (27037571) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037572 , 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=27037547 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 (27037572) result : ((1385041663,), (1385041664,), (1385041767,), (1385041768,), (1385044690,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037573 , 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=27037547 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 (27037573) result : ((1385041558,), (1385044686,), (1385044687,), (1385044688,), (1385044689,), (1385051258,), (1385052734,), (1385053702,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037574 , 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=27037547 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 (27037574) result : ((1385041524,), (1385052728,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037575 , 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=27037547 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 (27037575) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27037576 , 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=27037547 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 (27037576) result : ((1385041611,), (1385041613,), (1385041614,), (1385041615,), (1385041616,), (1385041617,), (1385041618,), (1385041665,), (1385041769,), (1385042406,), (1385052562,), (1385052753,), (1385053705,), (1385053706,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27037547) result : ((1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,)) 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 (1385041500) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27037547 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','plastique','autre_refus','flou','papier','cartonnette','environnement','kraft','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27037547 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','plastique','autre_refus','flou','papier','cartonnette','environnement','kraft','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27037547, 'sub_port_id': 27037577, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246578, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 27037547, 'sub_port_id': 27037578, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246579, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'kraft': {'main_port_id': 27037547, 'sub_port_id': 27037579, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246580, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'environnement': {'main_port_id': 27037547, 'sub_port_id': 27037580, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246581, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'mal_croppe': {'main_port_id': 27037547, 'sub_port_id': 27037581, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246582, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'cartonnette': {'main_port_id': 27037547, 'sub_port_id': 27037582, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246583, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'flou': {'main_port_id': 27037547, 'sub_port_id': 27037583, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246584, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'Carton_brun': {'main_port_id': 27037547, 'sub_port_id': 27037584, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246585, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'Carton_gris': {'main_port_id': 27037547, 'sub_port_id': 27037585, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246586, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'autre_refus': {'main_port_id': 27037547, 'sub_port_id': 27037586, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246587, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'metal': {'main_port_id': 27037547, 'sub_port_id': 27037587, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246588, 'last_updated_at': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 10, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}, 'plastique': {'main_port_id': 27037547, 'sub_port_id': 27037588, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18246589, 'last_updated_at': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_desc': datetime.datetime(2025, 9, 19, 11, 2, 30), 'last_updated_at_asc': datetime.datetime(2025, 9, 19, 10, 49, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037577,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037565 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037578,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037566 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037579,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037567 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037580,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037568 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037581,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037569 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037582,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037570 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037583,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037571 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037584,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037572 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037585,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037573 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037586,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037574 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037587,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037575 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27037588,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27037576 lien utilise dans velours : https://marlene.fotonower.com/velours/27037577,27037578,27037579,27037580,27037581,27037582,27037583,27037584,27037585,27037586,27037587,27037588?tags=papier,Teint_Dans_La_Masse,kraft,environnement,mal_croppe,cartonnette,flou,Carton_brun,Carton_gris,autre_refus,metal,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27037547]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] map_info['map_portfolio_photo'] : {27037547: [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329]} final : False mtd_id 4302 list_pids : [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] Looping around the photos to save general results len do output : 1 /27037547. 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, '3750942') ('4302', '27037547', '1385042207', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27037547', "{'papier': 27037565, 'Teint_Dans_La_Masse': 27037566, 'kraft': 27037567, 'environnement': 27037568, 'mal_croppe': 27037569, 'cartonnette': 27037570, 'flou': 27037571, 'Carton_brun': 27037572, 'Carton_gris': 27037573, 'autre_refus': 27037574, 'metal': 27037575, 'plastique': 27037576}", None, None, None, None, '3750942'), ('4302', '27037547', '1385042207', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942')] time used for this insertion : 0.02273249626159668 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5033714771270752 time spend to save output : 0.022978782653808594 total time spend for step 1 : 0.5263502597808838 step2:final Sat Sep 20 05:47:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (27037547) 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 27037547 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1385041331,1385041329,1385041402,1385041393,1385041453,1385041450,1385041448,1385041447,1385041446,1385041479,1385041476,1385041510,1385041508,1385041500,1385041505,1385041503,1385041516,1385041515,1385041535,1385041534,1385041552,1385041551,1385041549,1385041569,1385041656,1385041654,1385041757,1385041722,1385041676,1385041779,1385041775,1385041773,1385041985,1385041983,1385041981,1385041979,1385042207); 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([27037547]) Inside saveOutput : final : False verbose : True original output for save of step final : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} new output for save of step final : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] map_info['map_portfolio_photo'] : {27037547: [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329]} final : False mtd_id 4302 list_pids : [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] Looping around the photos to save general results len do output : 37 /1385042207.Didn't retrieve data . /1385041985.Didn't retrieve data . /1385041983.Didn't retrieve data . /1385041981.Didn't retrieve data . /1385041979.Didn't retrieve data . /1385041779.Didn't retrieve data . /1385041775.Didn't retrieve data . /1385041773.Didn't retrieve data . /1385041757.Didn't retrieve data . /1385041722.Didn't retrieve data . /1385041676.Didn't retrieve data . /1385041656.Didn't retrieve data . /1385041654.Didn't retrieve data . /1385041569.Didn't retrieve data . /1385041552.Didn't retrieve data . /1385041551.Didn't retrieve data . /1385041549.Didn't retrieve data . /1385041535.Didn't retrieve data . /1385041534.Didn't retrieve data . /1385041516.Didn't retrieve data . /1385041515.Didn't retrieve data . /1385041510.Didn't retrieve data . /1385041508.Didn't retrieve data . /1385041505.Didn't retrieve data . /1385041503.Didn't retrieve data . /1385041500.Didn't retrieve data . /1385041479.Didn't retrieve data . /1385041476.Didn't retrieve data . /1385041453.Didn't retrieve data . /1385041450.Didn't retrieve data . /1385041448.Didn't retrieve data . /1385041447.Didn't retrieve data . /1385041446.Didn't retrieve data . /1385041402.Didn't retrieve data . /1385041393.Didn't retrieve data . /1385041331.Didn't retrieve data . /1385041329.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, '3750942') ('4302', '27037547', '1385042207', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27037547', '1385042207', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041985', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041983', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041981', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041979', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041779', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041775', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041773', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041757', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041722', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041676', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041656', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041654', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041569', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041552', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041551', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041549', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041535', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041534', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041516', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041515', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041510', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041508', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041505', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041503', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041500', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041479', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041476', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041453', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041450', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041448', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041447', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041446', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041402', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041393', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041331', '0.07076633657484113', None, None, None, None, '3750942'), ('4302', '27037547', '1385041329', '0.07076633657484113', None, None, None, None, '3750942')] time used for this insertion : 0.06529569625854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06900405883789062 time spend to save output : 0.06605362892150879 total time spend for step 2 : 0.13505768775939941 step3:velours_tree Sat Sep 20 05:47:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {27037547: [{'papier': 27037565, 'Teint_Dans_La_Masse': 27037566, 'kraft': 27037567, 'environnement': 27037568, 'mal_croppe': 27037569, 'cartonnette': 27037570, 'flou': 27037571, 'Carton_brun': 27037572, 'Carton_gris': 27037573, 'autre_refus': 27037574, 'metal': 27037575, 'plastique': 27037576}]} input_args_next_step : {27037547: ()} output_args : {27037547: [{'papier': 27037565, 'Teint_Dans_La_Masse': 27037566, 'kraft': 27037567, 'environnement': 27037568, 'mal_croppe': 27037569, 'cartonnette': 27037570, 'flou': 27037571, 'Carton_brun': 27037572, 'Carton_gris': 27037573, 'autre_refus': 27037574, 'metal': 27037575, 'plastique': 27037576}]} args : 27037547 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 : ({'papier': 27037565, 'Teint_Dans_La_Masse': 27037566, 'kraft': 27037567, 'environnement': 27037568, 'mal_croppe': 27037569, 'cartonnette': 27037570, 'flou': 27037571, 'Carton_brun': 27037572, 'Carton_gris': 27037573, 'autre_refus': 27037574, 'metal': 27037575, 'plastique': 27037576},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27037547) 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([27037547]) 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.2865152359008789 time spend to save output : 6.175041198730469e-05 total time spend for step 3 : 0.2865769863128662 step4:send_mail_cod Sat Sep 20 05:47:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} input_args_next_step : {1385042207: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385042207 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041985 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041983 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041981 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041979 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041779 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041775 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041773 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041757 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041722 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041676 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041656 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041654 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041569 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041552 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041551 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041549 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041535 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041534 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041516 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041515 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041510 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041508 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041505 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041503 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041500 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041479 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041476 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041453 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041450 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041448 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041447 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041446 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041402 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041393 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041331 depend.output_id : 0 input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ()} output_args : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',)} args : 1385041329 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 : {27037547: [{'papier': 27037565, 'Teint_Dans_La_Masse': 27037566, 'kraft': 27037567, 'environnement': 27037568, 'mal_croppe': 27037569, 'cartonnette': 27037570, 'flou': 27037571, 'Carton_brun': 27037572, 'Carton_gris': 27037573, 'autre_refus': 27037574, 'metal': 27037575, 'plastique': 27037576}]} input_args_next_step : {1385042207: ('0.07076633657484113',), 1385041985: ('0.07076633657484113',), 1385041983: ('0.07076633657484113',), 1385041981: ('0.07076633657484113',), 1385041979: ('0.07076633657484113',), 1385041779: ('0.07076633657484113',), 1385041775: ('0.07076633657484113',), 1385041773: ('0.07076633657484113',), 1385041757: ('0.07076633657484113',), 1385041722: ('0.07076633657484113',), 1385041676: ('0.07076633657484113',), 1385041656: ('0.07076633657484113',), 1385041654: ('0.07076633657484113',), 1385041569: ('0.07076633657484113',), 1385041552: ('0.07076633657484113',), 1385041551: ('0.07076633657484113',), 1385041549: ('0.07076633657484113',), 1385041535: ('0.07076633657484113',), 1385041534: ('0.07076633657484113',), 1385041516: ('0.07076633657484113',), 1385041515: ('0.07076633657484113',), 1385041510: ('0.07076633657484113',), 1385041508: ('0.07076633657484113',), 1385041505: ('0.07076633657484113',), 1385041503: ('0.07076633657484113',), 1385041500: ('0.07076633657484113',), 1385041479: ('0.07076633657484113',), 1385041476: ('0.07076633657484113',), 1385041453: ('0.07076633657484113',), 1385041450: ('0.07076633657484113',), 1385041448: ('0.07076633657484113',), 1385041447: ('0.07076633657484113',), 1385041446: ('0.07076633657484113',), 1385041402: ('0.07076633657484113',), 1385041393: ('0.07076633657484113',), 1385041331: ('0.07076633657484113',), 1385041329: ('0.07076633657484113',), 27037547: ()} output_args : {27037547: [{'papier': 27037565, 'Teint_Dans_La_Masse': 27037566, 'kraft': 27037567, 'environnement': 27037568, 'mal_croppe': 27037569, 'cartonnette': 27037570, 'flou': 27037571, 'Carton_brun': 27037572, 'Carton_gris': 27037573, 'autre_refus': 27037574, 'metal': 27037575, 'plastique': 27037576}]} args : 27037547 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :38, first value : ('0.07076633657484113',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27037547) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1385042207,1385041985,1385041983,1385041981,1385041979,1385041779,1385041775,1385041773,1385041757,1385041722,1385041676,1385041656,1385041654,1385041569,1385041552,1385041551,1385041549,1385041535,1385041534,1385041516,1385041515,1385041510,1385041508,1385041505,1385041503,1385041500,1385041479,1385041476,1385041453,1385041450,1385041448,1385041447,1385041446,1385041402,1385041393,1385041331,1385041329) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1385041329 begin to download photo : 1385041453 begin to download photo : 1385041515 begin to download photo : 1385041654 begin to download photo : 1385041979 download finish for photo 1385041979 begin to download photo : 1385041981 download finish for photo 1385041515 begin to download photo : 1385041516 download finish for photo 1385041329 begin to download photo : 1385041331 download finish for photo 1385041654 begin to download photo : 1385041656 download finish for photo 1385041453 begin to download photo : 1385041476 download finish for photo 1385041516 begin to download photo : 1385041534 download finish for photo 1385041981 begin to download photo : 1385041983 download finish for photo 1385041656 begin to download photo : 1385041676 download finish for photo 1385041331 begin to download photo : 1385041393 download finish for photo 1385041476 begin to download photo : 1385041479 download finish for photo 1385041534 begin to download photo : 1385041535 download finish for photo 1385041983 begin to download photo : 1385041985 download finish for photo 1385041676 begin to download photo : 1385041722 download finish for photo 1385041393 begin to download photo : 1385041402 download finish for photo 1385041479 begin to download photo : 1385041500 download finish for photo 1385041535 begin to download photo : 1385041549 download finish for photo 1385041402 begin to download photo : 1385041446 download finish for photo 1385041985 begin to download photo : 1385042207 download finish for photo 1385041549 begin to download photo : 1385041551 download finish for photo 1385041500 begin to download photo : 1385041503 download finish for photo 1385041722 begin to download photo : 1385041757 download finish for photo 1385041446 begin to download photo : 1385041447 download finish for photo 1385041551 begin to download photo : 1385041552 download finish for photo 1385042207 download finish for photo 1385041503 begin to download photo : 1385041505 download finish for photo 1385041757 begin to download photo : 1385041773 download finish for photo 1385041505 begin to download photo : 1385041508 download finish for photo 1385041552 begin to download photo : 1385041569 download finish for photo 1385041447 begin to download photo : 1385041448 download finish for photo 1385041773 begin to download photo : 1385041775 download finish for photo 1385041775 begin to download photo : 1385041779 download finish for photo 1385041448 begin to download photo : 1385041450 download finish for photo 1385041508 begin to download photo : 1385041510 download finish for photo 1385041569 download finish for photo 1385041779 download finish for photo 1385041450 download finish for photo 1385041510 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P27037547_20-09-2025_05_47_59.pdf 27037567 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037567 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385053707: '1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609026_0.png'} change filename to text .imagette270375671758340079/ imagette270375671758340079/1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609026_0.png.png imagette270375691758340079/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/7c0782bba29429faf0e3ff699f279edd_20189730.png imagette270375671758340079 27037569 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037569 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270375691758340079 27037570 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037570 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385041560: '1758271986_3267009_1385041393_024dfdad0633c54d3e3731a0ac9141ba_rle_crop_3967538834_0.png', 1385041606: '1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539483_0.png', 1385041607: '1758272104_3270394_1385041505_f407a035925f4bec11e99b42404cc90c_rle_crop_3967539497_0.png', 1385041608: '1758272104_3270394_1385041503_33efea781a71a40f5b979cb8ccf80528_rle_crop_3967539509_0.png', 1385041609: '1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539520_0.png', 1385041610: '1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539522_0.png', 1385052560: '1758274747_3399808_1385041510_a62a5ec066c6b1976f1687af52a5e054_rle_crop_3967606679_0.png', 1385052742: '1758274765_3400210_1385041448_b183a826314dc0ef024f6e6810b3d977_rle_crop_3967606855_0.png', 1385052744: '1758274765_3400210_1385041446_6b95a98039e2edf4cf9c51f030b0e80b_rle_crop_3967606884_0.png', 1385053703: '1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609025_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/3cdbc0e6b4ea3d51bad2b52163633ca4_60614590.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/fe1aa7e8fccfa11c1121e7b5c57cacde_9930964.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/5f84679b168d74de0add6d95abe08f5d_43709685.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/67b340a64a67b84d243022426be5b771_48952798.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/764bdd1e9dce769eb8ce00f5a4ce0bef_66437171.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/672e7edbd423f48cac3b422570102fa1_11702223.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/e3de6d2bd76e7f78f05205ff705b0dd5_85473843.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/dafb32233c571ceebc74dab41c438e8a_14557484.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/493f04a80e8f2f0a280dd043b650f58f_66408935.png change filename to text .imagette270375701758340079/ imagette270375701758340079/1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609025_0.png.png imagette270375701758340079/1758271986_3267009_1385041393_024dfdad0633c54d3e3731a0ac9141ba_rle_crop_3967538834_0.png.png imagette270375701758340079/1758274747_3399808_1385041510_a62a5ec066c6b1976f1687af52a5e054_rle_crop_3967606679_0.png.png imagette270375701758340079/1758274765_3400210_1385041446_6b95a98039e2edf4cf9c51f030b0e80b_rle_crop_3967606884_0.png.png imagette270375701758340079/1758272104_3270394_1385041503_33efea781a71a40f5b979cb8ccf80528_rle_crop_3967539509_0.png.png imagette270375701758340079/1758272104_3270394_1385041505_f407a035925f4bec11e99b42404cc90c_rle_crop_3967539497_0.png.png imagette270375701758340079/1758274765_3400210_1385041448_b183a826314dc0ef024f6e6810b3d977_rle_crop_3967606855_0.png.png imagette270375701758340079/1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539522_0.png.png imagette270375701758340079/1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539483_0.png.png imagette270375701758340079/1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539520_0.png.png imagette270375711758340080/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/f6691d973df28edcfd061766bece71e6_69213976.png imagette270375701758340079 27037571 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037571 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270375711758340080 27037574 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037574 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385041524: '1758271867_3260695_1385041331_8896a992fec8c40eff8809107289c711_rle_crop_3967538297_0.png', 1385052728: '1758274765_3400210_1385041446_6b95a98039e2edf4cf9c51f030b0e80b_rle_crop_3967606889_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/7f0b1e666f7e107d77598200c9074746_41802807.png change filename to text .imagette270375741758340080/ imagette270375741758340080/1758271867_3260695_1385041331_8896a992fec8c40eff8809107289c711_rle_crop_3967538297_0.png.png imagette270375741758340080/1758274765_3400210_1385041446_6b95a98039e2edf4cf9c51f030b0e80b_rle_crop_3967606889_0.png.png imagette270375751758340080/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/7423e353d45f5b5b041a302a5cc6cf25_57668428.png imagette270375741758340080 27037575 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037575 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270375751758340080 27037576 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037576 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385041611: '1758272104_3270394_1385041516_a23bbd7274f38e409ebdc702d2c9780b_rle_crop_3967539259_0.png', 1385041613: '1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539485_0.png', 1385041614: '1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539490_0.png', 1385041615: '1758272104_3270394_1385041505_f407a035925f4bec11e99b42404cc90c_rle_crop_3967539500_0.png', 1385041616: '1758272104_3270394_1385041503_33efea781a71a40f5b979cb8ccf80528_rle_crop_3967539515_0.png', 1385041617: '1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539525_0.png', 1385041618: '1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539530_0.png', 1385041665: '1758272226_3274389_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548875_0.png', 1385041769: '1758272348_3280091_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548875_0.png', 1385042406: '1758272466_3285672_1385041722_d315423689d45baf8ff64a6f5c05aaaf_rle_crop_3967557667_0.png', 1385052562: '1758274747_3399808_1385041476_a3732313a453f9657e2226bf475ecadd_rle_crop_3967606697_0.png', 1385052753: '1758274765_3400210_1385041479_6f089729404d9675d0be042bcdd158a2_rle_crop_3967606840_0.png', 1385053705: '1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609028_0.png', 1385053706: '1758275224_3421309_1385041773_e05cb8edeef904ea3e988752e343d086_rle_crop_3967609039_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/8fd3aa382e89021c44966b84d279753e_3107577.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/1276245a58acee4a994ece8b87384fc8_57810469.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/441b95fe09448f363e8c90de0d4b4299_88479353.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/c781cfabec0c8c0b347f3891c89ef701_60641619.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/0de882d420f393ea3788a7f3d6386a40_86515533.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/64003e2c16ee6dd8a1ac071555dd912e_21457313.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/882929e75f421550cf7df72108a195d4_8423578.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/f130187cd66a12b0bad88b23abe453ad_39209124.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/f130187cd66a12b0bad88b23abe453ad_70434846.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/d7a008fe713f6f57474707bfd690ea76_29188154.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/bf103fcba84e9a70340c2e2cc3256ddc_36687454.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/d1045f69e26e479cef68ec613f38c419_88534888.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/e7cc8d4959e6839cabc363c1f4cbfb52_9808678.png change filename to text .imagette270375761758340080/ imagette270375761758340080/1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539485_0.png.png imagette270375761758340080/1758272348_3280091_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548875_0.png.png imagette270375761758340080/1758274747_3399808_1385041476_a3732313a453f9657e2226bf475ecadd_rle_crop_3967606697_0.png.png imagette270375761758340080/1758275224_3421309_1385041773_e05cb8edeef904ea3e988752e343d086_rle_crop_3967609039_0.png.png imagette270375761758340080/1758272104_3270394_1385041503_33efea781a71a40f5b979cb8ccf80528_rle_crop_3967539515_0.png.png imagette270375761758340080/1758272104_3270394_1385041505_f407a035925f4bec11e99b42404cc90c_rle_crop_3967539500_0.png.png imagette270375761758340080/1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539530_0.png.png imagette270375761758340080/1758274765_3400210_1385041479_6f089729404d9675d0be042bcdd158a2_rle_crop_3967606840_0.png.png imagette270375761758340080/1758272466_3285672_1385041722_d315423689d45baf8ff64a6f5c05aaaf_rle_crop_3967557667_0.png.png imagette270375761758340080/1758272104_3270394_1385041516_a23bbd7274f38e409ebdc702d2c9780b_rle_crop_3967539259_0.png.png imagette270375761758340080/1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539490_0.png.png imagette270375761758340080/1758272226_3274389_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548875_0.png.png imagette270375761758340080/1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609028_0.png.png imagette270375761758340080/1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539525_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/c8912f10d7323d414a12f268265eb4b9_59612743.png imagette270375761758340080 27037566 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037566 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385041523: '1758271867_3260695_1385041331_8896a992fec8c40eff8809107289c711_rle_crop_3967538296_0.png', 1385041602: '1758272104_3270394_1385041516_a23bbd7274f38e409ebdc702d2c9780b_rle_crop_3967539254_0.png', 1385041603: '1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539482_0.png', 1385041604: '1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539523_0.png', 1385044681: '1758272704_3296417_1385042207_e6591427770c44cfced745e3ee5ac3ae_rle_crop_3967562955_0.png', 1385051257: '1758274287_3376725_1385041535_727413a99a757866fd1ece9fa1ac34b3_rle_crop_3967601007_0.png', 1385052244: '1758274645_3395053_1385041552_b55c500259df49e378ab1a057b37bf37_rle_crop_3967606445_0.png', 1385052558: '1758274747_3399808_1385041510_a62a5ec066c6b1976f1687af52a5e054_rle_crop_3967606682_0.png', 1385052717: '1758274765_3400210_1385041479_6f089729404d9675d0be042bcdd158a2_rle_crop_3967606838_0.png', 1385052719: '1758274765_3400210_1385041479_6f089729404d9675d0be042bcdd158a2_rle_crop_3967606837_0.png', 1385052721: '1758274765_3400210_1385041448_b183a826314dc0ef024f6e6810b3d977_rle_crop_3967606854_0.png', 1385053699: '1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609032_0.png', 1385053701: '1758275224_3421309_1385041773_e05cb8edeef904ea3e988752e343d086_rle_crop_3967609040_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/8487daa6916284683f3fdd04c67fe9de_47131536.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/36e08b25a749e936f1ca9af39a270080_14830684.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/1b3aa42319470f13e412ca46c4213627_27083844.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/7dfbf4cac142ae22444c0c9c4c49e067_20995071.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/971771b7f96b3389f43c79475d864635_62757584.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/2ce906b69b092f9ccc682a94d87dd08d_26373892.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/703f46cec27787d8d8fbdb5177e7bcf2_82083761.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/122298d45a25be3671499aaa9d46452d_37033415.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/9a893cab21f4343d7e02755738ff748b_78134160.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/acc377c011d95090e85363e735b4d8be_59908268.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/bd2e3279cd82b2c34e2ca58a5f0027fa_73273977.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/f04f8163021eb535a6e8230967cd354a_27066242.png change filename to text .imagette270375661758340082/ imagette270375661758340082/1758271867_3260695_1385041331_8896a992fec8c40eff8809107289c711_rle_crop_3967538296_0.png.png imagette270375661758340082/1758272104_3270394_1385041508_64906fdb65ae466b5d4c070e1652e4ba_rle_crop_3967539482_0.png.png imagette270375661758340082/1758272704_3296417_1385042207_e6591427770c44cfced745e3ee5ac3ae_rle_crop_3967562955_0.png.png imagette270375661758340082/1758274747_3399808_1385041510_a62a5ec066c6b1976f1687af52a5e054_rle_crop_3967606682_0.png.png imagette270375661758340082/1758274765_3400210_1385041479_6f089729404d9675d0be042bcdd158a2_rle_crop_3967606837_0.png.png imagette270375661758340082/1758275224_3421309_1385041773_e05cb8edeef904ea3e988752e343d086_rle_crop_3967609040_0.png.png imagette270375661758340082/1758274765_3400210_1385041448_b183a826314dc0ef024f6e6810b3d977_rle_crop_3967606854_0.png.png imagette270375661758340082/1758274287_3376725_1385041535_727413a99a757866fd1ece9fa1ac34b3_rle_crop_3967601007_0.png.png imagette270375661758340082/1758274645_3395053_1385041552_b55c500259df49e378ab1a057b37bf37_rle_crop_3967606445_0.png.png imagette270375661758340082/1758272104_3270394_1385041500_2606b3bc5ecee9251542b0918fb6396a_rle_crop_3967539523_0.png.png imagette270375661758340082/1758274765_3400210_1385041479_6f089729404d9675d0be042bcdd158a2_rle_crop_3967606838_0.png.png imagette270375661758340082/1758272104_3270394_1385041516_a23bbd7274f38e409ebdc702d2c9780b_rle_crop_3967539254_0.png.png imagette270375661758340082/1758275224_3421309_1385041775_5a81d0d0a1d03445e1331b0579f4c324_rle_crop_3967609032_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/0649fdf7fae821bf8a40753fb33b608c_3346896.png imagette270375661758340082 27037572 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037572 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385041663: '1758272226_3274389_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548871_0.png', 1385041664: '1758272226_3274389_1385041549_2467958b37ab3cf820252b7690bb87f7_rle_crop_3967548895_0.png', 1385041767: '1758272348_3280091_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548871_0.png', 1385041768: '1758272348_3280091_1385041549_2467958b37ab3cf820252b7690bb87f7_rle_crop_3967548895_0.png', 1385044690: '1758272704_3296417_1385041981_d5afc6c221695e6e43574592fde9626a_rle_crop_3967562986_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/cda3ba1f4df549dbb1d5af3a2b9e54e8_8256450.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/e0aafe5809087228162c3206a40a219e_68846360.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/cda3ba1f4df549dbb1d5af3a2b9e54e8_11410021.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/e0aafe5809087228162c3206a40a219e_28953574.png change filename to text .imagette270375721758340084/ imagette270375721758340084/1758272226_3274389_1385041549_2467958b37ab3cf820252b7690bb87f7_rle_crop_3967548895_0.png.png imagette270375721758340084/1758272348_3280091_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548871_0.png.png imagette270375721758340084/1758272348_3280091_1385041549_2467958b37ab3cf820252b7690bb87f7_rle_crop_3967548895_0.png.png imagette270375721758340084/1758272704_3296417_1385041981_d5afc6c221695e6e43574592fde9626a_rle_crop_3967562986_0.png.png imagette270375721758340084/1758272226_3274389_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47_rle_crop_3967548871_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/83c227eff0884d15a0fb81dc7655769c_41523614.png imagette270375721758340084 27037573 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037573 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1385041558: '1758271986_3267009_1385041453_b49b946e37ad0d11ab875a14ab3fc680_rle_crop_3967538827_0.png', 1385044686: '1758272704_3296417_1385041983_c8215334e54141a778a88563f1ed7ebf_rle_crop_3967562963_0.png', 1385044687: '1758272704_3296417_1385041981_d5afc6c221695e6e43574592fde9626a_rle_crop_3967562981_0.png', 1385044688: '1758272704_3296417_1385041979_b38aed5152247954c0ee4e569925d691_rle_crop_3967562997_0.png', 1385044689: '1758272704_3296417_1385041979_b38aed5152247954c0ee4e569925d691_rle_crop_3967563002_0.png', 1385051258: '1758274287_3376725_1385041515_6c0da38c990ab53b6afd7b52cd4dbee5_rle_crop_3967601014_0.png', 1385052734: '1758274765_3400210_1385041450_b293f4b6ee109cbf29c3fb6b4e660683_rle_crop_3967606846_0.png', 1385053702: '1758275224_3421309_1385041985_04c1e7167219a57e107332d1d7e88bde_rle_crop_3967609013_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/12d0390775efece44389ddbe782e7714_30327656.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/c5532a1d6f23596664c542ff35ccb828_36034779.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/74aeecbb6d6c40426b8e4a3e58234cc1_32559381.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/8eaf6d6c72e69ec62b143ff75a8cd7d2_51363822.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/bf4850287d6d00521520c896a09ffbdd_50608593.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/b1b195553be223e544c517ebb2bf033c_53403098.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/9d9b3b2e346de7423ce28c138c8fd59f_29446570.png change filename to text .imagette270375731758340084/ imagette270375731758340084/1758274765_3400210_1385041450_b293f4b6ee109cbf29c3fb6b4e660683_rle_crop_3967606846_0.png.png imagette270375731758340084/1758272704_3296417_1385041981_d5afc6c221695e6e43574592fde9626a_rle_crop_3967562981_0.png.png imagette270375731758340084/1758272704_3296417_1385041979_b38aed5152247954c0ee4e569925d691_rle_crop_3967562997_0.png.png imagette270375731758340084/1758275224_3421309_1385041985_04c1e7167219a57e107332d1d7e88bde_rle_crop_3967609013_0.png.png imagette270375731758340084/1758272704_3296417_1385041983_c8215334e54141a778a88563f1ed7ebf_rle_crop_3967562963_0.png.png imagette270375731758340084/1758271986_3267009_1385041453_b49b946e37ad0d11ab875a14ab3fc680_rle_crop_3967538827_0.png.png imagette270375731758340084/1758274287_3376725_1385041515_6c0da38c990ab53b6afd7b52cd4dbee5_rle_crop_3967601014_0.png.png imagette270375731758340084/1758272704_3296417_1385041979_b38aed5152247954c0ee4e569925d691_rle_crop_3967563002_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/095aa4610aa1981d9538edfca63b88cf_26574631.png imagette270375731758340084 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27037547 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27037577,27037578,27037579,27037580,27037581,27037582,27037583,27037584,27037585,27037586,27037587,27037588?tags=papier,Teint_Dans_La_Masse,kraft,environnement,mal_croppe,cartonnette,flou,Carton_brun,Carton_gris,autre_refus,metal,plastique your option no_mail is active, we will not send the real mail to your client args[1385042207] : ('0.07076633657484113',) no score found for photo 1385042207 We are sending mail with results at report@fotonower.com args[1385041985] : ('0.07076633657484113',) no score found for photo 1385041985 We are sending mail with results at report@fotonower.com args[1385041983] : ('0.07076633657484113',) no score found for photo 1385041983 We are sending mail with results at report@fotonower.com args[1385041981] : ('0.07076633657484113',) no score found for photo 1385041981 We are sending mail with results at report@fotonower.com args[1385041979] : ('0.07076633657484113',) no score found for photo 1385041979 We are sending mail with results at report@fotonower.com args[1385041779] : ('0.07076633657484113',) no score found for photo 1385041779 We are sending mail with results at report@fotonower.com args[1385041775] : ('0.07076633657484113',) no score found for photo 1385041775 We are sending mail with results at report@fotonower.com args[1385041773] : ('0.07076633657484113',) no score found for photo 1385041773 We are sending mail with results at report@fotonower.com args[1385041757] : ('0.07076633657484113',) no score found for photo 1385041757 We are sending mail with results at report@fotonower.com args[1385041722] : ('0.07076633657484113',) no score found for photo 1385041722 We are sending mail with results at report@fotonower.com args[1385041676] : ('0.07076633657484113',) no score found for photo 1385041676 We are sending mail with results at report@fotonower.com args[1385041656] : ('0.07076633657484113',) no score found for photo 1385041656 We are sending mail with results at report@fotonower.com args[1385041654] : ('0.07076633657484113',) no score found for photo 1385041654 We are sending mail with results at report@fotonower.com args[1385041569] : ('0.07076633657484113',) no score found for photo 1385041569 We are sending mail with results at report@fotonower.com args[1385041552] : ('0.07076633657484113',) no score found for photo 1385041552 We are sending mail with results at report@fotonower.com args[1385041551] : ('0.07076633657484113',) no score found for photo 1385041551 We are sending mail with results at report@fotonower.com args[1385041549] : ('0.07076633657484113',) no score found for photo 1385041549 We are sending mail with results at report@fotonower.com args[1385041535] : ('0.07076633657484113',) no score found for photo 1385041535 We are sending mail with results at report@fotonower.com args[1385041534] : ('0.07076633657484113',) no score found for photo 1385041534 We are sending mail with results at report@fotonower.com args[1385041516] : ('0.07076633657484113',) no score found for photo 1385041516 We are sending mail with results at report@fotonower.com args[1385041515] : ('0.07076633657484113',) no score found for photo 1385041515 We are sending mail with results at report@fotonower.com args[1385041510] : ('0.07076633657484113',) no score found for photo 1385041510 We are sending mail with results at report@fotonower.com args[1385041508] : ('0.07076633657484113',) no score found for photo 1385041508 We are sending mail with results at report@fotonower.com args[1385041505] : ('0.07076633657484113',) no score found for photo 1385041505 We are sending mail with results at report@fotonower.com args[1385041503] : ('0.07076633657484113',) no score found for photo 1385041503 We are sending mail with results at report@fotonower.com args[1385041500] : ('0.07076633657484113',) no score found for photo 1385041500 We are sending mail with results at report@fotonower.com args[1385041479] : ('0.07076633657484113',) no score found for photo 1385041479 We are sending mail with results at report@fotonower.com args[1385041476] : ('0.07076633657484113',) no score found for photo 1385041476 We are sending mail with results at report@fotonower.com args[1385041453] : ('0.07076633657484113',) no score found for photo 1385041453 We are sending mail with results at report@fotonower.com args[1385041450] : ('0.07076633657484113',) no score found for photo 1385041450 We are sending mail with results at report@fotonower.com args[1385041448] : ('0.07076633657484113',) no score found for photo 1385041448 We are sending mail with results at report@fotonower.com args[1385041447] : ('0.07076633657484113',) no score found for photo 1385041447 We are sending mail with results at report@fotonower.com args[1385041446] : ('0.07076633657484113',) no score found for photo 1385041446 We are sending mail with results at report@fotonower.com args[1385041402] : ('0.07076633657484113',) no score found for photo 1385041402 We are sending mail with results at report@fotonower.com args[1385041393] : ('0.07076633657484113',) no score found for photo 1385041393 We are sending mail with results at report@fotonower.com args[1385041331] : ('0.07076633657484113',) no score found for photo 1385041331 We are sending mail with results at report@fotonower.com args[1385041329] : ('0.07076633657484113',) no score found for photo 1385041329 We are sending mail with results at report@fotonower.com refus_total : 0.07076633657484113 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037547 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_P27037547_20-09-2025_05_47_59.pdf results_Auto_P27037547_20-09-2025_05_47_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27037547_20-09-2025_05_47_59.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','27037547','results_Auto_P27037547_20-09-2025_05_47_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27037547_20-09-2025_05_47_59.pdf','pdf','','0.55','0.07076633657484113') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27037547]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] map_info['map_portfolio_photo'] : {27037547: [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329]} final : False mtd_id 4302 list_pids : [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] 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, '3750942') ('4302', '27037547', '1385042207', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27037547', '1385042207', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942')] time used for this insertion : 0.15149188041687012 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.919248819351196 time spend to save output : 0.15193867683410645 total time spend for step 4 : 10.071187496185303 step5:split_time_score Sat Sep 20 05:48:07 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 : ['27037547'] 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 : [('27037547',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27037547) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1385041979: {'path': 'temp/1758340077_4059043_1385041979_b38aed5152247954c0ee4e569925d691.jpg', 'extension': 'jpg'}, 1385041981: {'path': 'temp/1758340077_4059043_1385041981_d5afc6c221695e6e43574592fde9626a.jpg', 'extension': 'jpg'}, 1385041983: {'path': 'temp/1758340077_4059043_1385041983_c8215334e54141a778a88563f1ed7ebf.jpg', 'extension': 'jpg'}, 1385041985: {'path': 'temp/1758340077_4059043_1385041985_04c1e7167219a57e107332d1d7e88bde.jpg', 'extension': 'jpg'}, 1385042207: {'path': 'temp/1758340077_4059043_1385042207_e6591427770c44cfced745e3ee5ac3ae.jpg', 'extension': 'jpg'}, 1385041515: {'path': 'temp/1758340077_4059043_1385041515_6c0da38c990ab53b6afd7b52cd4dbee5.jpg', 'extension': 'jpg'}, 1385041516: {'path': 'temp/1758340077_4059043_1385041516_a23bbd7274f38e409ebdc702d2c9780b.jpg', 'extension': 'jpg'}, 1385041534: {'path': 'temp/1758340077_4059043_1385041534_8f95462d3abf89e6865399117bb21df8.jpg', 'extension': 'jpg'}, 1385041535: {'path': 'temp/1758340077_4059043_1385041535_727413a99a757866fd1ece9fa1ac34b3.jpg', 'extension': 'jpg'}, 1385041549: {'path': 'temp/1758340077_4059043_1385041549_2467958b37ab3cf820252b7690bb87f7.jpg', 'extension': 'jpg'}, 1385041551: {'path': 'temp/1758340077_4059043_1385041551_2c60fafa00fded60936b46a00067963b.jpg', 'extension': 'jpg'}, 1385041552: {'path': 'temp/1758340077_4059043_1385041552_b55c500259df49e378ab1a057b37bf37.jpg', 'extension': 'jpg'}, 1385041569: {'path': 'temp/1758340077_4059043_1385041569_3ac210e9e2ae6f1c64d17a2ff3d80f47.jpg', 'extension': 'jpg'}, 1385041654: {'path': 'temp/1758340077_4059043_1385041654_b89616edbcffdb277602c834b3a79953.jpg', 'extension': 'jpg'}, 1385041656: {'path': 'temp/1758340077_4059043_1385041656_153581b564d6cdd67b6827d2a052b7db.jpg', 'extension': 'jpg'}, 1385041676: {'path': 'temp/1758340077_4059043_1385041676_7448f69c24ac3ac400330c665ec13c91.jpg', 'extension': 'jpg'}, 1385041722: {'path': 'temp/1758340077_4059043_1385041722_d315423689d45baf8ff64a6f5c05aaaf.jpg', 'extension': 'jpg'}, 1385041757: {'path': 'temp/1758340077_4059043_1385041757_2470063a8c2ef7ecf5862ea0ff8ca65b.jpg', 'extension': 'jpg'}, 1385041773: {'path': 'temp/1758340077_4059043_1385041773_e05cb8edeef904ea3e988752e343d086.jpg', 'extension': 'jpg'}, 1385041775: {'path': 'temp/1758340077_4059043_1385041775_5a81d0d0a1d03445e1331b0579f4c324.jpg', 'extension': 'jpg'}, 1385041779: {'path': 'temp/1758340077_4059043_1385041779_94cd41dd9c0e8f636d1399fc9109bea1.jpg', 'extension': 'jpg'}, 1385041329: {'path': 'temp/1758340077_4059043_1385041329_91064fe7539d6a7f8d0cfe0fdf88bf1c.jpg', 'extension': 'jpg'}, 1385041331: {'path': 'temp/1758340077_4059043_1385041331_8896a992fec8c40eff8809107289c711.jpg', 'extension': 'jpg'}, 1385041393: {'path': 'temp/1758340077_4059043_1385041393_024dfdad0633c54d3e3731a0ac9141ba.jpg', 'extension': 'jpg'}, 1385041402: {'path': 'temp/1758340077_4059043_1385041402_5e2e3a0ce69fdf95957fa81bc2667cec.jpg', 'extension': 'jpg'}, 1385041446: {'path': 'temp/1758340077_4059043_1385041446_6b95a98039e2edf4cf9c51f030b0e80b.jpg', 'extension': 'jpg'}, 1385041447: {'path': 'temp/1758340077_4059043_1385041447_a38c94704713683c08f9cb87a3cbb31e.jpg', 'extension': 'jpg'}, 1385041448: {'path': 'temp/1758340077_4059043_1385041448_b183a826314dc0ef024f6e6810b3d977.jpg', 'extension': 'jpg'}, 1385041450: {'path': 'temp/1758340077_4059043_1385041450_b293f4b6ee109cbf29c3fb6b4e660683.jpg', 'extension': 'jpg'}, 1385041453: {'path': 'temp/1758340077_4059043_1385041453_b49b946e37ad0d11ab875a14ab3fc680.jpg', 'extension': 'jpg'}, 1385041476: {'path': 'temp/1758340077_4059043_1385041476_a3732313a453f9657e2226bf475ecadd.jpg', 'extension': 'jpg'}, 1385041479: {'path': 'temp/1758340077_4059043_1385041479_6f089729404d9675d0be042bcdd158a2.jpg', 'extension': 'jpg'}, 1385041500: {'path': 'temp/1758340077_4059043_1385041500_2606b3bc5ecee9251542b0918fb6396a.jpg', 'extension': 'jpg'}, 1385041503: {'path': 'temp/1758340077_4059043_1385041503_33efea781a71a40f5b979cb8ccf80528.jpg', 'extension': 'jpg'}, 1385041505: {'path': 'temp/1758340077_4059043_1385041505_f407a035925f4bec11e99b42404cc90c.jpg', 'extension': 'jpg'}, 1385041508: {'path': 'temp/1758340077_4059043_1385041508_64906fdb65ae466b5d4c070e1652e4ba.jpg', 'extension': 'jpg'}, 1385041510: {'path': 'temp/1758340077_4059043_1385041510_a62a5ec066c6b1976f1687af52a5e054.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 = 27037547; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27037547 group by h (('10', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27037547 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 (27037547) 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 (27037547) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19092025 27037547 Nombre de photos uploadées : 37 / 23040 (0%) 19092025 27037547 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 19092025 27037547 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1385041331, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/8896a992fec8c40eff8809107289c711.jpg', 'username': None, 'uploaded_at': 1758271577, 'text': 'image_19092025_10_45_14_010141m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1385041329, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/91064fe7539d6a7f8d0cfe0fdf88bf1c.jpg', 'username': None, 'uploaded_at': 1758271577, 'text': 'image_19092025_10_45_24_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1385041402, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/5e2e3a0ce69fdf95957fa81bc2667cec.jpg', 'username': None, 'uploaded_at': 1758271627, 'text': 'image_19092025_10_45_34_010133m0.jpg 3.0000000000000004e-05 for time 1, id_amount 0 this amount prod time diff : 1e-05'}, {'photo_id': 1385041393, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/19/024dfdad0633c54d3e3731a0ac9141ba.jpg', 'username': None, 'uploaded_at': 1758271627, 'text': 'image_19092025_10_46_24_010136m0.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.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018396377563476562 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27037547, '2025-09-19' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-19' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2316270,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22028112411499023 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= 2316270 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27016220, 'dashboard_result_id': 15467402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016220_20-09-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27016222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27016223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27016224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27016225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27016226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27016227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27016228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27016229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27016230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27016231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27016232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27016233, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27016631, 'dashboard_result_id': 15467403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016631_20-09-2025_05_35_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27016641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27016642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27016643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27016644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27016645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27016646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27016647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27016648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27016649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27016650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27016651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27016652, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27017094, 'dashboard_result_id': 15467404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017094_20-09-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27017105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27017106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27017107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27017108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27017109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27017110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27017111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27017112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27017113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27017114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27017115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27017116, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27017607, 'dashboard_result_id': 15467405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017607_20-09-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27017633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27017634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27017635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27017636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27017637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27017638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27017639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27017640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27017641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27017642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27017643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27017644, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27018718, 'dashboard_result_id': 15467406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018718_20-09-2025_05_36_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27018721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27018722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27018723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27018724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27018725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27018726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27018727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27018728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27018729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27018730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27018732, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27018974, 'dashboard_result_id': 15467407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018974_20-09-2025_05_36_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27018980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27018981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27018982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27018983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27018984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27018985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27018986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27018987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27018988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27018989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27018990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27018991, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27019443, 'dashboard_result_id': 15467408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27019443_20-09-2025_05_37_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27019456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27019457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27019458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27019459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27019460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27019461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27019462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27019463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27019464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27019465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27019466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27019467, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27020070, 'dashboard_result_id': 15467409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020070_20-09-2025_05_37_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27020076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27020077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27020078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27020079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27020080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27020081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27020082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27020083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27020084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27020085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27020086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27020087, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27020597, 'dashboard_result_id': 15467410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020597_20-09-2025_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27020606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27020607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27020608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27020609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27020610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27020611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27020612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27020613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27020614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27020615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27020616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27020617, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27021151, 'dashboard_result_id': 15467411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021151_20-09-2025_05_38_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021157, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021168, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27021458, 'dashboard_result_id': 15467412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021458_20-09-2025_05_38_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021478, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27021942, 'dashboard_result_id': 15467413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021942_20-09-2025_05_39_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021954, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27022438, 'dashboard_result_id': 15467414, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022438_20-09-2025_05_39_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27022452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27022453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27022454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27022455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27022456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27022457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27022458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27022459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27022460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27022461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27022462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27022463, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27022921, 'dashboard_result_id': 15467415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022921_19-09-2025_04_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27022925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27022926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27022927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27022928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27022929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27022930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27022931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27022932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27022933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27022934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27022935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27022936, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27023216, 'dashboard_result_id': 15467416, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27023216_20-09-2025_05_39_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27023217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27023218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27023219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27023220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27023221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27023222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27023223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27023224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27023225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27023226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27023227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27023228, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27024179, 'dashboard_result_id': 15467417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024179_20-09-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27024181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27024182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27024183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27024184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27024185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27024186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27024187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27024188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27024189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27024190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27024191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27024192, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27024594, 'dashboard_result_id': 15467418, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024594_20-09-2025_05_40_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27024614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27024615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27024616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27024617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27024618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27024619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27024620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27024621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27024622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27024623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27024624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27024625, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27024999, 'dashboard_result_id': 15467419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024999_20-09-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27025009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27025014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025016, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27025437, 'dashboard_result_id': 15467420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025437_20-09-2025_05_41_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27025447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27025448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025458, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27025786, 'dashboard_result_id': 15467421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025786_20-09-2025_05_41_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27025790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27025794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025801, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27026445, 'dashboard_result_id': 15467422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026445_20-09-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27026455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27026456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27026457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27026458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27026459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27026460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27026461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27026462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27026463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27026464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27026465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27026466, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27026786, 'dashboard_result_id': 15467423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026786_20-09-2025_05_42_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27026811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27026812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27026813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27026814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27026815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27026816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27026817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27026818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27026819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27026820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27026821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27026822, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27027281, 'dashboard_result_id': 15467424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027281_20-09-2025_05_43_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27027292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27027293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27027294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27027295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27027296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27027298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27027299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27027300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27027301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27027302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27027303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27027304, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27027677, 'dashboard_result_id': 15467425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027677_20-09-2025_05_43_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27027712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27027713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27027714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27027715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27027716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27027717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27027718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27027719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27027720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27027721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27027722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27027723, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27028415, 'dashboard_result_id': 15467426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27028415_20-09-2025_05_43_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27028459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27028460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27028461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27028462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27028463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27028464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27028465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27028466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27028468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27028469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27028470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27028471, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27029212, 'dashboard_result_id': 15467427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029212_20-09-2025_05_44_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27029277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27029278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27029279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27029280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27029281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27029282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27029283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27029284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27029285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27029286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27029287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27029288, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27029946, 'dashboard_result_id': 15467428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029946_20-09-2025_05_44_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27029966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27029967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27029968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27029969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27029970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27029971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27029972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27029973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27029974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27029975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27029976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27029977, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27030510, 'dashboard_result_id': 15467429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27030510_20-09-2025_05_44_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27030541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27030542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27030543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27030544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27030545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27030546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27030547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27030548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27030549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27030550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27030551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27030552, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27031243, 'dashboard_result_id': 15467430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031243_20-09-2025_05_45_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27031295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27031296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27031297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27031298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27031299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27031300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27031301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27031302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27031303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27031304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27031305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27031306, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27031782, 'dashboard_result_id': 15467431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031782_20-09-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27031792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27031793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27031794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27031795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27031796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27031797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27031798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27031799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27031800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27031801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27031802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27031803, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27032493, 'dashboard_result_id': 15467432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27032493_20-09-2025_05_45_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27032498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27032499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27032500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27032501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27032502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27032503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27032504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27032505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27032506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27032507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27032508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27032509, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27034281, 'dashboard_result_id': 15467433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034281_20-09-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27034288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27034289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27034290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27034291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27034292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27034293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27034294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27034295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27034296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27034297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27034298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27034299, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27034860, 'dashboard_result_id': 15467434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034860_20-09-2025_05_46_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27034874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27034875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27034876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27034877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27034878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27034879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27034880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27034881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27034882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27034883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27034884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27034885, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27035418, 'dashboard_result_id': 15467435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27035418_20-09-2025_05_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27035462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27035463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27035464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27035465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27035466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27035467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27035468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27035469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27035470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27035471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27035472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27035473, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27036047, 'dashboard_result_id': 15467436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036047_20-09-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27036117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27036118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27036119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27036120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27036121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27036122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27036123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27036124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27036125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27036126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27036127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27036128, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27036731, 'dashboard_result_id': 15467437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036731_20-09-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27036809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27036810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27036811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27036812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27036813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27036814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27036815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27036816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27036817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27036818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27036819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27036820, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27037547, 'dashboard_result_id': 15467438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27037547_19-09-2025_11_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27037565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27037566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27037567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27037568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27037569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27037570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27037571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27037572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27037573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27037574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27037575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27037576, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27038351, 'dashboard_result_id': 15467439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038351_19-09-2025_11_19_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27038360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27038361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27038362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27038363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27038364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27038365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27038366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27038367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27038368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27038369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27038370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27038371, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27038973, 'dashboard_result_id': 15467440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038973_19-09-2025_17_59_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27038996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27038997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27038998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27038999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27039000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27039001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27039002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27039003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27039004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27039005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27039006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27039007, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27045749, 'dashboard_result_id': 15467441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27045749_19-09-2025_17_34_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27045751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27045752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27045753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27045754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27045755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27045756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27045757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27045758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27045759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27045760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27045761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27045762, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27046118, 'dashboard_result_id': 15467442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27046118_19-09-2025_17_48_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27046123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27046124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27046126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27046127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27046128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27046129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27046130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27046131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27046132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27046133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27046134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27046135, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27047319, 'dashboard_result_id': 15467443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047319_19-09-2025_18_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27047326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27047327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27047328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27047329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27047330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27047331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27047332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27047333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27047334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27047335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27047336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27047337, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27047602, 'dashboard_result_id': 15467444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047602_19-09-2025_18_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27047617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27047618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27047619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27047620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27047621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27047622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27047623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27047624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27047625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27047626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27047627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27047628, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27048231, 'dashboard_result_id': 15467445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048231_19-09-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27048291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27048292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27048293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27048294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27048295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27048296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27048297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27048298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27048299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27048300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27048301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27048302, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27048912, 'dashboard_result_id': 15467446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048912_19-09-2025_19_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27048955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27048956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27048957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27048958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27048959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27048960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27048961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27048962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27048963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27048964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27048965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27048966, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27049724, 'dashboard_result_id': 15467447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27049724_19-09-2025_19_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27049778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27049779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27049780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27049781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27049782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27049783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27049784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27049785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27049786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27049787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27049788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27049789, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27050561, 'dashboard_result_id': 15467448, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27050561_19-09-2025_19_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27050621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27050622, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27050623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27050624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27050625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27050626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27050627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27050628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27050629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27050630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27050631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27050632, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27051010, 'dashboard_result_id': 15467449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051010_19-09-2025_20_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27051034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27051035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27051036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27051037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27051038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27051039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27051040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27051041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27051042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27051043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27051044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27051045, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27051511, 'dashboard_result_id': 15467450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051511_19-09-2025_20_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27051520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27051521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27051522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27051523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27051524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27051525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27051526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27051527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27051528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27051529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27051530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27051531, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27052227, 'dashboard_result_id': 15467451, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052227_19-09-2025_20_33_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27052240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27052241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27052242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27052243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27052244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27052245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27052246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27052247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27052248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27052249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27052250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27052251, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27052779, 'dashboard_result_id': 15467452, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052779_19-09-2025_20_48_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27052816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27052817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27052818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27052819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27052820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27052821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27052822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27052823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27052824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27052825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27052826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27052827, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27053587, 'dashboard_result_id': 15467453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27053587_19-09-2025_21_08_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27053639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27053640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27053641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27053642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27053643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27053644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27053645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27053646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27053647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27053648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27053649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27053650, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27054821, 'dashboard_result_id': 15467454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27054821_19-09-2025_21_19_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27054830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27054831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27054832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27054833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27054834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27054835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27054836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27054837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27054838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27054839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27054840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27054841, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27055325, 'dashboard_result_id': 15467455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055325_19-09-2025_21_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27055331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27055332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27055333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27055334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27055335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27055336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27055337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27055338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27055339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27055340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27055341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27055342, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27055892, 'dashboard_result_id': 15467456, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055892_19-09-2025_22_13_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27055915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27055916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27055917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27055918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27055919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27055920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27055921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27055922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27055923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27055924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27055925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27055926, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27057846, 'dashboard_result_id': 15467457, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057846_19-09-2025_23_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27057848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27057849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27057850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27057851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27057852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27057853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27057854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27057855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27057856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27057857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27057858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27057859, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27057980, 'dashboard_result_id': 15467458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057980_19-09-2025_23_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27057982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27057983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27057984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27057985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27057986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27057987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27057988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27057989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27057990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27057991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27057992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27057993, 'pht': 3726}}"}, {'dashboat_entry_day': 2316270, 'dashboard_run_id': 2332469, 'mtr_portfolio_id': 27058347, 'dashboard_result_id': 15467459, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27058347_20-09-2025_01_00_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27058354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27058355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27058356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27058357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27058358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27058359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27058360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27058361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27058362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27058363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27058364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27058365, '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 = 27016220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750906, 'mtr_portfolio_id': 27016220, 'created_at': datetime.datetime(2025, 9, 20, 5, 34, 28), 'result': '0.029126254871664363', 'result_long': None, 'result_double': None}] Qualite : 0.029126254871664363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27016220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016220_20-09-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27016220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016220_20-09-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27016222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27016223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27016224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27016225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27016226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27016227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27016228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27016229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27016230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27016231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27016232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27016233, 'pht': 3726}}" where mtr_portfolio_id = 27016220 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27016220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467402, 0.029126254871664363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016220_20-09-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27016222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27016223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27016224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27016225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27016226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27016227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27016228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27016229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27016230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27016231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27016232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27016233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27016631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750907, 'mtr_portfolio_id': 27016631, 'created_at': datetime.datetime(2025, 9, 20, 5, 34, 58), 'result': '0.030465300673685938', 'result_long': None, 'result_double': None}] Qualite : 0.030465300673685938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27016631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016631_20-09-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27016631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016631_20-09-2025_05_35_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27016641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27016642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27016643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27016644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27016645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27016646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27016647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27016648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27016649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27016650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27016651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27016652, 'pht': 3726}}" where mtr_portfolio_id = 27016631 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27016631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467403, 0.030465300673685938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27016631_20-09-2025_05_35_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27016641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27016642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27016643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27016644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27016645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27016646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27016647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27016648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27016649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27016650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27016651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27016652, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27017094 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750908, 'mtr_portfolio_id': 27017094, 'created_at': datetime.datetime(2025, 9, 20, 5, 35, 27), 'result': '0.06811189945766309', 'result_long': None, 'result_double': None}] Qualite : 0.06811189945766309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27017094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017094_20-09-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27017094 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017094_20-09-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27017105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27017106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27017107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27017108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27017109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27017110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27017111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27017112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27017113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27017114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27017115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27017116, 'pht': 3726}}" where mtr_portfolio_id = 27017094 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27017094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467404, 0.06811189945766309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017094_20-09-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27017105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27017106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27017107, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27017108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27017109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27017110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27017111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27017112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27017113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27017114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27017115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27017116, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27017607 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750909, 'mtr_portfolio_id': 27017607, 'created_at': datetime.datetime(2025, 9, 20, 5, 35, 32), 'result': '0.05023134010152185', 'result_long': None, 'result_double': None}] Qualite : 0.05023134010152185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27017607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017607_20-09-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27017607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017607_20-09-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27017633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27017634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27017635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27017636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27017637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27017638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27017639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27017640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27017641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27017642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27017643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27017644, 'pht': 3726}}" where mtr_portfolio_id = 27017607 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27017607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467405, 0.05023134010152185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27017607_20-09-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27017633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27017634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27017635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27017636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27017637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27017638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27017639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27017640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27017641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27017642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27017643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27017644, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27018718 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750910, 'mtr_portfolio_id': 27018718, 'created_at': datetime.datetime(2025, 9, 20, 5, 36), 'result': '0.08216412998319672', 'result_long': None, 'result_double': None}] Qualite : 0.08216412998319672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27018718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018718_20-09-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27018718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018718_20-09-2025_05_36_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27018721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27018722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27018723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27018724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27018725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27018726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27018727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27018728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27018729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27018730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27018732, 'pht': 3726}}" where mtr_portfolio_id = 27018718 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27018718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467406, 0.08216412998319672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018718_20-09-2025_05_36_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27018721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27018722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27018723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27018724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27018725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27018726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27018727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27018728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27018729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27018730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27018732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27018974 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750911, 'mtr_portfolio_id': 27018974, 'created_at': datetime.datetime(2025, 9, 20, 5, 36, 31), 'result': '0.056277792635520234', 'result_long': None, 'result_double': None}] Qualite : 0.056277792635520234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27018974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018974_20-09-2025_05_36_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27018974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018974_20-09-2025_05_36_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27018980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27018981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27018982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27018983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27018984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27018985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27018986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27018987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27018988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27018989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27018990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27018991, 'pht': 3726}}" where mtr_portfolio_id = 27018974 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27018974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467407, 0.056277792635520234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27018974_20-09-2025_05_36_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27018980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27018981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27018982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27018983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27018984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27018985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27018986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27018987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27018988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27018989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27018990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27018991, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27019443 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750912, 'mtr_portfolio_id': 27019443, 'created_at': datetime.datetime(2025, 9, 20, 5, 37, 1), 'result': '0.050640549543349275', 'result_long': None, 'result_double': None}] Qualite : 0.050640549543349275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27019443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27019443_20-09-2025_05_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27019443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27019443_20-09-2025_05_37_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27019456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27019457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27019458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27019459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27019460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27019461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27019462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27019463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27019464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27019465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27019466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27019467, 'pht': 3726}}" where mtr_portfolio_id = 27019443 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27019443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467408, 0.050640549543349275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27019443_20-09-2025_05_37_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27019456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27019457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27019458, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27019459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27019460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27019461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27019462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27019463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27019464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27019465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27019466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27019467, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27020070 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750913, 'mtr_portfolio_id': 27020070, 'created_at': datetime.datetime(2025, 9, 20, 5, 37, 32), 'result': '0.06075734718497942', 'result_long': None, 'result_double': None}] Qualite : 0.06075734718497942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27020070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020070_20-09-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27020070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020070_20-09-2025_05_37_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27020076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27020077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27020078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27020079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27020080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27020081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27020082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27020083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27020084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27020085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27020086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27020087, 'pht': 3726}}" where mtr_portfolio_id = 27020070 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27020070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467409, 0.06075734718497942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020070_20-09-2025_05_37_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27020076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27020077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27020078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27020079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27020080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27020081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27020082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27020083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27020084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27020085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27020086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27020087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27020597 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750914, 'mtr_portfolio_id': 27020597, 'created_at': datetime.datetime(2025, 9, 20, 5, 37, 27), 'result': '0.05996700256507209', 'result_long': None, 'result_double': None}] Qualite : 0.05996700256507209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27020597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020597_20-09-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27020597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020597_20-09-2025_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27020606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27020607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27020608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27020609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27020610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27020611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27020612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27020613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27020614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27020615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27020616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27020617, 'pht': 3726}}" where mtr_portfolio_id = 27020597 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27020597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467410, 0.05996700256507209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27020597_20-09-2025_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27020606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27020607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27020608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27020609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27020610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27020611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27020612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27020613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27020614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27020615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27020616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27020617, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27021151 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750915, 'mtr_portfolio_id': 27021151, 'created_at': datetime.datetime(2025, 9, 20, 5, 37, 59), 'result': '0.07139097685004718', 'result_long': None, 'result_double': None}] Qualite : 0.07139097685004718 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27021151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021151_20-09-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27021151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021151_20-09-2025_05_38_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021157, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021168, 'pht': 3726}}" where mtr_portfolio_id = 27021151 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27021151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467411, 0.07139097685004718, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021151_20-09-2025_05_38_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021157, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021168, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27021458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750916, 'mtr_portfolio_id': 27021458, 'created_at': datetime.datetime(2025, 9, 20, 5, 38, 28), 'result': '0.057415642754427246', 'result_long': None, 'result_double': None}] Qualite : 0.057415642754427246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27021458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021458_20-09-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27021458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021458_20-09-2025_05_38_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021478, 'pht': 3726}}" where mtr_portfolio_id = 27021458 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27021458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467412, 0.057415642754427246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021458_20-09-2025_05_38_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021471, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27021942 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750917, 'mtr_portfolio_id': 27021942, 'created_at': datetime.datetime(2025, 9, 20, 5, 38, 58), 'result': '0.05824326272269777', 'result_long': None, 'result_double': None}] Qualite : 0.05824326272269777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27021942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021942_20-09-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27021942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021942_20-09-2025_05_39_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021954, 'pht': 3726}}" where mtr_portfolio_id = 27021942 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27021942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467413, 0.05824326272269777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27021942_20-09-2025_05_39_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27021943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27021944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27021945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27021946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27021947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27021948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27021949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27021950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27021951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27021952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27021953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27021954, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27022438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750918, 'mtr_portfolio_id': 27022438, 'created_at': datetime.datetime(2025, 9, 20, 5, 39, 28), 'result': '0.06788594462143732', 'result_long': None, 'result_double': None}] Qualite : 0.06788594462143732 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27022438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022438_20-09-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27022438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022438_20-09-2025_05_39_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27022452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27022453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27022454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27022455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27022456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27022457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27022458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27022459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27022460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27022461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27022462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27022463, 'pht': 3726}}" where mtr_portfolio_id = 27022438 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27022438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467414, 0.06788594462143732, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022438_20-09-2025_05_39_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27022452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27022453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27022454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27022455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27022456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27022457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27022458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27022459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27022460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27022461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27022462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27022463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27022921 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750919, 'mtr_portfolio_id': 27022921, 'created_at': datetime.datetime(2025, 9, 20, 5, 39, 30), 'result': '0.0554407754574679', 'result_long': None, 'result_double': None}] Qualite : 0.0554407754574679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27022921 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022921_19-09-2025_04_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27022921 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022921_19-09-2025_04_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27022925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27022926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27022927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27022928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27022929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27022930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27022931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27022932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27022933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27022934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27022935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27022936, 'pht': 3726}}" where mtr_portfolio_id = 27022921 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27022921 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467415, 0.0554407754574679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27022921_19-09-2025_04_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27022925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27022926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27022927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27022928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27022929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27022930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27022931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27022932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27022933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27022934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27022935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27022936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27023216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750920, 'mtr_portfolio_id': 27023216, 'created_at': datetime.datetime(2025, 9, 20, 5, 39, 57), 'result': '0.049171565702780196', 'result_long': None, 'result_double': None}] Qualite : 0.049171565702780196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27023216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27023216_20-09-2025_05_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27023216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27023216_20-09-2025_05_39_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27023217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27023218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27023219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27023220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27023221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27023222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27023223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27023224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27023225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27023226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27023227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27023228, 'pht': 3726}}" where mtr_portfolio_id = 27023216 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27023216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467416, 0.049171565702780196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27023216_20-09-2025_05_39_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27023217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27023218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27023219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27023220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27023221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27023222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27023223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27023224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27023225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27023226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27023227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27023228, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27024179 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750921, 'mtr_portfolio_id': 27024179, 'created_at': datetime.datetime(2025, 9, 20, 5, 40, 29), 'result': '0.05170837951385025', 'result_long': None, 'result_double': None}] Qualite : 0.05170837951385025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27024179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024179_20-09-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27024179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024179_20-09-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27024181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27024182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27024183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27024184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27024185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27024186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27024187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27024188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27024189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27024190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27024191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27024192, 'pht': 3726}}" where mtr_portfolio_id = 27024179 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27024179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467417, 0.05170837951385025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024179_20-09-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27024181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27024182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27024183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27024184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27024185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27024186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27024187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27024188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27024189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27024190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27024191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27024192, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27024594 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750922, 'mtr_portfolio_id': 27024594, 'created_at': datetime.datetime(2025, 9, 20, 5, 40, 39), 'result': '0.04016414699047818', 'result_long': None, 'result_double': None}] Qualite : 0.04016414699047818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27024594 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024594_20-09-2025_05_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27024594 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024594_20-09-2025_05_40_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27024614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27024615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27024616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27024617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27024618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27024619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27024620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27024621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27024622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27024623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27024624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27024625, 'pht': 3726}}" where mtr_portfolio_id = 27024594 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27024594 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467418, 0.04016414699047818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024594_20-09-2025_05_40_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27024614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27024615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27024616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27024617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27024618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27024619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27024620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27024621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27024622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27024623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27024624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27024625, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27024999 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750923, 'mtr_portfolio_id': 27024999, 'created_at': datetime.datetime(2025, 9, 20, 5, 41), 'result': '0.05413630303777579', 'result_long': None, 'result_double': None}] Qualite : 0.05413630303777579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27024999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024999_20-09-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27024999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024999_20-09-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27025009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27025014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025016, 'pht': 3726}}" where mtr_portfolio_id = 27024999 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27024999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467419, 0.05413630303777579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27024999_20-09-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27025009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27025014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27025437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750924, 'mtr_portfolio_id': 27025437, 'created_at': datetime.datetime(2025, 9, 20, 5, 41, 32), 'result': '0.05093611819090818', 'result_long': None, 'result_double': None}] Qualite : 0.05093611819090818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27025437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025437_20-09-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27025437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025437_20-09-2025_05_41_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27025447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27025448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025458, 'pht': 3726}}" where mtr_portfolio_id = 27025437 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27025437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467420, 0.05093611819090818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025437_20-09-2025_05_41_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27025447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27025448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27025786 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750925, 'mtr_portfolio_id': 27025786, 'created_at': datetime.datetime(2025, 9, 20, 5, 41, 29), 'result': '0.03880678637714094', 'result_long': None, 'result_double': None}] Qualite : 0.03880678637714094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27025786 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025786_20-09-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27025786 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025786_20-09-2025_05_41_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27025790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27025794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025801, 'pht': 3726}}" where mtr_portfolio_id = 27025786 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27025786 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467421, 0.03880678637714094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27025786_20-09-2025_05_41_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27025790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27025791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27025792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27025793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27025794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27025795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27025796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27025797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27025798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27025799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27025800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27025801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27026445 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750926, 'mtr_portfolio_id': 27026445, 'created_at': datetime.datetime(2025, 9, 20, 5, 41, 58), 'result': '0.04729413606176354', 'result_long': None, 'result_double': None}] Qualite : 0.04729413606176354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27026445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026445_20-09-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27026445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026445_20-09-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27026455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27026456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27026457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27026458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27026459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27026460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27026461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27026462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27026463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27026464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27026465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27026466, 'pht': 3726}}" where mtr_portfolio_id = 27026445 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27026445 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467422, 0.04729413606176354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026445_20-09-2025_05_42_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27026455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27026456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27026457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27026458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27026459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27026460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27026461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27026462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27026463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27026464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27026465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27026466, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27026786 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750927, 'mtr_portfolio_id': 27026786, 'created_at': datetime.datetime(2025, 9, 20, 5, 42, 31), 'result': '0.06186936196219517', 'result_long': None, 'result_double': None}] Qualite : 0.06186936196219517 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27026786 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026786_20-09-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27026786 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026786_20-09-2025_05_42_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27026811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27026812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27026813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27026814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27026815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27026816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27026817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27026818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27026819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27026820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27026821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27026822, 'pht': 3726}}" where mtr_portfolio_id = 27026786 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27026786 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467423, 0.06186936196219517, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27026786_20-09-2025_05_42_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27026811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27026812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27026813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27026814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27026815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27026816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27026817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27026818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27026819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27026820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27026821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27026822, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27027281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750928, 'mtr_portfolio_id': 27027281, 'created_at': datetime.datetime(2025, 9, 20, 5, 43), 'result': '0.05747787378882847', 'result_long': None, 'result_double': None}] Qualite : 0.05747787378882847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27027281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027281_20-09-2025_05_43_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27027281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027281_20-09-2025_05_43_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27027292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27027293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27027294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27027295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27027296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27027298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27027299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27027300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27027301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27027302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27027303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27027304, 'pht': 3726}}" where mtr_portfolio_id = 27027281 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27027281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467424, 0.05747787378882847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027281_20-09-2025_05_43_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27027292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27027293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27027294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27027295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27027296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27027298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27027299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27027300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27027301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27027302, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27027303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27027304, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27027677 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750929, 'mtr_portfolio_id': 27027677, 'created_at': datetime.datetime(2025, 9, 20, 5, 43, 26), 'result': '0.0657716882793785', 'result_long': None, 'result_double': None}] Qualite : 0.0657716882793785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27027677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027677_20-09-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27027677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027677_20-09-2025_05_43_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27027712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27027713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27027714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27027715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27027716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27027717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27027718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27027719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27027720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27027721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27027722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27027723, 'pht': 3726}}" where mtr_portfolio_id = 27027677 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27027677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467425, 0.0657716882793785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27027677_20-09-2025_05_43_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27027712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27027713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27027714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27027715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27027716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27027717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27027718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27027719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27027720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27027721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27027722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27027723, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27028415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750930, 'mtr_portfolio_id': 27028415, 'created_at': datetime.datetime(2025, 9, 20, 5, 43, 30), 'result': '0.042132631782490965', 'result_long': None, 'result_double': None}] Qualite : 0.042132631782490965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27028415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27028415_20-09-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27028415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27028415_20-09-2025_05_43_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27028459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27028460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27028461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27028462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27028463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27028464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27028465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27028466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27028468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27028469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27028470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27028471, 'pht': 3726}}" where mtr_portfolio_id = 27028415 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27028415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467426, 0.042132631782490965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27028415_20-09-2025_05_43_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27028459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27028460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27028461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27028462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27028463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27028464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27028465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27028466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27028468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27028469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27028470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27028471, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27029212 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750931, 'mtr_portfolio_id': 27029212, 'created_at': datetime.datetime(2025, 9, 20, 5, 44), 'result': '0.0394002641059325', 'result_long': None, 'result_double': None}] Qualite : 0.0394002641059325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27029212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029212_20-09-2025_05_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27029212 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029212_20-09-2025_05_44_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27029277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27029278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27029279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27029280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27029281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27029282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27029283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27029284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27029285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27029286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27029287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27029288, 'pht': 3726}}" where mtr_portfolio_id = 27029212 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27029212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467427, 0.0394002641059325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029212_20-09-2025_05_44_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27029277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27029278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27029279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27029280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27029281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27029282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27029283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27029284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27029285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27029286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27029287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27029288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27029946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750932, 'mtr_portfolio_id': 27029946, 'created_at': datetime.datetime(2025, 9, 20, 5, 44, 28), 'result': '0.05593016592661888', 'result_long': None, 'result_double': None}] Qualite : 0.05593016592661888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27029946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029946_20-09-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27029946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029946_20-09-2025_05_44_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27029966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27029967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27029968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27029969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27029970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27029971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27029972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27029973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27029974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27029975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27029976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27029977, 'pht': 3726}}" where mtr_portfolio_id = 27029946 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27029946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467428, 0.05593016592661888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27029946_20-09-2025_05_44_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27029966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27029967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27029968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27029969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27029970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27029971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27029972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27029973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27029974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27029975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27029976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27029977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27030510 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750933, 'mtr_portfolio_id': 27030510, 'created_at': datetime.datetime(2025, 9, 20, 5, 44, 56), 'result': '0.03069620224133256', 'result_long': None, 'result_double': None}] Qualite : 0.03069620224133256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27030510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27030510_20-09-2025_05_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27030510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27030510_20-09-2025_05_44_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27030541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27030542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27030543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27030544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27030545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27030546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27030547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27030548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27030549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27030550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27030551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27030552, 'pht': 3726}}" where mtr_portfolio_id = 27030510 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27030510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467429, 0.03069620224133256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27030510_20-09-2025_05_44_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27030541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27030542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27030543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27030544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27030545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27030546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27030547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27030548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27030549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27030550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27030551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27030552, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27031243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750934, 'mtr_portfolio_id': 27031243, 'created_at': datetime.datetime(2025, 9, 20, 5, 45, 31), 'result': '0.04905630193225327', 'result_long': None, 'result_double': None}] Qualite : 0.04905630193225327 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27031243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031243_20-09-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27031243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031243_20-09-2025_05_45_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27031295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27031296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27031297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27031298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27031299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27031300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27031301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27031302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27031303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27031304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27031305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27031306, 'pht': 3726}}" where mtr_portfolio_id = 27031243 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27031243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467430, 0.04905630193225327, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031243_20-09-2025_05_45_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27031295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27031296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27031297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27031298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27031299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27031300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27031301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27031302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27031303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27031304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27031305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27031306, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27031782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750935, 'mtr_portfolio_id': 27031782, 'created_at': datetime.datetime(2025, 9, 20, 5, 45, 29), 'result': '0.053607643477950495', 'result_long': None, 'result_double': None}] Qualite : 0.053607643477950495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27031782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031782_20-09-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27031782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031782_20-09-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27031792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27031793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27031794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27031795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27031796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27031797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27031798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27031799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27031800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27031801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27031802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27031803, 'pht': 3726}}" where mtr_portfolio_id = 27031782 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27031782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467431, 0.053607643477950495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27031782_20-09-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27031792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27031793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27031794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27031795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27031796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27031797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27031798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27031799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27031800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27031801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27031802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27031803, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27032493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750936, 'mtr_portfolio_id': 27032493, 'created_at': datetime.datetime(2025, 9, 20, 5, 45, 40), 'result': '0.050408914750789464', 'result_long': None, 'result_double': None}] Qualite : 0.050408914750789464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27032493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27032493_20-09-2025_05_45_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27032493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27032493_20-09-2025_05_45_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27032498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27032499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27032500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27032501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27032502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27032503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27032504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27032505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27032506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27032507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27032508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27032509, 'pht': 3726}}" where mtr_portfolio_id = 27032493 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27032493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467432, 0.050408914750789464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27032493_20-09-2025_05_45_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27032498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27032499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27032500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27032501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27032502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27032503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27032504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27032505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27032506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27032507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27032508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27032509, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27034281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750937, 'mtr_portfolio_id': 27034281, 'created_at': datetime.datetime(2025, 9, 20, 5, 46), 'result': '0.03284370205124794', 'result_long': None, 'result_double': None}] Qualite : 0.03284370205124794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27034281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034281_20-09-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27034281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034281_20-09-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27034288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27034289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27034290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27034291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27034292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27034293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27034294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27034295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27034296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27034297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27034298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27034299, 'pht': 3726}}" where mtr_portfolio_id = 27034281 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27034281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467433, 0.03284370205124794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034281_20-09-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27034288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27034289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27034290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27034291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27034292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27034293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27034294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27034295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27034296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27034297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27034298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27034299, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27034860 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750938, 'mtr_portfolio_id': 27034860, 'created_at': datetime.datetime(2025, 9, 20, 5, 46, 29), 'result': '0.035063394503867744', 'result_long': None, 'result_double': None}] Qualite : 0.035063394503867744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27034860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034860_20-09-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27034860 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034860_20-09-2025_05_46_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27034874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27034875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27034876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27034877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27034878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27034879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27034880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27034881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27034882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27034883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27034884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27034885, 'pht': 3726}}" where mtr_portfolio_id = 27034860 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27034860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467434, 0.035063394503867744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27034860_20-09-2025_05_46_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27034874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27034875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27034876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27034877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27034878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27034879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27034880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27034881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27034882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27034883, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27034884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27034885, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27035418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750939, 'mtr_portfolio_id': 27035418, 'created_at': datetime.datetime(2025, 9, 20, 5, 47), 'result': '0.04222005221639659', 'result_long': None, 'result_double': None}] Qualite : 0.04222005221639659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27035418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27035418_20-09-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27035418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27035418_20-09-2025_05_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27035462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27035463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27035464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27035465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27035466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27035467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27035468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27035469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27035470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27035471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27035472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27035473, 'pht': 3726}}" where mtr_portfolio_id = 27035418 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27035418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467435, 0.04222005221639659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27035418_20-09-2025_05_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27035462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27035463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27035464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27035465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27035466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27035467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27035468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27035469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27035470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27035471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27035472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27035473, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27036047 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750940, 'mtr_portfolio_id': 27036047, 'created_at': datetime.datetime(2025, 9, 20, 5, 47, 31), 'result': '0.05335497096401823', 'result_long': None, 'result_double': None}] Qualite : 0.05335497096401823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27036047 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036047_20-09-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27036047 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036047_20-09-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27036117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27036118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27036119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27036120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27036121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27036122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27036123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27036124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27036125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27036126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27036127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27036128, 'pht': 3726}}" where mtr_portfolio_id = 27036047 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27036047 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467436, 0.05335497096401823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036047_20-09-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27036117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27036118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27036119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27036120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27036121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27036122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27036123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27036124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27036125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27036126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27036127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27036128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27036731 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750941, 'mtr_portfolio_id': 27036731, 'created_at': datetime.datetime(2025, 9, 20, 5, 47, 29), 'result': '0.04594764963618038', 'result_long': None, 'result_double': None}] Qualite : 0.04594764963618038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27036731 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036731_20-09-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27036731 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036731_20-09-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27036809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27036810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27036811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27036812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27036813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27036814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27036815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27036816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27036817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27036818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27036819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27036820, 'pht': 3726}}" where mtr_portfolio_id = 27036731 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27036731 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467437, 0.04594764963618038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27036731_20-09-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27036809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27036810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27036811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27036812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27036813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27036814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27036815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27036816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27036817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27036818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27036819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27036820, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27037547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3750942, 'mtr_portfolio_id': 27037547, 'created_at': datetime.datetime(2025, 9, 20, 5, 47, 57), 'result': '0.07076633657484113', 'result_long': None, 'result_double': None}] Qualite : 0.07076633657484113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27037547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27037547_20-09-2025_05_47_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27037547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27037547_20-09-2025_05_47_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27037565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27037566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27037567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27037568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27037569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27037570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27037571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27037572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27037573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27037574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27037575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27037576, 'pht': 3726}}" where mtr_portfolio_id = 27037547 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27037547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467438, 0.07076633657484113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27037547_20-09-2025_05_47_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27037565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27037566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27037567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27037568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27037569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27037570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27037571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27037572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27037573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27037574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27037575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27037576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27038351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3746856, 'mtr_portfolio_id': 27038351, 'created_at': datetime.datetime(2025, 9, 19, 11, 18, 59), 'result': '0.0714782187651313', 'result_long': None, 'result_double': None}] Qualite : 0.0714782187651313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27038351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038351_19-09-2025_11_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27038351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038351_19-09-2025_11_19_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27038360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27038361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27038362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27038363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27038364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27038365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27038366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27038367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27038368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27038369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27038370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27038371, 'pht': 3726}}" where mtr_portfolio_id = 27038351 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27038351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467439, 0.0714782187651313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038351_19-09-2025_11_19_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27038360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27038361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27038362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27038363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27038364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27038365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27038366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27038367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27038368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27038369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27038370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27038371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27038973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3746920, 'mtr_portfolio_id': 27038973, 'created_at': datetime.datetime(2025, 9, 19, 17, 59, 59), 'result': '0.04860066973445231', 'result_long': None, 'result_double': None}] Qualite : 0.04860066973445231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27038973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038973_19-09-2025_17_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27038973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038973_19-09-2025_17_59_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27038996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27038997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27038998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27038999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27039000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27039001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27039002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27039003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27039004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27039005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27039006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27039007, 'pht': 3726}}" where mtr_portfolio_id = 27038973 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27038973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467440, 0.04860066973445231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27038973_19-09-2025_17_59_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27038996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27038997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27038998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27038999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27039000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27039001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27039002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27039003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27039004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27039005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27039006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27039007, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27045749 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3747853, 'mtr_portfolio_id': 27045749, 'created_at': datetime.datetime(2025, 9, 19, 17, 34, 56), 'result': '0.0790126272140589', 'result_long': None, 'result_double': None}] Qualite : 0.0790126272140589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27045749 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27045749_19-09-2025_17_34_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27045749 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27045749_19-09-2025_17_34_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27045751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27045752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27045753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27045754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27045755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27045756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27045757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27045758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27045759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27045760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27045761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27045762, 'pht': 3726}}" where mtr_portfolio_id = 27045749 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27045749 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467441, 0.0790126272140589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27045749_19-09-2025_17_34_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27045751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27045752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27045753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27045754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27045755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27045756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27045757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27045758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27045759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27045760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27045761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27045762, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27046118 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3747896, 'mtr_portfolio_id': 27046118, 'created_at': datetime.datetime(2025, 9, 19, 17, 48, 31), 'result': '0.041003234651210696', 'result_long': None, 'result_double': None}] Qualite : 0.041003234651210696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27046118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27046118_19-09-2025_17_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27046118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27046118_19-09-2025_17_48_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27046123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27046124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27046126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27046127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27046128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27046129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27046130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27046131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27046132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27046133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27046134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27046135, 'pht': 3726}}" where mtr_portfolio_id = 27046118 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27046118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467442, 0.041003234651210696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27046118_19-09-2025_17_48_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27046123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27046124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27046126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27046127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27046128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27046129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27046130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27046131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27046132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27046133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27046134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27046135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27047319 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748012, 'mtr_portfolio_id': 27047319, 'created_at': datetime.datetime(2025, 9, 19, 18, 32, 59), 'result': '0.061107904195557346', 'result_long': None, 'result_double': None}] Qualite : 0.061107904195557346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27047319 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047319_19-09-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27047319 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047319_19-09-2025_18_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27047326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27047327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27047328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27047329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27047330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27047331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27047332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27047333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27047334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27047335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27047336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27047337, 'pht': 3726}}" where mtr_portfolio_id = 27047319 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27047319 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467443, 0.061107904195557346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047319_19-09-2025_18_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27047326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27047327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27047328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27047329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27047330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27047331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27047332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27047333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27047334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27047335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27047336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27047337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27047602 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748055, 'mtr_portfolio_id': 27047602, 'created_at': datetime.datetime(2025, 9, 19, 18, 48, 57), 'result': '0.06449363020812833', 'result_long': None, 'result_double': None}] Qualite : 0.06449363020812833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27047602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047602_19-09-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27047602 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047602_19-09-2025_18_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27047617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27047618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27047619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27047620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27047621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27047622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27047623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27047624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27047625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27047626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27047627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27047628, 'pht': 3726}}" where mtr_portfolio_id = 27047602 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27047602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467444, 0.06449363020812833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27047602_19-09-2025_18_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27047617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27047618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27047619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27047620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27047621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27047622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27047623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27047624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27047625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27047626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27047627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27047628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27048231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748115, 'mtr_portfolio_id': 27048231, 'created_at': datetime.datetime(2025, 9, 19, 19, 3), 'result': '0.05192410204113864', 'result_long': None, 'result_double': None}] Qualite : 0.05192410204113864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27048231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048231_19-09-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27048231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048231_19-09-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27048291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27048292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27048293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27048294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27048295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27048296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27048297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27048298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27048299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27048300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27048301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27048302, 'pht': 3726}}" where mtr_portfolio_id = 27048231 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27048231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467445, 0.05192410204113864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048231_19-09-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27048291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27048292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27048293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27048294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27048295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27048296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27048297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27048298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27048299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27048300, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27048301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27048302, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27048912 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748193, 'mtr_portfolio_id': 27048912, 'created_at': datetime.datetime(2025, 9, 19, 19, 18, 59), 'result': '0.060871970973675825', 'result_long': None, 'result_double': None}] Qualite : 0.060871970973675825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27048912 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048912_19-09-2025_19_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27048912 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048912_19-09-2025_19_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27048955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27048956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27048957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27048958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27048959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27048960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27048961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27048962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27048963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27048964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27048965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27048966, 'pht': 3726}}" where mtr_portfolio_id = 27048912 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27048912 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467446, 0.060871970973675825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27048912_19-09-2025_19_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27048955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27048956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27048957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27048958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27048959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27048960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27048961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27048962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27048963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27048964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27048965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27048966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27049724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748269, 'mtr_portfolio_id': 27049724, 'created_at': datetime.datetime(2025, 9, 19, 19, 36, 30), 'result': '0.04449816917320436', 'result_long': None, 'result_double': None}] Qualite : 0.04449816917320436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27049724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27049724_19-09-2025_19_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27049724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27049724_19-09-2025_19_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27049778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27049779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27049780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27049781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27049782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27049783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27049784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27049785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27049786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27049787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27049788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27049789, 'pht': 3726}}" where mtr_portfolio_id = 27049724 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27049724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467447, 0.04449816917320436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27049724_19-09-2025_19_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27049778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27049779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27049780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27049781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27049782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27049783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27049784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27049785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27049786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27049787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27049788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27049789, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27050561 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748381, 'mtr_portfolio_id': 27050561, 'created_at': datetime.datetime(2025, 9, 19, 19, 48, 59), 'result': '0.053862300584689084', 'result_long': None, 'result_double': None}] Qualite : 0.053862300584689084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27050561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27050561_19-09-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27050561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27050561_19-09-2025_19_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27050621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27050622, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27050623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27050624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27050625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27050626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27050627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27050628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27050629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27050630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27050631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27050632, 'pht': 3726}}" where mtr_portfolio_id = 27050561 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27050561 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467448, 0.053862300584689084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27050561_19-09-2025_19_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27050621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27050622, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27050623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27050624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27050625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27050626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27050627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27050628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27050629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27050630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27050631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27050632, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27051010 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748421, 'mtr_portfolio_id': 27051010, 'created_at': datetime.datetime(2025, 9, 19, 20, 2, 59), 'result': '0.06279605023386813', 'result_long': None, 'result_double': None}] Qualite : 0.06279605023386813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27051010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051010_19-09-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27051010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051010_19-09-2025_20_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27051034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27051035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27051036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27051037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27051038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27051039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27051040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27051041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27051042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27051043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27051044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27051045, 'pht': 3726}}" where mtr_portfolio_id = 27051010 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27051010 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467449, 0.06279605023386813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051010_19-09-2025_20_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27051034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27051035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27051036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27051037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27051038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27051039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27051040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27051041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27051042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27051043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27051044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27051045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27051511 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748485, 'mtr_portfolio_id': 27051511, 'created_at': datetime.datetime(2025, 9, 19, 20, 18, 57), 'result': '0.03288850607488701', 'result_long': None, 'result_double': None}] Qualite : 0.03288850607488701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27051511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051511_19-09-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27051511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051511_19-09-2025_20_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27051520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27051521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27051522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27051523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27051524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27051525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27051526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27051527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27051528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27051529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27051530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27051531, 'pht': 3726}}" where mtr_portfolio_id = 27051511 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27051511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467450, 0.03288850607488701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27051511_19-09-2025_20_18_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27051520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27051521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27051522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27051523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27051524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27051525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27051526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27051527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27051528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27051529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27051530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27051531, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27052227 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748560, 'mtr_portfolio_id': 27052227, 'created_at': datetime.datetime(2025, 9, 19, 20, 33, 28), 'result': '0.038610509613524885', 'result_long': None, 'result_double': None}] Qualite : 0.038610509613524885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27052227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052227_19-09-2025_20_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27052227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052227_19-09-2025_20_33_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27052240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27052241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27052242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27052243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27052244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27052245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27052246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27052247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27052248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27052249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27052250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27052251, 'pht': 3726}}" where mtr_portfolio_id = 27052227 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27052227 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467451, 0.038610509613524885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052227_19-09-2025_20_33_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27052240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27052241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27052242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27052243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27052244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27052245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27052246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27052247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27052248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27052249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27052250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27052251, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27052779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748647, 'mtr_portfolio_id': 27052779, 'created_at': datetime.datetime(2025, 9, 19, 20, 48, 56), 'result': '0.044219439662472625', 'result_long': None, 'result_double': None}] Qualite : 0.044219439662472625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27052779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052779_19-09-2025_20_48_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27052779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052779_19-09-2025_20_48_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27052816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27052817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27052818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27052819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27052820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27052821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27052822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27052823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27052824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27052825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27052826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27052827, 'pht': 3726}}" where mtr_portfolio_id = 27052779 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27052779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467452, 0.044219439662472625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27052779_19-09-2025_20_48_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27052816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27052817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27052818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27052819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27052820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27052821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27052822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27052823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27052824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27052825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27052826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27052827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27053587 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748763, 'mtr_portfolio_id': 27053587, 'created_at': datetime.datetime(2025, 9, 19, 21, 8, 59), 'result': '0.043562213482617164', 'result_long': None, 'result_double': None}] Qualite : 0.043562213482617164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27053587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27053587_19-09-2025_21_08_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27053587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27053587_19-09-2025_21_08_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27053639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27053640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27053641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27053642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27053643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27053644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27053645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27053646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27053647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27053648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27053649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27053650, 'pht': 3726}}" where mtr_portfolio_id = 27053587 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27053587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467453, 0.043562213482617164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27053587_19-09-2025_21_08_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27053639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27053640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27053641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27053642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27053643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27053644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27053645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27053646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27053647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27053648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27053649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27053650, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27054821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748895, 'mtr_portfolio_id': 27054821, 'created_at': datetime.datetime(2025, 9, 19, 21, 19, 29), 'result': '0.06698019358896358', 'result_long': None, 'result_double': None}] Qualite : 0.06698019358896358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27054821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27054821_19-09-2025_21_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27054821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27054821_19-09-2025_21_19_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27054830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27054831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27054832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27054833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27054834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27054835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27054836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27054837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27054838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27054839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27054840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27054841, 'pht': 3726}}" where mtr_portfolio_id = 27054821 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27054821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467454, 0.06698019358896358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27054821_19-09-2025_21_19_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27054830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27054831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27054832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27054833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27054834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27054835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27054836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27054837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27054838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27054839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27054840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27054841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27055325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3748944, 'mtr_portfolio_id': 27055325, 'created_at': datetime.datetime(2025, 9, 19, 21, 32, 58), 'result': '0.035821650756018994', 'result_long': None, 'result_double': None}] Qualite : 0.035821650756018994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27055325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055325_19-09-2025_21_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27055325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055325_19-09-2025_21_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27055331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27055332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27055333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27055334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27055335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27055336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27055337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27055338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27055339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27055340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27055341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27055342, 'pht': 3726}}" where mtr_portfolio_id = 27055325 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27055325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467455, 0.035821650756018994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055325_19-09-2025_21_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27055331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27055332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27055333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27055334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27055335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27055336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27055337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27055338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27055339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27055340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27055341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27055342, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27055892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3749017, 'mtr_portfolio_id': 27055892, 'created_at': datetime.datetime(2025, 9, 19, 22, 13), 'result': '0.07998380056392566', 'result_long': None, 'result_double': None}] Qualite : 0.07998380056392566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27055892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055892_19-09-2025_22_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27055892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055892_19-09-2025_22_13_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27055915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27055916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27055917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27055918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27055919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27055920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27055921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27055922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27055923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27055924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27055925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27055926, 'pht': 3726}}" where mtr_portfolio_id = 27055892 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27055892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467456, 0.07998380056392566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27055892_19-09-2025_22_13_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27055915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27055916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27055917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27055918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27055919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27055920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27055921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27055922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27055923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27055924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27055925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27055926, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27057846 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3749373, 'mtr_portfolio_id': 27057846, 'created_at': datetime.datetime(2025, 9, 19, 23, 32, 59), 'result': '0.02708560456762687', 'result_long': None, 'result_double': None}] Qualite : 0.02708560456762687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27057846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057846_19-09-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27057846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057846_19-09-2025_23_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27057848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27057849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27057850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27057851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27057852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27057853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27057854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27057855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27057856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27057857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27057858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27057859, 'pht': 3726}}" where mtr_portfolio_id = 27057846 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27057846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467457, 0.02708560456762687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057846_19-09-2025_23_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27057848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27057849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27057850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27057851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27057852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27057853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27057854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27057855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27057856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27057857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27057858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27057859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27057980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3749396, 'mtr_portfolio_id': 27057980, 'created_at': datetime.datetime(2025, 9, 19, 23, 48, 58), 'result': '0.06788258248739357', 'result_long': None, 'result_double': None}] Qualite : 0.06788258248739357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27057980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057980_19-09-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27057980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057980_19-09-2025_23_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27057982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27057983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27057984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27057985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27057986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27057987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27057988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27057989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27057990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27057991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27057992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27057993, 'pht': 3726}}" where mtr_portfolio_id = 27057980 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27057980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467458, 0.06788258248739357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27057980_19-09-2025_23_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27057982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27057983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27057984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27057985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27057986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27057987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27057988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27057989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27057990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27057991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27057992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27057993, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27058347 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3749456, 'mtr_portfolio_id': 27058347, 'created_at': datetime.datetime(2025, 9, 20, 1, 0, 58), 'result': '0.041232943635551', 'result_long': None, 'result_double': None}] Qualite : 0.041232943635551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27058347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27058347_20-09-2025_01_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27058347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27058347_20-09-2025_01_00_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27058354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27058355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27058356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27058357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27058358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27058359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27058360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27058361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27058362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27058363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27058364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27058365, 'pht': 3726}}" where mtr_portfolio_id = 27058347 and dashboard_run_id = 2332469 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27058347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15467459, 0.041232943635551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27058347_20-09-2025_01_00_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27058354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27058355, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27058356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27058357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27058358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27058359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27058360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27058361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27058362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27058363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27058364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27058365, '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 (27016220,27016631,27017094,27017607,27018718,27018974,27019443,27020070,27020597,27021151,27021458,27021942,27022438,27022921,27023216,27024179,27024594,27024999,27025437,27025786,27026445,27026786,27027281,27027677,27028415,27029212,27029946,27030510,27031243,27031782,27032493,27034281,27034860,27035418,27036047,27036731,27037547,27038351,27038973,27045749,27046118,27047319,27047602,27048231,27048912,27049724,27050561,27051010,27051511,27052227,27052779,27053587,27054821,27055325,27055892,27057846,27057980,27058347) result : ((1384957280,), (1384957283,), (1384957285,), (1384957286,), (1384957344,), (1384957379,), (1384957444,), (1384957513,), (1384957566,), (1384957957,), (1384958006,), (1384958061,), (1384958113,), (1384958163,), (1384958744,), (1384958797,), (1384959190,), (1384959193,), (1384959197,), (1384959215,), (1384959624,), (1384959654,), (1384959682,), (1384959702,), (1384959722,), (1384959891,), (1384959916,), (1384959917,), (1384959920,), (1384959929,), (1384959964,), (1384959966,), (1384959969,), (1384960051,), (1384960052,), (1384960076,), (1384960082,), (1384960128,), (1384960135,), (1384960138,), (1384960142,), (1384960145,), (1384960146,), (1384960154,), (1384960156,), (1384960158,), (1384960250,), (1384960275,), (1384960290,), (1384960295,), (1384960316,), (1384960437,), (1384960445,), (1384960446,), (1384960449,), (1384960494,), (1384960501,), (1384960502,), (1384960504,), (1384960508,), (1384960510,), (1384960573,), (1384960597,), (1384960626,), (1384960653,), (1384960666,), (1384960668,), (1384960673,), (1384960685,), (1384960687,), (1384960689,), (1384960691,), (1384960705,), (1384960693,), (1384960698,), (1384960902,), (1384960975,), (1384961080,), (1384961159,), (1384961894,), (1384961939,), (1384961940,), (1384961942,), (1384961945,), (1384961968,), (1384961972,), (1384961975,), (1384961976,), (1384961979,), (1384962309,), (1384962365,), (1384962370,), (1384962544,), (1384962546,), (1384962547,), (1384962549,), (1384962567,), (1384962590,), (1384962692,), (1384962699,), (1384962701,), (1384962714,), (1384962718,), (1384962810,), (1384962811,), (1384962812,), (1384962814,), (1384962817,), (1384962838,), (1384962845,), (1384962848,), (1384962850,), (1384962852,), (1384963002,), (1384963026,), (1384963048,), (1384963073,), (1384963098,), (1384963122,), (1384963186,), (1384963191,), (1384963198,), (1384963199,), (1384963200,), (1384963203,), (1384963207,), (1384963210,), (1384963218,), (1384963274,), (1384963284,), (1384963553,), (1384963555,), (1384963557,), (1384963560,), (1384963573,), (1384963574,), (1384963577,), (1384963581,), (1384963684,), (1384963703,), (1384963706,), (1384963730,), (1384963752,), (1384963635,), (1384963637,), (1384963654,), (1384963778,), (1384963779,), (1384963782,), (1384963785,), (1384963788,), (1384963791,), (1384963804,), (1384963805,), (1384963806,), (1384963808,), (1384963837,), (1384963839,), (1384963841,), (1384963844,), (1384963847,), (1384963851,), (1384963868,), (1384963869,), (1384963871,), (1384963874,), (1384963875,), (1384963878,), (1384963885,), (1384963887,), (1384963888,), (1384963890,), (1384963891,), (1384963893,), (1384963900,), (1384963907,), (1384963923,), (1384963949,), (1384963954,), (1384963958,), (1384963962,), (1384963965,), (1384963968,), (1384963997,), (1384963998,), (1384964000,), (1384964007,), (1384964014,), (1384964018,), (1384964040,), (1384964041,), (1384964042,), (1384964044,), (1384964075,), (1384964077,), (1384964079,), (1384964081,), (1384964085,), (1384964099,), (1384964101,), (1384964103,), (1384964106,), (1384964135,), (1384964136,), (1384964137,), (1384964139,), (1384964142,), (1384964164,), (1384964171,), (1384964217,), (1384964218,), (1384964219,), (1384964222,), (1384964225,), (1384964227,), (1384964275,), (1384964254,), (1384964256,), (1384964258,), (1384964261,), (1384964451,), (1384964475,), (1384964480,), (1384964492,), (1384964634,), (1384964646,), (1384964657,), (1384964660,), (1384964664,), (1384964748,), (1384964772,), (1384964795,), (1384964807,), (1384964809,), (1384964881,), (1384964882,), (1384964908,), (1384964910,), (1384964912,), (1384964917,), (1384964922,), (1384964960,), (1384964961,), (1384964962,), (1384964965,), (1384964991,), (1384964997,), (1384965058,), (1384965063,), (1384965064,), (1384965066,), (1384965086,), (1384965116,), (1384965117,), (1384965118,), (1384965141,), (1384965142,), (1384965143,), (1384965146,), (1384965150,), (1384965162,), (1384965164,), (1384965168,), (1384965230,), (1384965238,), (1384965239,), (1384965244,), (1384965307,), (1384965309,), (1384965311,), (1384965314,), (1384965318,), (1384965330,), (1384965333,), (1384965337,), (1384965339,), (1384965343,), (1384965367,), (1384965369,), (1384965371,), (1384965374,), (1384965377,), (1384965379,), (1384965464,), (1384965489,), (1384965513,), (1384969912,), (1384970225,), (1384970227,), (1384970229,), (1384970300,), (1384970303,), (1384970305,), (1384970372,), (1384970373,), (1384970374,), (1384970375,), (1384970427,), (1384970438,), (1384970442,), (1384970452,), (1384970454,), (1384970468,), (1384970469,), (1384970470,), (1384970471,), (1384970473,), (1384970498,), (1384970499,), (1384970517,), (1384970523,), (1384970534,), (1384970558,), (1384970560,), (1384970562,), (1384970564,), (1384970566,), (1384970573,), (1384970575,), (1384970577,), (1384970579,), (1384970581,), (1384970583,), (1384970589,), (1384970591,), (1384970593,), (1384970596,), (1384970617,), (1384970618,), (1384970619,), (1384970620,), (1384970622,), (1384970636,), (1384970638,), (1384970640,), (1384970643,), (1384970653,), (1384970655,), (1384970657,), (1384970695,), (1384970688,), (1384970690,), (1384970692,), (1384970705,), (1384970706,), (1384970707,), (1384970711,), (1384970713,), (1384970735,), (1384970737,), (1384970739,), (1384970743,), (1384970745,), (1384970775,), (1384970779,), (1384970783,), (1384970784,), (1384970801,), (1384970812,), (1384970814,), (1384970817,), (1384970819,), (1384970825,), (1384970827,), (1384970829,), (1384970831,), (1384970833,), (1384970836,), (1384970878,), (1384970881,), (1384970942,), (1384970944,), (1384970945,), (1384970960,), (1384970963,), (1384970970,), (1384970977,), (1384970980,), (1384971027,), (1384971030,), (1384971032,), (1384971036,), (1384971038,), (1384971054,), (1384971056,), (1384971059,), (1384971068,), (1384971069,), (1384971070,), (1384971072,), (1384971073,), (1384971075,), (1384971116,), (1384971117,), (1384971118,), (1384971120,), (1384971123,), (1384971125,), (1384971130,), (1384971133,), (1384971136,), (1384971141,), (1384971144,), (1384971147,), (1384971181,), (1384971183,), (1384971185,), (1384971190,), (1384971191,), (1384971192,), (1384971193,), (1384971194,), (1384971203,), (1384971176,), (1384971177,), (1384971178,), (1384971213,), (1384971216,), (1384971219,), (1384971235,), (1384971251,), (1384971279,), (1384971287,), (1384971535,), (1384971558,), (1384971590,), (1384971618,), (1384971641,), (1384971669,), (1384971799,), (1384971825,), (1384971847,), (1384971869,), (1384972406,), (1384972477,), (1384972566,), (1384972646,), (1384972714,), (1384972787,), (1384973338,), (1384973386,), (1384973442,), (1384973492,), (1384973540,), (1384973605,), (1384974114,), (1384974145,), (1384974172,), (1384974614,), (1384974639,), (1384974663,), (1384974690,), (1384975049,), (1384975126,), (1384975174,), (1384975230,), (1384975399,), (1384975401,), (1384975404,), (1384975406,), (1384975422,), (1384975430,), (1384976002,), (1384976031,), (1384976509,), (1384976384,), (1384976409,), (1384976431,), (1384976460,), (1384976484,), (1384976722,), (1384976723,), (1384976724,), (1384977031,), (1384977057,), (1384977644,), (1384977695,), (1384977743,), (1384977782,), (1384978166,), (1384978194,), (1384978220,), (1384978366,), (1384978368,), (1384978369,), (1384978371,), (1384978457,), (1384978485,), (1384978510,), (1384978934,), (1384978958,), (1384979007,), (1384979030,), (1384979153,), (1384979156,), (1384979159,), (1384979162,), (1384979163,), (1384979174,), (1384979192,), (1384979216,), (1384979482,), (1384979483,), (1384979484,), (1384979485,), (1384979487,), (1384979489,), (1384979495,), (1384979498,), (1384979499,), (1384979501,), (1384979503,), (1384979505,), (1384979525,), (1384979542,), (1384979545,), (1384979550,), (1384979552,), (1384979554,), (1384979571,), (1384979573,), (1384979575,), (1384979602,), (1384979594,), (1384979596,), (1384979598,), (1384979600,), (1384979624,), (1384979630,), (1384979631,), (1384979693,), (1384979696,), (1384979698,), (1384979701,), (1384979704,), (1384979705,), (1384979717,), (1384979719,), (1384979721,), (1384979724,), (1384979736,), (1384979738,), (1384979741,), (1384979745,), (1384979763,), (1384979765,), (1384979767,), (1384979771,), (1384979774,), (1384979777,), (1384979785,), (1384979786,), (1384979787,), (1384979832,), (1384979836,), (1384979843,), (1384979845,), (1384979848,), (1384979884,), (1384979887,), (1384979890,), (1384979891,), (1384979922,), (1384979924,), (1384979926,), (1384979929,), (1384979943,), (1384979944,), (1384979945,), (1384979963,), (1384979990,), (1384979991,), (1384980010,), (1384980028,), (1384980034,), (1384980039,), (1384980042,), (1384980088,), (1384980254,), (1384980297,), (1384980298,), (1384980364,), (1384980366,), (1384980368,), (1384980371,), (1384980380,), (1384980398,), (1384980399,), (1384980401,), (1384980405,), (1384980442,), (1384980444,), (1384980447,), (1384980450,), (1384980453,), (1384980455,), (1384980466,), (1384980476,), (1384980512,), (1384980520,), (1384980522,), (1384980525,), (1384980529,), (1384980603,), (1384980605,), (1384980607,), (1384980611,), (1384980615,), (1384980617,), (1384980796,), (1384980797,), (1384980798,), (1384980800,), (1384980803,), (1384980806,), (1384980817,), (1384980819,), (1384980823,), (1384980828,), (1384980835,), (1384980837,), (1384980838,), (1384980858,), (1384980852,), (1384980855,), (1384980856,), (1384980874,), (1384980885,), (1384981375,), (1384981549,), (1384981603,), (1384981654,), (1384981707,), (1384982155,), (1384982209,), (1384982262,), (1384982313,), (1384982368,), (1384982622,), (1384982625,), (1384982627,), (1384982630,), (1384982632,), (1384982940,), (1384982991,), (1384983024,), (1384983061,), (1384983119,), (1384983224,), (1384983227,), (1384983230,), (1384983233,), (1384983244,), (1384983246,), (1384983248,), (1384983249,), (1384983252,), (1384983254,), (1384983259,), (1384983261,), (1384983263,), (1384983318,), (1384983325,), (1384983328,), (1384983334,), (1384983336,), (1384983339,), (1384983341,), (1384983343,), (1384983347,), (1384983348,), (1384983350,), (1384983353,), (1384983356,), (1384983358,), (1384983398,), (1384983399,), (1384983402,), (1384983406,), (1384983409,), (1384983428,), (1384983429,), (1384983439,), (1384983443,), (1384983446,), (1384983448,), (1384983450,), (1384983453,), (1384983888,), (1384983708,), (1384983778,), (1384983838,), (1384984486,), (1384984552,), (1384984609,), (1384984657,), (1384984661,), (1384984687,), (1384984689,), (1384984691,), (1384985074,), (1384985083,), (1384985086,), (1384985118,), (1384985138,), (1384985208,), (1384985212,), (1384985213,), (1384985215,), (1384985219,), (1384985222,), (1384985228,), (1384985229,), (1384985230,), (1384985231,), (1384985235,), (1384985269,), (1384985270,), (1384985272,), (1384985280,), (1384985282,), (1384985284,), (1384985310,), (1384985311,), (1384985312,), (1384985357,), (1384985381,), (1384985416,), (1384985418,), (1384985433,), (1384985434,), (1384985435,), (1384985436,), (1384985438,), (1384985508,), (1384985538,), (1384985559,), (1384985561,), (1384985569,), (1384985570,), (1384985607,), (1384985612,), (1384985615,), (1384985616,), (1384985626,), (1384985628,), (1384985630,), (1384985652,), (1384985653,), (1384985654,), (1384985669,), (1384985671,), (1384985673,), (1384985676,), (1384985700,), (1384985701,), (1384985702,), (1384985703,), (1384985706,), (1384985713,), (1384985714,), (1384985715,), (1384985717,), (1384985720,), (1384985736,), (1384985743,), (1384985750,), (1384985752,), (1384985762,), (1384985763,), (1384985778,), (1384985781,), (1384985784,), (1384985834,), (1384985835,), (1384985837,), (1384985839,), (1384985842,), (1384985864,), (1384985865,), (1384985866,), (1384985867,), (1384985879,), (1384985882,), (1384985883,), (1384985886,), (1384985927,), (1384985915,), (1384985917,), (1384985920,), (1384985923,), (1384985925,), (1384985932,), (1384985933,), (1384985934,), (1384985936,), (1384985939,), (1384985941,), (1384986001,), (1384986003,), (1384986005,), (1384986007,), (1384986025,), (1384986026,), (1384986027,), (1384986043,), (1384986045,), (1384986047,), (1384986049,), (1384986059,), (1384986060,), (1384986061,), (1384986062,), (1384986065,), (1384986088,), (1384986093,), (1384986095,), (1384986098,), (1384986102,), (1384986103,), (1384986108,), (1384986109,), (1384986110,), (1384986123,), (1384986124,), (1384986125,), (1384986127,), (1384986129,), (1384986144,), (1384986146,), (1384986148,), (1384986150,), (1384986158,), (1384986160,), (1384986161,), (1384986172,), (1384986173,), (1384986177,), (1384986180,), (1384986182,), (1384986183,), (1384986184,), (1384986185,), (1384986193,), (1384986195,), (1384986197,), (1384986199,), (1384986350,), (1384986452,), (1384986492,), (1384986540,), (1384986587,), (1384986637,), (1384986208,), (1384986239,), (1384986264,), (1384986305,), (1384986327,), (1384986787,), (1384986788,), (1384986837,), (1384986842,), (1384986891,), (1384986896,), (1384987145,), (1384987758,), (1384987803,), (1384987845,), (1384988248,), (1384988272,), (1384988294,), (1384988319,), (1384988364,), (1384988864,), (1384988909,), (1384988969,), (1384989476,), (1384989597,), (1384989624,), (1384989648,), (1384989847,), (1384989849,), (1384989852,), (1384989876,), (1384989878,), (1384989881,), (1384989884,), (1384990057,), (1384990089,), (1384990113,), (1384990153,), (1384990178,), (1384990302,), (1384992609,), (1384992563,), (1384993299,), (1384993370,), (1384993882,), (1384994870,), (1384994873,), (1384994876,), (1384994928,), (1384994957,), (1384995244,), (1384995246,), (1384995265,), (1384995291,), (1384995294,), (1384995333,), (1384995386,), (1384995403,), (1384995410,), (1384995433,), (1384995451,), (1384995454,), (1384995513,), (1384995516,), (1384995520,), (1384995581,), (1384995607,), (1384995631,), (1384995776,), (1384995778,), (1384996068,), (1384996062,), (1384996064,), (1384996066,), (1384996129,), (1384996133,), (1384996135,), (1384996138,), (1384996141,), (1384996154,), (1384996157,), (1384996158,), (1384996160,), (1384996162,), (1384996178,), (1384996179,), (1384996180,), (1384996195,), (1384996197,), (1384996199,), (1384996201,), (1384996203,), (1384996205,), (1384996209,), (1384996211,), (1384996212,), (1384996214,), (1384996470,), (1384996500,), (1384996520,), (1384996537,), (1384996541,), (1384996576,), (1384996577,), (1384996583,), (1384996585,), (1384996596,), (1384996599,), (1384996647,), (1384996648,), (1384996649,), (1384996651,), (1384996653,), (1384996655,), (1384996674,), (1384996676,), (1384996678,), (1384996693,), (1384996695,), (1384996697,), (1384996699,), (1384996701,), (1384996780,), (1384996782,), (1384996783,), (1384996786,), (1384996789,), (1384996844,), (1384996888,), (1384996912,), (1384996938,), (1384996964,), (1384996986,), (1384997040,), (1384997076,), (1384997079,), (1384997081,), (1384997087,), (1384997188,), (1384997192,), (1384997194,), (1384997196,), (1384997198,), (1384997221,), (1384997215,), (1384997216,), (1384997217,), (1384997219,), (1384997242,), (1384997243,), (1384997246,), (1384997308,), (1384997345,), (1384997349,), (1384997351,), (1384997352,), (1384997355,), (1384997357,), (1384997359,), (1384997386,), (1384997387,), (1384997388,), (1384997391,), (1384997393,), (1384997406,), (1384997407,), (1384997408,), (1384997432,), (1384997433,), (1384997434,), (1384997435,), (1384997436,), (1384997452,), (1384997454,), (1384997457,), (1384997460,), (1384997471,), (1384997473,), (1384997475,), (1384997478,), (1384997488,), (1384997490,), (1384997492,), (1384997516,), (1384997517,), (1384997518,), (1384997520,), (1384997521,), (1384997525,), (1384997527,), (1384997528,), (1384997530,), (1384997553,), (1384997555,), (1384997556,), (1384997557,), (1384997570,), (1384997572,), (1384997573,), (1384997576,), (1384997589,), (1384997590,), (1384997591,), (1384997593,), (1384997597,), (1384997601,), (1384997603,), (1384997605,), (1384997608,), (1384997651,), (1384997639,), (1384997641,), (1384997645,), (1384997649,), (1384997656,), (1384997657,), (1384997658,), (1384997660,), (1384997663,), (1384997680,), (1384997681,), (1384997682,), (1384997702,), (1384997704,), (1384997705,), (1384997709,), (1384997712,), (1384997725,), (1384997726,), (1384997728,), (1384997730,), (1384997732,), (1384997734,), (1384997741,), (1384997742,), (1384997745,), (1384997748,), (1384997750,), (1384997752,), (1384997770,), (1384997771,), (1384997772,), (1384997775,), (1384997784,), (1384997785,), (1384997786,), (1384997788,), (1384997791,), (1384997814,), (1384997815,), (1384997818,), (1384997821,), (1384997823,), (1384997825,), (1384997842,), (1384997844,), (1384997846,), (1384997847,), (1384997849,), (1384997851,), (1384997860,), (1384997861,), (1384997863,), (1384997865,), (1384997867,), (1384997869,), (1384997871,), (1384997872,), (1384997873,), (1384997874,), (1384997875,), (1384997876,), (1384997877,), (1384997878,), (1384997880,), (1384997883,), (1384997886,), (1384997888,), (1384997891,), (1384997913,), (1384997914,), (1384997916,), (1384997918,), (1384997920,), (1384997982,), (1384998006,), (1384998032,), (1384998059,), (1384998082,), (1384998490,), (1384998370,), (1384998407,), (1384998836,), (1384998860,), (1384998887,), (1384998912,), (1384998936,), (1384999267,), (1384999317,), (1384999368,), (1384999867,), (1384999887,), (1384999928,), (1385000374,), (1385000400,), (1385000799,), (1385001169,), (1385001199,), (1385001270,), (1385001483,), (1385001510,), (1385001726,), (1385001729,), (1385001731,), (1385001740,), (1385001741,), (1385001742,), (1385001745,), (1385001746,), (1385001751,), (1385001753,), (1385001827,), (1385001828,), (1385001829,), (1385001842,), (1385001844,), (1385001846,), (1385001938,), (1385001933,), (1385001935,), (1385001936,), (1385001940,), (1385001941,), (1385001942,), (1385001944,), (1385001946,), (1385001962,), (1385001964,), (1385001965,), (1385001967,), (1385001969,), (1385001973,), (1385001974,), (1385001975,), (1385001978,), (1385001981,), (1385001991,), (1385001995,), (1385001997,), (1385002000,), (1385002014,), (1385002015,), (1385002016,), (1385002018,), (1385002029,), (1385002031,), (1385002033,), (1385002036,), (1385002038,), (1385002041,), (1385002050,), (1385002060,), (1385002062,), (1385002063,), (1385002088,), (1385002116,), (1385002118,), (1385002120,), (1385002130,), (1385002131,), (1385002132,), (1385002134,), (1385002140,), (1385002143,), (1385002145,), (1385002147,), (1385002163,), (1385002158,), (1385002159,), (1385002160,), (1385002196,), (1385002211,), (1385002212,), (1385002221,), (1385002223,), (1385002224,), (1385002226,), (1385002228,), (1385002239,), (1385002241,), (1385002243,), (1385002245,), (1385002247,), (1385002249,), (1385002250,), (1385002254,), (1385002258,), (1385002261,), (1385002264,), (1385002279,), (1385002283,), (1385002284,), (1385002287,), (1385002297,), (1385002298,), (1385002299,), (1385002301,), (1385002303,), (1385002305,), (1385002318,), (1385002320,), (1385002321,), (1385002323,), (1385002337,), (1385002339,), (1385002346,), (1385002348,), (1385002350,), (1385002371,), (1385002373,), (1385002374,), (1385002377,), (1385002380,), (1385002382,), (1385002384,), (1385002385,), (1385002405,), (1385002409,), (1385002411,), (1385002413,), (1385002416,), (1385002418,), (1385002429,), (1385002432,), (1385002433,), (1385002436,), (1385002439,), (1385002442,), (1385002462,), (1385002466,), (1385002468,), (1385002471,), (1385002474,), (1385002480,), (1385002481,), (1385002484,), (1385002513,), (1385002506,), (1385002508,), (1385002509,), (1385002511,), (1385002515,), (1385002516,), (1385002517,), (1385002518,), (1385002520,), (1385002522,), (1385002537,), (1385002539,), (1385002540,), (1385002542,), (1385002555,), (1385002556,), (1385002557,), (1385002558,), (1385002568,), (1385002570,), (1385002571,), (1385002574,), (1385002575,), (1385002578,), (1385002579,), (1385002580,), (1385002582,), (1385002601,), (1385002602,), (1385002603,), (1385002607,), (1385002608,), (1385002609,), (1385002610,), (1385002612,), (1385002614,), (1385002633,), (1385002635,), (1385002636,), (1385002638,), (1385002639,), (1385002641,), (1385002654,), (1385002655,), (1385002656,), (1385002658,), (1385002666,), (1385002668,), (1385002669,), (1385002670,), (1385002673,), (1385002674,), (1385002677,), (1385002678,), (1385002680,), (1385002682,), (1385002684,), (1385002686,), (1385002712,), (1385002714,), (1385002715,), (1385002716,), (1385002717,), (1385002718,), (1385002872,), (1385002902,), (1385002929,), (1385002953,), (1385003060,), (1385003061,), (1385003084,), (1385003088,), (1385003109,), (1385003113,), (1385003135,), (1385003138,), (1385003162,), (1385003171,), (1385003440,), (1385003290,), (1385003315,), (1385003343,), (1385003367,), (1385003401,), (1385003686,), (1385003712,), (1385003737,), (1385004514,), (1385004599,), (1385004661,), (1385004709,), (1385004775,), (1385004838,), (1385005186,), (1385005213,), (1385005239,), (1385005287,), (1385005341,), (1385005634,), (1385005635,), (1385005636,), (1385005637,), (1385005791,), (1385005818,), (1385005843,), (1385005984,), (1385005985,), (1385005986,), (1385005988,), (1385005990,), (1385005997,), (1385005999,), (1385006001,), (1385006004,), (1385006006,), (1385006014,), (1385006015,), (1385006016,), (1385006031,), (1385006033,), (1385006034,), (1385006035,), (1385006040,), (1385006046,), (1385006051,), (1385006052,), (1385006066,), (1385006194,), (1385006203,), (1385006212,), (1385006267,), (1385006268,), (1385006269,), (1385006283,), (1385006299,), (1385006300,), (1385006302,), (1385006304,), (1385006306,), (1385006377,), (1385006378,), (1385006380,), (1385006383,), (1385006385,), (1385006387,), (1385006527,), (1385006501,), (1385006514,), (1385006524,), (1385006558,), (1385006572,), (1385006575,), (1385006580,), (1385006592,), (1385006595,), (1385006664,), (1385006692,), (1385006714,), (1385006716,), (1385006718,), (1385006736,), (1385006737,), (1385006738,), (1385006744,), (1385006757,), (1385006765,), (1385006767,), (1385006769,), (1385006831,), (1385006866,), (1385006891,), (1385006928,), (1385006935,), (1385006944,), (1385007039,), (1385007041,), (1385007042,), (1385007084,), (1385007090,), (1385007295,), (1385007300,), (1385007310,), (1385007317,), (1385007325,), (1385007342,), (1385007343,), (1385007345,), (1385007347,), (1385007350,), (1385007363,), (1385007365,), (1385007375,), (1385007376,), (1385007508,), (1385007551,), (1385007552,), (1385007553,), (1385007579,), (1385007586,), (1385007588,), (1385007726,), (1385007724,), (1385007861,), (1385007886,), (1385007909,), (1385007969,), (1385007970,), (1385007976,), (1385008024,), (1385008026,), (1385008034,), (1385008035,), (1385008039,), (1385008071,), (1385008259,), (1385008265,), (1385008282,), (1385008310,), (1385008327,), (1385008334,), (1385008336,), (1385008338,), (1385008341,), (1385008349,), (1385008605,), (1385008608,), (1385008611,), (1385008773,), (1385008779,), (1385008783,), (1385008912,), (1385008924,), (1385008925,), (1385008927,), (1385009063,), (1385009067,), (1385009072,), (1385009075,), (1385009080,), (1385009103,), (1385009132,), (1385009137,), (1385009139,), (1385009147,), (1385009148,), (1385009150,), (1385009153,), (1385009188,), (1385009176,), (1385009179,), (1385009181,), (1385009184,), (1385009210,), (1385009223,), (1385009232,), (1385009241,), (1385009255,), (1385009303,), (1385009365,), (1385009366,), (1385009402,), (1385009447,), (1385009455,), (1385009504,), (1385009657,), (1385009660,), (1385009662,), (1385009664,), (1385009667,), (1385009670,), (1385009691,), (1385009692,), (1385009694,), (1385009696,), (1385009698,), (1385009702,), (1385009712,), (1385009713,), (1385009715,), (1385009717,), (1385009720,), (1385009722,), (1385009743,), (1385009848,), (1385009852,), (1385009856,), (1385009860,), (1385009881,), (1385009884,), (1385009909,), (1385009923,), (1385010187,), (1385010211,), (1385010254,), (1385010279,), (1385010587,), (1385010623,), (1385010670,), (1385010715,), (1385010804,), (1385011202,), (1385011259,), (1385011325,), (1385011363,), (1385011651,), (1385011702,), (1385011772,), (1385011822,), (1385011876,), (1385012364,), (1385012428,), (1385012499,), (1385012546,), (1385012592,), (1385012989,), (1385013014,), (1385013039,), (1385013065,), (1385013093,), (1385013550,), (1385013594,), (1385014117,), (1385014142,), (1385014221,), (1385014246,), (1385014497,), (1385014500,), (1385014508,), (1385014533,), (1385014559,), (1385014630,), (1385014632,), (1385014633,), (1385014636,), (1385014640,), (1385014642,), (1385014734,), (1385014740,), (1385014748,), (1385014750,), (1385014766,), (1385014769,), (1385014772,), (1385014775,), (1385014780,), (1385014782,), (1385014794,), (1385014795,), (1385014807,), (1385014796,), (1385014798,), (1385014801,), (1385014804,), (1385014933,), (1385014937,), (1385014950,), (1385014957,), (1385014983,), (1385014984,), (1385014985,), (1385014987,), (1385015106,), (1385015119,), (1385015125,), (1385015128,), (1385015141,), (1385015142,), (1385015183,), (1385015185,), (1385015187,), (1385015190,), (1385015211,), (1385015212,), (1385015213,), (1385015215,), (1385015225,), (1385015227,), (1385015228,), (1385015230,), (1385015234,), (1385015283,), (1385015285,), (1385015287,), (1385015343,), (1385015345,), (1385015406,), (1385015408,), (1385015426,), (1385015439,), (1385015475,), (1385015473,), (1385015474,), (1385015545,), (1385015571,), (1385015590,), (1385015592,), (1385015733,), (1385015749,), (1385015797,), (1385015799,), (1385015800,), (1385015802,), (1385015832,), (1385015834,), (1385015835,), (1385015838,), (1385015876,), (1385015877,), (1385015878,), (1385016067,), (1385016090,), (1385016119,), (1385016386,), (1385016429,), (1385016823,), (1385016845,), (1385017218,), (1385017219,), (1385017220,), (1385017222,), (1385017224,), (1385017303,), (1385017305,), (1385017306,), (1385017318,), (1385017532,), (1385017553,), (1385017582,), (1385017758,), (1385017761,), (1385017819,), (1385017822,), (1385017826,), (1385017829,), (1385017880,), (1385017875,), (1385017876,), (1385017877,), (1385017895,), (1385017898,), (1385017900,), (1385017903,), (1385017906,), (1385017910,), (1385017945,), (1385017946,), (1385017948,), (1385017999,), (1385018001,), (1385018003,), (1385018007,), (1385018011,), (1385018014,), (1385018023,), (1385018025,), (1385018026,), (1385018029,), (1385018033,), (1385018036,), (1385018051,), (1385018056,), (1385018058,), (1385018083,), (1385018084,), (1385018085,), (1385018087,), (1385018089,), (1385018091,), (1385018109,), (1385018132,), (1385018157,), (1385018169,), (1385018174,), (1385018194,), (1385018195,), (1385018196,), (1385018199,), (1385018224,), (1385018228,), (1385018229,), (1385018231,), (1385018233,), (1385018241,), (1385018243,), (1385018245,), (1385018247,), (1385018261,), (1385018263,), (1385018264,), (1385018266,), (1385018269,), (1385018271,), (1385018318,), (1385018343,), (1385018368,), (1385018391,), (1385018416,), (1385018423,), (1385018656,), (1385018684,), (1385018713,), (1385018736,), (1385019128,), (1385025020,), (1385025028,), (1385025039,), (1385025109,), (1385025134,), (1385025159,), (1385025399,), (1385025423,), (1385025447,), (1385025463,), (1385025592,), (1385025593,), (1385025594,), (1385025614,), (1385025615,), (1385025617,), (1385025619,), (1385025621,), (1385025623,), (1385025636,), (1385025637,), (1385025638,), (1385025639,), (1385025654,), (1385025655,), (1385025656,), (1385025658,), (1385026216,), (1385026325,), (1385026387,), (1385026435,), (1385026486,), (1385027156,), (1385027180,), (1385027205,), (1385027230,), (1385027257,), (1385027294,), (1385027597,), (1385027749,), (1385027773,), (1385028076,), (1385028100,), (1385028123,), (1385028149,), (1385028178,), (1385028202,), (1385028468,), (1385028492,), (1385028521,), (1385028577,), (1385028623,), (1385028647,), (1385028777,), (1385028801,), (1385028823,), (1385028848,), (1385028909,), (1385028911,), (1385028912,), (1385028915,), (1385028939,), (1385029241,), (1385029248,), (1385029250,), (1385029252,), (1385029256,), (1385029259,), (1385029229,), (1385029230,), (1385029232,), (1385029235,), (1385029238,), (1385029263,), (1385029266,), (1385029269,), (1385029271,), (1385029274,), (1385029278,), (1385029291,), (1385029293,), (1385029294,), (1385029296,), (1385029315,), (1385029318,), (1385029320,), (1385029343,), (1385029344,), (1385029345,), (1385029347,), (1385029350,), (1385029353,), (1385029378,), (1385029402,), (1385029427,), (1385029454,), (1385029478,), (1385029484,), (1385029542,), (1385029544,), (1385029546,), (1385029549,), (1385029565,), (1385029567,), (1385029568,), (1385029571,), (1385029573,), (1385029593,), (1385029594,), (1385029595,), (1385029597,), (1385029699,), (1385029701,), (1385029703,), (1385029706,), (1385029709,), (1385029712,), (1385029728,), (1385029729,), (1385029731,), (1385029734,), (1385029737,), (1385029740,), (1385029746,), (1385029747,), (1385029748,), (1385029749,), (1385029752,), (1385029756,), (1385029765,), (1385029769,), (1385029771,), (1385029855,), (1385029865,), (1385029867,), (1385029871,), (1385029879,), (1385029899,), (1385029919,), (1385029928,), (1385029931,), (1385029933,), (1385029936,), (1385029939,), (1385029991,), (1385029984,), (1385029989,), (1385030271,), (1385030312,), (1385030738,), (1385030763,), (1385030996,), (1385031020,), (1385031045,), (1385031071,), (1385031095,), (1385031271,), (1385031317,), (1385031366,), (1385031415,), (1385031463,), (1385031511,), (1385031911,), (1385031938,), (1385031964,), (1385031988,), (1385032017,), (1385032041,), (1385032140,), (1385032168,), (1385032207,), (1385032263,), (1385032264,), (1385032266,), (1385032371,), (1385032419,), (1385032831,), (1385032853,), (1385033085,), (1385033141,), (1385033204,), (1385033206,), (1385033280,), (1385033305,), (1385033331,), (1385033580,), (1385033605,), (1385033630,), (1385033657,), (1385033796,), (1385033797,), (1385033813,), (1385034697,), (1385034472,), (1385034545,), (1385034618,), (1385034943,), (1385035203,), (1385035205,), (1385035207,), (1385035320,), (1385035348,), (1385035349,), (1385035351,), (1385035353,), (1385035602,), (1385035633,), (1385035658,), (1385036012,), (1385036041,), (1385036065,), (1385036423,), (1385036450,), (1385036484,), (1385036521,), (1385036746,), (1385036748,), (1385036749,), (1385036808,), (1385036819,), (1385037215,), (1385037240,), (1385037265,), (1385037274,), (1385037418,), (1385037419,), (1385037421,), (1385037423,), (1385037425,), (1385037427,), (1385037430,), (1385037431,), (1385037435,), (1385037437,), (1385037442,), (1385037453,), (1385037460,), (1385037462,), (1385037537,), (1385037539,), (1385037549,), (1385037550,), (1385037576,), (1385037578,), (1385037580,), (1385037605,), (1385037688,), (1385037676,), (1385037701,), (1385037705,), (1385037708,), (1385037818,), (1385037851,), (1385037876,), (1385037904,), (1385038142,), (1385038171,), (1385038179,), (1385038293,), (1385038319,), (1385038480,), (1385038481,), (1385038482,), (1385038484,), (1385038486,), (1385038516,), (1385038545,), (1385038572,), (1385038616,), (1385038643,), (1385038913,), (1385038939,), (1385039936,), (1385040349,), (1385040374,), (1385040520,), (1385040521,), (1385040523,), (1385041113,), (1385041146,), (1385041177,), (1385041203,), (1385041334,), (1385041337,), (1385041341,), (1385041344,), (1385041349,), (1385041329,), (1385041331,), (1385041393,), (1385041402,), (1385041446,), (1385041447,), (1385041448,), (1385041450,), (1385041453,), (1385041476,), (1385041479,), (1385041500,), (1385041503,), (1385041505,), (1385041508,), (1385041510,), (1385041515,), (1385041516,), (1385041534,), (1385041535,), (1385041549,), (1385041551,), (1385041552,), (1385041569,), (1385041654,), (1385041656,), (1385041676,), (1385041722,), (1385041757,), (1385041773,), (1385041775,), (1385041779,), (1385041979,), (1385041981,), (1385041983,), (1385041985,), (1385042207,), (1385042176,), (1385044572,), (1385044943,), (1385044969,), (1385044971,), (1385045323,), (1385045349,), (1385045903,), (1385045911,), (1385045925,), (1385045928,), (1385046049,), (1385046082,), (1385046174,), (1385046176,), (1385046178,), (1385046180,), (1385046184,), (1385046188,), (1385046196,), (1385046197,), (1385046198,), (1385046200,), (1385046201,), (1385046243,), (1385046245,), (1385046247,), (1385046249,), (1385046251,), (1385046344,), (1385046347,), (1385046349,), (1385046562,), (1385046598,), (1385046626,), (1385046650,), (1385046955,), (1385046981,), (1385047005,), (1385047048,), (1385047628,), (1385047650,), (1385047703,), (1385047704,), (1385047705,), (1385047513,), (1385047537,), (1385047561,), (1385047585,), (1385047708,), (1385047710,), (1385047712,), (1385047824,), (1385047858,), (1385047885,), (1385047909,), (1385048164,), (1385048177,), (1385048178,), (1385048180,), (1385048255,), (1385048289,), (1385048315,), (1385048365,), (1385048408,), (1385048508,), (1385048509,), (1385048567,), (1385048758,), (1385048793,), (1385048818,), (1385048844,), (1385048887,), (1385048952,), (1385048958,), (1385048959,), (1385048969,), (1385048980,), (1385049191,), (1385049217,), (1385049264,), (1385049302,), (1385049305,), (1385049429,), (1385049430,), (1385049431,), (1385049532,), (1385049570,), (1385049695,), (1385122741,), (1385122835,), (1385122837,), (1385122839,), (1385123144,), (1385123147,), (1385123198,), (1385123199,), (1385123200,), (1385123203,), (1385123225,), (1385123228,), (1385123255,), (1385123258,), (1385123262,), (1385123265,), (1385123713,), (1385123739,), (1385123742,), (1385123835,), (1385123861,), (1385123886,), (1385124064,), (1385124090,), (1385124283,), (1385124284,), (1385124341,), (1385124343,), (1385127384,), (1385136452,), (1385136525,), (1385136527,), (1385136528,), (1385136555,), (1385136557,), (1385136559,), (1385136561,), (1385136571,), (1385136595,), (1385136596,), (1385136597,), (1385136651,), (1385136653,), (1385136655,), (1385136672,), (1385136674,), (1385136676,), (1385136678,), (1385136696,), (1385136698,), (1385136700,), (1385136746,), (1385136748,), (1385136750,), (1385136754,), (1385136757,), (1385136771,), (1385136772,), (1385136773,), (1385136775,), (1385136799,), (1385136800,), (1385136802,), (1385136804,), (1385136844,), (1385136841,), (1385136864,), (1385136865,), (1385136883,), (1385136886,), (1385136888,), (1385136891,), (1385136895,), (1385136899,), (1385136926,), (1385136928,), (1385136930,), (1385136947,), (1385136954,), (1385136956,), (1385136958,), (1385136961,), (1385136965,), (1385137054,), (1385137079,), (1385137120,), (1385137149,), (1385137179,), (1385137224,), (1385137337,), (1385137374,), (1385137386,), (1385137387,), (1385137390,), (1385137458,), (1385137511,), (1385137560,), (1385137613,), (1385137897,), (1385138415,), (1385138923,), (1385138931,), (1385138932,), (1385138934,), (1385138939,), (1385138943,), (1385138954,), (1385138957,), (1385138961,), (1385138986,), (1385139014,), (1385139242,), (1385139272,), (1385139298,), (1385139327,), (1385139332,), (1385139342,), (1385139356,), (1385139359,), (1385139361,), (1385139415,), (1385139452,), (1385139479,), (1385139506,), (1385139535,), (1385139798,), (1385139800,), (1385139807,), (1385139824,), (1385139832,), (1385140009,), (1385140053,), (1385140229,), (1385140280,), (1385140328,), (1385140360,), (1385139877,), (1385139895,), (1385139923,), (1385139977,), (1385140413,), (1385140458,), (1385140467,), (1385140471,), (1385140557,), (1385140560,), (1385140585,), (1385140652,), (1385140737,), (1385140795,), (1385141035,), (1385141039,), (1385141041,), (1385141045,), (1385141050,), (1385141076,), (1385141078,), (1385141080,), (1385141083,), (1385141115,), (1385141118,), (1385141120,), (1385141124,), (1385141132,), (1385141235,), (1385141237,), (1385141239,), (1385141242,), (1385141246,), (1385141250,), (1385141303,), (1385141315,), (1385141341,), (1385141369,), (1385141397,), (1385141640,), (1385141642,), (1385141644,), (1385141647,), (1385141652,), (1385141658,), (1385141727,), (1385141730,), (1385141735,), (1385141738,), (1385141743,), (1385141748,), (1385141755,), (1385141756,), (1385141758,), (1385141759,), (1385141761,), (1385141777,), (1385141778,), (1385141779,), (1385141782,), (1385141785,), (1385141791,), (1385141817,), (1385141824,), (1385141825,), (1385141830,), (1385141833,), (1385141852,), (1385141867,), (1385141871,), (1385141874,), (1385141886,), (1385141889,), (1385141891,), (1385141893,), (1385141923,), (1385142256,), (1385142276,), (1385142282,), (1385142286,), (1385142391,), (1385142392,), (1385142417,), (1385142418,), (1385142431,), (1385142432,), (1385142459,), (1385142461,), (1385142758,), (1385142642,), (1385142678,), (1385142705,), (1385142730,), (1385142990,), (1385142995,), (1385142998,), (1385143023,), (1385143038,), (1385143180,), (1385143182,), (1385143187,), (1385143192,), (1385143196,), (1385143228,), (1385143334,), (1385143336,), (1385143340,), (1385143345,), (1385143355,), (1385143357,), (1385143359,), (1385143363,), (1385143368,), (1385143513,), (1385143523,), (1385143547,), (1385143552,), (1385143556,), (1385143560,), (1385143612,), (1385143629,), (1385143656,), (1385143779,), (1385143810,), (1385144164,), (1385144192,), (1385144218,), (1385144247,), (1385144275,), (1385144711,), (1385144743,), (1385144766,), (1385144794,), (1385144867,), (1385144912,), (1385145059,), (1385145060,), (1385145067,), (1385145097,), (1385145124,), (1385145144,), (1385145344,), (1385145384,), (1385145418,), (1385145453,), (1385145732,), (1385145756,), (1385145773,), (1385145777,), (1385145781,), (1385145785,), (1385145883,), (1385145907,), (1385145933,), (1385145957,), (1385146129,), (1385146138,), (1385146140,), (1385146154,), (1385146174,), (1385146177,), (1385146255,), (1385146256,), (1385146258,), (1385146477,), (1385146372,), (1385146399,), (1385146424,), (1385146449,), (1385146565,), (1385146567,), (1385146571,), (1385146576,), (1385146582,), (1385146647,), (1385146650,), (1385146656,), (1385146659,), (1385146693,), (1385146697,), (1385146724,), (1385146750,), (1385146761,), (1385147010,), (1385147042,), (1385147100,), (1385147144,), (1385147196,), (1385147413,), (1385147419,), (1385147421,), (1385147809,), (1385147812,), (1385147813,), (1385147814,), (1385147819,), (1385147916,), (1385147942,), (1385147969,), (1385147999,), (1385148038,), (1385148065,), (1385149425,), (1385149603,), (1385149604,), (1385149608,), (1385149618,), (1385149628,), (1385149630,), (1385149631,), (1385149679,), (1385149681,), (1385149683,), (1385149687,), (1385149692,), (1385149696,), (1385149721,), (1385149723,), (1385149724,), (1385149741,), (1385149742,), (1385149743,), (1385149746,), (1385149782,), (1385149786,), (1385149788,), (1385149792,), (1385149796,), (1385149869,), (1385149870,), (1385149871,), (1385149874,), (1385149958,), (1385149961,), (1385149964,), (1385149968,), (1385149972,), (1385149987,), (1385149989,), (1385149990,), (1385149992,), (1385149996,), (1385149999,), (1385150019,), (1385150022,), (1385150024,), (1385150031,), (1385150032,), (1385150039,), (1385150051,), (1385150012,), (1385150013,), (1385150015,), (1385150075,), (1385150077,), (1385150081,), (1385150087,), (1385150096,), (1385150099,), (1385150169,), (1385150172,), (1385150174,), (1385150198,), (1385150226,), (1385150350,), (1385150351,), (1385150352,), (1385150355,), (1385150360,), (1385150364,), (1385150378,), (1385150380,), (1385150400,), (1385150405,), (1385150407,), (1385150439,), (1385150442,), (1385150447,), (1385150472,), (1385150473,), (1385150489,), (1385150491,), (1385150496,), (1385150522,), (1385150557,), (1385150848,), (1385150853,), (1385150855,), (1385150857,), (1385150860,), (1385150870,), (1385150873,), (1385150880,), (1385150899,), (1385150893,), (1385150896,), (1385151217,), (1385151254,), (1385151313,), (1385151369,), (1385151956,), (1385152030,), (1385152102,), (1385152175,), (1385152235,), (1385152706,), (1385152749,), (1385152981,), (1385153009,), (1385153059,), (1385153096,), (1385153128,), (1385153276,), (1385153278,), (1385153281,), (1385153285,), (1385153289,), (1385153292,), (1385153307,), (1385153308,), (1385153312,), (1385153314,), (1385153318,), (1385153325,), (1385153329,), (1385153332,), (1385153398,), (1385153403,), (1385153406,), (1385153410,), (1385153414,), (1385153429,), (1385153432,), (1385153433,), (1385153435,), (1385153438,), (1385153480,), (1385153483,), (1385153485,), (1385153488,), (1385153491,), (1385153501,), (1385153502,), (1385153504,), (1385153533,), (1385153536,), (1385153538,), (1385153541,), (1385153544,), (1385153546,), (1385153580,), (1385153581,), (1385153595,), (1385153620,), (1385153718,), (1385153732,), (1385153734,), (1385153747,), (1385153815,), (1385153818,), (1385153819,), (1385153821,), (1385153825,), (1385153827,), (1385153877,), (1385153880,), (1385153885,), (1385153889,), (1385153900,), (1385153903,), (1385153906,), (1385153863,), (1385153865,), (1385153868,), (1385153873,), (1385153908,), (1385153915,), (1385153946,), (1385153978,), (1385153985,), (1385154037,), (1385154041,), (1385154045,), (1385154050,), (1385154079,), (1385154080,), (1385154081,), (1385154083,), (1385154088,), (1385154251,), (1385154261,), (1385154263,), (1385154327,), (1385154351,), (1385154374,), (1385154428,), (1385154454,), (1385154646,), (1385154649,), (1385154652,), (1385154656,), (1385154673,), (1385154674,), (1385154675,), (1385154678,), (1385154681,), (1385154685,), (1385154706,), (1385154709,), (1385154711,), (1385154721,), (1385154723,), (1385154725,), (1385154746,), (1385154747,), (1385154748,), (1385154779,), (1385154782,), (1385154784,), (1385154787,), (1385154791,), (1385154794,), (1385154804,), (1385154809,), (1385154814,), (1385154820,), (1385154823,), (1385154840,), (1385154842,), (1385154843,), (1385154846,), (1385154864,), (1385154866,), (1385154868,), (1385154870,), (1385154873,), (1385154876,), (1385154892,), (1385154896,), (1385154899,), (1385154902,), (1385154940,), (1385154928,), (1385154933,), (1385154936,), (1385154959,), (1385154962,), (1385154964,), (1385154968,), (1385154971,), (1385154990,), (1385154992,), (1385154993,), (1385154995,), (1385154999,), (1385155001,), (1385155022,), (1385155025,), (1385155035,), (1385155058,), (1385155061,), (1385155069,), (1385155100,), (1385155142,), (1385155169,), (1385155273,), (1385155276,), (1385155305,), (1385155315,), (1385155318,), (1385155319,), (1385155331,), (1385155333,), (1385155337,), (1385155338,), (1385155339,), (1385155344,), (1385155356,), (1385155360,), (1385155388,), (1385155391,), (1385155397,), (1385155400,), (1385155431,), (1385155446,), (1385155453,), (1385155466,), (1385155487,), (1385155584,), (1385155611,), (1385155641,), (1385155975,), (1385156027,), (1385156382,), (1385156408,), (1385156420,), (1385156422,), (1385156426,), (1385156626,), (1385156652,), (1385156680,), (1385156852,), (1385156853,), (1385156854,), (1385157019,), (1385157022,), (1385157024,), (1385157028,), (1385157372,), (1385157303,), (1385157305,), (1385157306,), (1385157310,), (1385157340,), (1385157496,), (1385157522,), (1385157548,), (1385157554,), (1385157557,), (1385157892,), (1385157932,), (1385157955,), (1385157981,), (1385158124,), (1385158169,), (1385158228,), (1385158272,), (1385158299,), (1385158543,), (1385158570,), (1385158597,), (1385158624,), (1385158637,), (1385158710,), (1385158714,), (1385158742,), (1385158950,), (1385159122,), (1385159138,), (1385159151,), (1385159169,), (1385159278,), (1385159280,), (1385159282,), (1385159284,), (1385159287,), (1385159291,), (1385159380,), (1385159389,), (1385159391,), (1385159413,), (1385159417,), (1385159419,), (1385159555,), (1385159556,), (1385159558,), (1385159561,), (1385159564,), (1385159567,), (1385159574,), (1385159575,), (1385159576,), (1385159702,), (1385159725,), (1385159760,), (1385163335,), (1385161408,), (1385163282,), (1385163712,), (1385164201,), (1385165563,), (1385165590,), (1385166094,), (1385166111,), (1385166324,), (1385166349,), (1385166372,), (1385166398,), (1385166415,), (1385166434,), (1385166442,), (1385166447,), (1385166450,), (1385166477,), (1385166503,), (1385166844,), (1385166872,), (1385166903,), (1385166928,), (1385167384,), (1385167274,), (1385167302,), (1385167327,), (1385167357,), (1385167500,), (1385167503,), (1385167504,), (1385167507,), (1385167509,), (1385167511,), (1385167606,), (1385167631,), (1385167656,), (1385167681,), (1385167931,), (1385167933,), (1385167934,), (1385167937,), (1385168089,), (1385168113,), (1385168139,), (1385168166,), (1385168219,), (1385168222,), (1385168224,), (1385168227,), (1385168230,), (1385168233,), (1385168395,), (1385168422,), (1385168446,), (1385168483,), (1385168511,), (1385168655,), (1385168657,), (1385168689,), (1385168690,), (1385168691,), (1385168725,), (1385168726,), (1385168728,), (1385168753,), (1385168754,), (1385168755,), (1385168757,), (1385168760,), (1385168763,), (1385168773,), (1385168776,), (1385168778,), (1385168781,), (1385168955,), (1385168978,), (1385169001,), (1385169025,), (1385169092,), (1385169095,), (1385169097,), (1385169100,), (1385169103,), (1385169106,), (1385169117,), (1385169121,), (1385169125,), (1385169127,), (1385169131,), (1385169189,), (1385169154,), (1385169157,), (1385169161,), (1385169170,), (1385169179,), (1385169235,), (1385169237,), (1385169239,), (1385169269,), (1385169287,), (1385169292,), (1385169312,), (1385169315,), (1385169316,), (1385169319,), (1385169370,), (1385169371,), (1385169372,), (1385169374,), (1385169390,), (1385169392,), (1385169401,), (1385169411,), (1385169417,), (1385169419,), (1385169429,), (1385169431,), (1385169433,), (1385169435,), (1385169437,), (1385169439,), (1385169444,), (1385169468,), (1385169495,), (1385169511,), (1385169514,), (1385169516,), (1385169519,), (1385169537,), (1385169575,), (1385169579,), (1385169587,), (1385169604,), (1385169640,), (1385169643,), (1385169645,), (1385169647,), (1385169651,), (1385169687,), (1385169696,), (1385169697,), (1385169699,), (1385169702,), (1385169737,), (1385169740,), (1385169742,), (1385169745,), (1385169753,), (1385174796,), (1385180474,), (1385180477,), (1385180499,), (1385180540,), (1385180543,), (1385180615,), (1385180616,), (1385180688,), (1385180690,), (1385180692,), (1385180694,), (1385180712,), (1385180715,), (1385180718,), (1385180721,), (1385180751,), (1385180736,), (1385180739,), (1385180740,), (1385180743,), (1385180747,), (1385180763,), (1385180765,), (1385180795,), (1385180798,), (1385180802,), (1385180806,), (1385180827,), (1385180830,), (1385180831,), (1385180833,), (1385180844,), (1385180846,), (1385180848,), (1385180851,), (1385180854,), (1385180891,), (1385180893,), (1385180896,), (1385180899,), (1385180902,), (1385180905,), (1385180909,), (1385180910,), (1385180913,), (1385180915,), (1385180917,), (1385180920,), (1385181001,), (1385181019,), (1385181025,), (1385181028,), (1385181032,), (1385181045,), (1385181046,), (1385181048,), (1385181051,), (1385181081,), (1385181083,), (1385181086,), (1385181108,), (1385181110,), (1385181112,), (1385181115,), (1385181118,), (1385181145,), (1385181147,), (1385181148,), (1385181150,), (1385181196,), (1385181198,), (1385181200,), (1385181203,), (1385181226,), (1385181228,), (1385181229,), (1385181284,), (1385181286,), (1385181290,), (1385181293,), (1385181343,), (1385181346,), (1385181349,), (1385181353,), (1385181354,), (1385181335,), (1385181337,), (1385181340,), (1385181359,), (1385181361,), (1385181365,), (1385181367,), (1385181400,), (1385181403,), (1385181405,), (1385181439,), (1385181441,), (1385181442,), (1385181460,), (1385181463,), (1385181465,), (1385181468,), (1385181471,), (1385181474,), (1385181487,), (1385181489,), (1385181491,), (1385181493,), (1385181499,), (1385181502,), (1385181544,), (1385181548,), (1385181550,), (1385181553,), (1385181567,), (1385181569,), (1385181570,), (1385181593,), (1385181596,), (1385181600,), (1385181604,), (1385181608,), (1385181648,), (1385181649,), (1385181651,), (1385181653,), (1385181656,), (1385181658,), (1385181672,), (1385181675,), (1385181692,), (1385181693,), (1385181694,), (1385181696,), (1385181699,), (1385181702,), (1385181724,), (1385181727,), (1385181731,), (1385181733,), (1385181780,), (1385181785,), (1385181788,), (1385181792,), (1385181795,), (1385182107,), (1385182163,), (1385182199,), (1385182233,), (1385182268,), (1385182301,), (1385182381,), (1385182410,), (1385182442,), (1385182476,), (1385182731,), (1385182742,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19092025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27037547]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] map_info['map_portfolio_photo'] : {27037547: [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329]} final : True mtd_id 4302 list_pids : [1385042207, 1385041985, 1385041983, 1385041981, 1385041979, 1385041779, 1385041775, 1385041773, 1385041757, 1385041722, 1385041676, 1385041656, 1385041654, 1385041569, 1385041552, 1385041551, 1385041549, 1385041535, 1385041534, 1385041516, 1385041515, 1385041510, 1385041508, 1385041505, 1385041503, 1385041500, 1385041479, 1385041476, 1385041453, 1385041450, 1385041448, 1385041447, 1385041446, 1385041402, 1385041393, 1385041331, 1385041329] Looping around the photos to save general results len do output : 1 /27037547Didn'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, '3750942') ('4302', '27037547', '1385042207', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942') ('4302', None, None, None, None, None, None, None, '3750942') ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27037547', 'None', None, None, None, None, '3750942'), ('4302', '27037547', '1385042207', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041985', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041983', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041981', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041979', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041779', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041775', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041773', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041757', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041722', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041676', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041656', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041654', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041569', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041552', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041551', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041549', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041535', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041534', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041516', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041515', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041510', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041508', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041505', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041503', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041500', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041479', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041476', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041453', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041450', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041448', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041447', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041446', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041402', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041393', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041331', None, None, None, None, None, '3750942'), ('4302', '27037547', '1385041329', None, None, None, None, None, '3750942')] time used for this insertion : 0.038162946701049805 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.221207618713379 time spend to save output : 0.03864789009094238 total time spend for step 5 : 7.259855508804321 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 (3750942) 3.10user 2.58system 0:20.29elapsed 27%CPU (0avgtext+0avgdata 165448maxresident)k 552inputs+37736outputs (14major+78170minor)pagefaults 0swaps