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 : 1229078 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 (3226448) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3226448) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364216 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3226448'] with mtr_portfolio_ids : ['24364216'] and first list_photo_ids : [] new path : /proc/1229078/ Name: python3 Umask: 0002 State: R (running) Tgid: 1229078 Ngid: 0 Pid: 1229078 PPid: 1229077 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1229078 NSpid: 1229078 NSpgid: 1228136 NSsid: 1228136 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98100 kB VmRSS: 98100 kB RssAnon: 59800 kB RssFile: 38300 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 9/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: 79 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1229078', 'Ngid': '0', 'Pid': '1229078', 'PPid': '1229077', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1229078', 'NSpid': '1229078', 'NSpgid': '1228136', 'NSsid': '1228136', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98100 kB', 'VmRSS': '98100 kB', 'RssAnon': '59800 kB', 'RssFile': '38300 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '9/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': '79'} ('datou_batch_current', '1229078', '1106868', '0', '1106868', '865620', '98100', b'', 'marlene', '3226448') 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 (24364216) 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 (3226448 ) ) 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 (24364216) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1368375340, 'portfolio_id': 24364216}, {'photo_id': 1368375139, 'portfolio_id': 24364216}, {'photo_id': 1368375118, 'portfolio_id': 24364216}, {'photo_id': 1368375068, 'portfolio_id': 24364216}, {'photo_id': 1368374940, 'portfolio_id': 24364216}, {'photo_id': 1368374932, 'portfolio_id': 24364216}, {'photo_id': 1368374926, 'portfolio_id': 24364216}, {'photo_id': 1368374912, 'portfolio_id': 24364216}, {'photo_id': 1368374884, 'portfolio_id': 24364216}, {'photo_id': 1368374877, 'portfolio_id': 24364216}, {'photo_id': 1368374806, 'portfolio_id': 24364216}, {'photo_id': 1368374803, 'portfolio_id': 24364216}, {'photo_id': 1368374795, 'portfolio_id': 24364216}, {'photo_id': 1368374793, 'portfolio_id': 24364216}, {'photo_id': 1368374733, 'portfolio_id': 24364216}, {'photo_id': 1368374725, 'portfolio_id': 24364216}, {'photo_id': 1368374717, 'portfolio_id': 24364216}, {'photo_id': 1368374712, 'portfolio_id': 24364216}, {'photo_id': 1368374704, 'portfolio_id': 24364216}, {'photo_id': 1368374697, 'portfolio_id': 24364216}, {'photo_id': 1368374686, 'portfolio_id': 24364216}, {'photo_id': 1368374679, 'portfolio_id': 24364216}, {'photo_id': 1368374413, 'portfolio_id': 24364216}, {'photo_id': 1368374408, 'portfolio_id': 24364216}, {'photo_id': 1368374374, 'portfolio_id': 24364216}, {'photo_id': 1368374371, 'portfolio_id': 24364216}, {'photo_id': 1368374347, 'portfolio_id': 24364216}, {'photo_id': 1368374342, 'portfolio_id': 24364216}, {'photo_id': 1368374329, 'portfolio_id': 24364216}, {'photo_id': 1368374323, 'portfolio_id': 24364216}, {'photo_id': 1368374275, 'portfolio_id': 24364216}, {'photo_id': 1368374258, 'portfolio_id': 24364216}, {'photo_id': 1368374254, 'portfolio_id': 24364216}, {'photo_id': 1368374136, 'portfolio_id': 24364216}, {'photo_id': 1368374135, 'portfolio_id': 24364216}, {'photo_id': 1368374130, 'portfolio_id': 24364216}, {'photo_id': 1368374129, 'portfolio_id': 24364216}] map_portfolio_id_photo_id: {24364216: [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129]} ##### 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.033852338790893555 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Jul 2 16:39:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24364216) 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 : 24364216 get user id for portfolio 24364216 get sub ptf for main ptf 24364216, type 3726 and hashtags ['metal', 'papier', 'autre_refus', 'flou', 'Teint_Dans_La_Masse', 'mal_croppe', 'kraft', 'plastique', 'Carton_brun', 'environnement', 'cartonnette', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364216 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','autre_refus','flou','Teint_Dans_La_Masse','mal_croppe','kraft','plastique','Carton_brun','environnement','cartonnette','Carton_gris')) 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`=24364216 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','autre_refus','flou','Teint_Dans_La_Masse','mal_croppe','kraft','plastique','Carton_brun','environnement','cartonnette','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 24364216, 'sub_port_id': 24364416, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290894, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 24364216, 'sub_port_id': 24364419, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290895, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'environnement': {'main_port_id': 24364216, 'sub_port_id': 24364422, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290896, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'mal_croppe': {'main_port_id': 24364216, 'sub_port_id': 24364424, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290897, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'cartonnette': {'main_port_id': 24364216, 'sub_port_id': 24364426, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290898, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'Carton_gris': {'main_port_id': 24364216, 'sub_port_id': 24364428, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290899, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'metal': {'main_port_id': 24364216, 'sub_port_id': 24364432, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290900, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'plastique': {'main_port_id': 24364216, 'sub_port_id': 24364434, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290901, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'Carton_brun': {'main_port_id': 24364216, 'sub_port_id': 24364436, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290902, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'kraft': {'main_port_id': 24364216, 'sub_port_id': 24364438, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290903, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'autre_refus': {'main_port_id': 24364216, 'sub_port_id': 24364439, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290904, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}, 'papier': {'main_port_id': 24364216, 'sub_port_id': 24364440, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290905, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 43), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 34)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364416 , 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=24364216 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 (24364416) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364419 , 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=24364216 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 (24364419) result : ((1369728311,), (1369728312,), (1369728313,), (1369728314,), (1369728315,), (1369728316,), (1369728317,), (1369728318,), (1369729584,), (1369729586,), (1369729588,), (1369729590,), (1369729592,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364422 , 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=24364216 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 (24364422) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364424 , 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=24364216 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 (24364424) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364426 , 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=24364216 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 (24364426) result : ((1369728346,), (1369728348,), (1369728349,), (1369728351,), (1369729648,), (1369729650,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364428 , 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=24364216 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 (24364428) result : ((1369728331,), (1369728333,), (1369728335,), (1369729626,), (1369729628,), (1369729630,), (1369729632,), (1369729634,), (1369729636,), (1369729638,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364432 , 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=24364216 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 (24364432) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364434 , 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=24364216 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 (24364434) result : ((1369728359,), (1369729655,), (1369729656,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364436 , 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=24364216 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 (24364436) result : ((1369729652,), (1369729653,), (1369729654,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364438 , 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=24364216 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 (24364438) result : ((1369728365,), (1369728366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364439 , 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=24364216 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 (24364439) result : ((1369728319,), (1369728320,), (1369728321,), (1369729604,), (1369729606,), (1369729608,), (1369729610,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24364440 , 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=24364216 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 (24364440) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24364216) result : ((1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364216 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','autre_refus','flou','Teint_Dans_La_Masse','mal_croppe','kraft','plastique','Carton_brun','environnement','cartonnette','Carton_gris')) 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`=24364216 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','autre_refus','flou','Teint_Dans_La_Masse','mal_croppe','kraft','plastique','Carton_brun','environnement','cartonnette','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 24364216, 'sub_port_id': 24364467, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290942, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'Teint_Dans_La_Masse': {'main_port_id': 24364216, 'sub_port_id': 24364468, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290943, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'environnement': {'main_port_id': 24364216, 'sub_port_id': 24364469, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290944, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'mal_croppe': {'main_port_id': 24364216, 'sub_port_id': 24364470, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290945, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'cartonnette': {'main_port_id': 24364216, 'sub_port_id': 24364471, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290946, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'Carton_gris': {'main_port_id': 24364216, 'sub_port_id': 24364472, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290947, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'metal': {'main_port_id': 24364216, 'sub_port_id': 24364473, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290948, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'plastique': {'main_port_id': 24364216, 'sub_port_id': 24364475, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290949, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'Carton_brun': {'main_port_id': 24364216, 'sub_port_id': 24364479, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290950, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'kraft': {'main_port_id': 24364216, 'sub_port_id': 24364484, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290951, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'autre_refus': {'main_port_id': 24364216, 'sub_port_id': 24364492, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290952, 'last_updated_at': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_desc': datetime.datetime(2025, 6, 27, 17, 3, 53), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}, 'papier': {'main_port_id': 24364216, 'sub_port_id': 24364498, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16290953, 'last_updated_at': datetime.datetime(2025, 7, 2, 2, 9, 44), 'last_updated_at_desc': datetime.datetime(2025, 7, 2, 2, 9, 44), 'last_updated_at_asc': datetime.datetime(2025, 6, 27, 17, 3, 53)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364467,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364468,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364419 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364469,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364422 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364470,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364424 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364471,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364426 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364472,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364428 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364473,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364432 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364475,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364434 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364479,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364436 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364484,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364438 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364492,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364439 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24364498,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24364440 lien utilise dans velours : https://www.fotonower.com/velours/24364467,24364468,24364469,24364470,24364471,24364472,24364473,24364475,24364479,24364484,24364492,24364498?tags=flou,Teint_Dans_La_Masse,environnement,mal_croppe,cartonnette,Carton_gris,metal,plastique,Carton_brun,kraft,autre_refus,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24364216]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] map_info['map_portfolio_photo'] : {24364216: [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129]} final : False mtd_id 4302 list_pids : [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] Looping around the photos to save general results len do output : 1 /24364216. 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, '3226448') ('4302', '24364216', '1368375340', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448') 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, '24364216', "{'flou': 24364416, 'Teint_Dans_La_Masse': 24364419, 'environnement': 24364422, 'mal_croppe': 24364424, 'cartonnette': 24364426, 'Carton_gris': 24364428, 'metal': 24364432, 'plastique': 24364434, 'Carton_brun': 24364436, 'kraft': 24364438, 'autre_refus': 24364439, 'papier': 24364440}", None, None, None, None, '3226448'), ('4302', '24364216', '1368375340', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448')] time used for this insertion : 0.021968364715576172 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.661386489868164 time spend to save output : 0.022496461868286133 total time spend for step 1 : 1.6838829517364502 step2:final Wed Jul 2 16:40:01 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 (24364216) 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 24364216 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1368375340,1368375139,1368375118,1368375068,1368374940,1368374932,1368374926,1368374912,1368374884,1368374877,1368374806,1368374803,1368374795,1368374793,1368374733,1368374725,1368374717,1368374712,1368374704,1368374697,1368374686,1368374679,1368374413,1368374408,1368374374,1368374371,1368374347,1368374342,1368374329,1368374323,1368374275,1368374258,1368374254,1368374136,1368374135,1368374129,1368374130); 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([24364216]) Inside saveOutput : final : False verbose : True original output for save of step final : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} new output for save of step final : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] map_info['map_portfolio_photo'] : {24364216: [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129]} final : False mtd_id 4302 list_pids : [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] Looping around the photos to save general results len do output : 37 /1368375340.Didn't retrieve data . /1368375139.Didn't retrieve data . /1368375118.Didn't retrieve data . /1368375068.Didn't retrieve data . /1368374940.Didn't retrieve data . /1368374932.Didn't retrieve data . /1368374926.Didn't retrieve data . /1368374912.Didn't retrieve data . /1368374884.Didn't retrieve data . /1368374877.Didn't retrieve data . /1368374806.Didn't retrieve data . /1368374803.Didn't retrieve data . /1368374795.Didn't retrieve data . /1368374793.Didn't retrieve data . /1368374733.Didn't retrieve data . /1368374725.Didn't retrieve data . /1368374717.Didn't retrieve data . /1368374712.Didn't retrieve data . /1368374704.Didn't retrieve data . /1368374697.Didn't retrieve data . /1368374686.Didn't retrieve data . /1368374679.Didn't retrieve data . /1368374413.Didn't retrieve data . /1368374408.Didn't retrieve data . /1368374374.Didn't retrieve data . /1368374371.Didn't retrieve data . /1368374347.Didn't retrieve data . /1368374342.Didn't retrieve data . /1368374329.Didn't retrieve data . /1368374323.Didn't retrieve data . /1368374275.Didn't retrieve data . /1368374258.Didn't retrieve data . /1368374254.Didn't retrieve data . /1368374136.Didn't retrieve data . /1368374135.Didn't retrieve data . /1368374130.Didn't retrieve data . /1368374129.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, '3226448') ('4302', '24364216', '1368375340', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448') 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', '24364216', '1368375340', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368375139', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368375118', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368375068', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374940', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374932', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374926', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374912', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374884', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374877', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374806', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374803', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374795', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374793', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374733', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374725', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374717', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374712', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374704', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374697', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374686', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374679', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374413', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374408', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374374', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374371', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374347', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374342', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374329', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374323', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374275', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374258', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374254', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374136', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374135', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374130', '0.024608332220750286', None, None, None, None, '3226448'), ('4302', '24364216', '1368374129', '0.024608332220750286', None, None, None, None, '3226448')] time used for this insertion : 0.022382497787475586 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08659625053405762 time spend to save output : 0.02368950843811035 total time spend for step 2 : 0.11028575897216797 step3:velours_tree Wed Jul 2 16:40:01 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 : {24364216: [{'flou': 24364416, 'Teint_Dans_La_Masse': 24364419, 'environnement': 24364422, 'mal_croppe': 24364424, 'cartonnette': 24364426, 'Carton_gris': 24364428, 'metal': 24364432, 'plastique': 24364434, 'Carton_brun': 24364436, 'kraft': 24364438, 'autre_refus': 24364439, 'papier': 24364440}]} input_args_next_step : {24364216: ()} output_args : {24364216: [{'flou': 24364416, 'Teint_Dans_La_Masse': 24364419, 'environnement': 24364422, 'mal_croppe': 24364424, 'cartonnette': 24364426, 'Carton_gris': 24364428, 'metal': 24364432, 'plastique': 24364434, 'Carton_brun': 24364436, 'kraft': 24364438, 'autre_refus': 24364439, 'papier': 24364440}]} args : 24364216 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 : ({'flou': 24364416, 'Teint_Dans_La_Masse': 24364419, 'environnement': 24364422, 'mal_croppe': 24364424, 'cartonnette': 24364426, 'Carton_gris': 24364428, 'metal': 24364432, 'plastique': 24364434, 'Carton_brun': 24364436, 'kraft': 24364438, 'autre_refus': 24364439, 'papier': 24364440},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24364216) 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([24364216]) 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.5554327964782715 time spend to save output : 8.153915405273438e-05 total time spend for step 3 : 0.5555143356323242 step4:send_mail_cod Wed Jul 2 16:40:01 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 : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} input_args_next_step : {1368375340: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368375340 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368375139 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368375118 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368375068 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374940 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374932 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374926 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374912 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374884 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374877 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374806 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374803 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374795 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374793 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374733 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374725 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374717 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374712 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374704 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374697 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374686 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374679 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374413 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374408 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374374 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374371 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374347 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374342 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374329 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374323 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374275 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374258 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374254 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374136 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374135 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374130 depend.output_id : 0 input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ()} output_args : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',)} args : 1368374129 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 : {24364216: [{'flou': 24364416, 'Teint_Dans_La_Masse': 24364419, 'environnement': 24364422, 'mal_croppe': 24364424, 'cartonnette': 24364426, 'Carton_gris': 24364428, 'metal': 24364432, 'plastique': 24364434, 'Carton_brun': 24364436, 'kraft': 24364438, 'autre_refus': 24364439, 'papier': 24364440}]} input_args_next_step : {1368375340: ('0.024608332220750286',), 1368375139: ('0.024608332220750286',), 1368375118: ('0.024608332220750286',), 1368375068: ('0.024608332220750286',), 1368374940: ('0.024608332220750286',), 1368374932: ('0.024608332220750286',), 1368374926: ('0.024608332220750286',), 1368374912: ('0.024608332220750286',), 1368374884: ('0.024608332220750286',), 1368374877: ('0.024608332220750286',), 1368374806: ('0.024608332220750286',), 1368374803: ('0.024608332220750286',), 1368374795: ('0.024608332220750286',), 1368374793: ('0.024608332220750286',), 1368374733: ('0.024608332220750286',), 1368374725: ('0.024608332220750286',), 1368374717: ('0.024608332220750286',), 1368374712: ('0.024608332220750286',), 1368374704: ('0.024608332220750286',), 1368374697: ('0.024608332220750286',), 1368374686: ('0.024608332220750286',), 1368374679: ('0.024608332220750286',), 1368374413: ('0.024608332220750286',), 1368374408: ('0.024608332220750286',), 1368374374: ('0.024608332220750286',), 1368374371: ('0.024608332220750286',), 1368374347: ('0.024608332220750286',), 1368374342: ('0.024608332220750286',), 1368374329: ('0.024608332220750286',), 1368374323: ('0.024608332220750286',), 1368374275: ('0.024608332220750286',), 1368374258: ('0.024608332220750286',), 1368374254: ('0.024608332220750286',), 1368374136: ('0.024608332220750286',), 1368374135: ('0.024608332220750286',), 1368374130: ('0.024608332220750286',), 1368374129: ('0.024608332220750286',), 24364216: ()} output_args : {24364216: [{'flou': 24364416, 'Teint_Dans_La_Masse': 24364419, 'environnement': 24364422, 'mal_croppe': 24364424, 'cartonnette': 24364426, 'Carton_gris': 24364428, 'metal': 24364432, 'plastique': 24364434, 'Carton_brun': 24364436, 'kraft': 24364438, 'autre_refus': 24364439, 'papier': 24364440}]} args : 24364216 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.024608332220750286',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24364216) 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 (1368375340,1368375139,1368375118,1368375068,1368374940,1368374932,1368374926,1368374912,1368374884,1368374877,1368374806,1368374803,1368374795,1368374793,1368374733,1368374725,1368374717,1368374712,1368374704,1368374697,1368374686,1368374679,1368374413,1368374408,1368374374,1368374371,1368374347,1368374342,1368374329,1368374323,1368374275,1368374258,1368374254,1368374136,1368374135,1368374130,1368374129) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1368374129 begin to download photo : 1368374329 begin to download photo : 1368374686 begin to download photo : 1368374795 begin to download photo : 1368374940 download finish for photo 1368374795 begin to download photo : 1368374803 download finish for photo 1368374686 begin to download photo : 1368374697 download finish for photo 1368374329 begin to download photo : 1368374342 download finish for photo 1368374129 begin to download photo : 1368374130 download finish for photo 1368374940 begin to download photo : 1368375068 download finish for photo 1368374803 begin to download photo : 1368374806 download finish for photo 1368374342 begin to download photo : 1368374347 download finish for photo 1368374130 begin to download photo : 1368374135 download finish for photo 1368374697 begin to download photo : 1368374704 download finish for photo 1368375068 begin to download photo : 1368375118 download finish for photo 1368374704 begin to download photo : 1368374712 download finish for photo 1368375118 begin to download photo : 1368375139 download finish for photo 1368374806 begin to download photo : 1368374877 download finish for photo 1368374135 begin to download photo : 1368374136 download finish for photo 1368374347 begin to download photo : 1368374371 download finish for photo 1368374712 begin to download photo : 1368374717 download finish for photo 1368375139 begin to download photo : 1368375340 download finish for photo 1368374717 begin to download photo : 1368374725 download finish for photo 1368374136 begin to download photo : 1368374254 download finish for photo 1368374371 begin to download photo : 1368374374 download finish for photo 1368374877 begin to download photo : 1368374884 download finish for photo 1368374254 begin to download photo : 1368374258 download finish for photo 1368374725 begin to download photo : 1368374733 download finish for photo 1368374374 begin to download photo : 1368374408 download finish for photo 1368375340 download finish for photo 1368374884 begin to download photo : 1368374912 download finish for photo 1368374733 begin to download photo : 1368374793 download finish for photo 1368374408 begin to download photo : 1368374413 download finish for photo 1368374912 begin to download photo : 1368374926 download finish for photo 1368374258 begin to download photo : 1368374275 download finish for photo 1368374413 begin to download photo : 1368374679 download finish for photo 1368374793 download finish for photo 1368374926 begin to download photo : 1368374932 download finish for photo 1368374275 begin to download photo : 1368374323 download finish for photo 1368374679 download finish for photo 1368374932 download finish for photo 1368374323 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette243644161751467203/ imagette243644241751467203/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P24364216_02-07-2025_16_40_03.pdf 24364416 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=24364416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette243644161751467203 24364424 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=24364424 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette243644241751467203 24364426 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=24364426 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369728346: '1751414436_2797320_1368375068_348b6978a3efa250ed7846433242b132_rle_crop_3865705991_0.png', 1369728348: '1751414436_2797320_1368374806_cc7ac0c0f0a293aeaac34f1d0ea30468_rle_crop_3865706324_0.png', 1369728349: '1751414436_2797320_1368374803_dcc87af044f0813f9b86452e79e1de7a_rle_crop_3865706828_0.png', 1369728351: '1751414436_2797320_1368374704_74c5169bbae23a2d3fe4248a23cfc444_rle_crop_3865707397_0.png', 1369729648: '1751414847_1347649_1368374342_ebfde686ba7565e1ad259c6d1e0f71b6_rle_crop_3865720208_0.png', 1369729650: '1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720389_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/a3b83b76816b18a405439416ab24afbb_54842700.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/9d0934e8c8c568580822ae1ef3077969_87821851.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/9d0934e8c8c568580822ae1ef3077969_3045039.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/589130a9fc8d448da5ea9f91e0c967d5_6705088.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/b86ec68c3d5e8bc69a28908bd44e0861_18808313.png change filename to text .imagette243644261751467203/ imagette243644261751467203/1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720389_0.png.png imagette243644261751467203/1751414436_2797320_1368374803_dcc87af044f0813f9b86452e79e1de7a_rle_crop_3865706828_0.png.png imagette243644261751467203/1751414436_2797320_1368374806_cc7ac0c0f0a293aeaac34f1d0ea30468_rle_crop_3865706324_0.png.png imagette243644261751467203/1751414847_1347649_1368374342_ebfde686ba7565e1ad259c6d1e0f71b6_rle_crop_3865720208_0.png.png imagette243644261751467203/1751414436_2797320_1368374704_74c5169bbae23a2d3fe4248a23cfc444_rle_crop_3865707397_0.png.png imagette243644261751467203/1751414436_2797320_1368375068_348b6978a3efa250ed7846433242b132_rle_crop_3865705991_0.png.png imagette243644321751467203/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/29bf3eb386863287e6fa79256d6dade4_43354031.png imagette243644261751467203 24364432 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=24364432 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette243644321751467203 24364434 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=24364434 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369728359: '1751414436_2797320_1368374697_6800e27509cb61416030f34ba7b9c1cc_rle_crop_3865708751_0.png', 1369729655: '1751414847_1347649_1368374408_c556127841191f578889e70989c1013d_rle_crop_3865719677_0.png', 1369729656: '1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720397_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/5e46ca641dde06ac3f6c427d3b160bbe_92631731.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/ca50868159b0a7d9e23bb7ad070cc787_86525438.png change filename to text .imagette243644341751467203/ imagette243644341751467203/1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720397_0.png.png imagette243644341751467203/1751414436_2797320_1368374697_6800e27509cb61416030f34ba7b9c1cc_rle_crop_3865708751_0.png.png imagette243644341751467203/1751414847_1347649_1368374408_c556127841191f578889e70989c1013d_rle_crop_3865719677_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/833d8c18d018c65b2e0d659a78465076_43331285.png imagette243644341751467203 24364438 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=24364438 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369728365: '1751414436_2797320_1368374806_cc7ac0c0f0a293aeaac34f1d0ea30468_rle_crop_3865706323_0.png', 1369728366: '1751414436_2797320_1368374803_dcc87af044f0813f9b86452e79e1de7a_rle_crop_3865706827_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/4f4c10072efef8b1e8c58cd453d26f1d_57904916.png change filename to text .imagette243644381751467204/ imagette243644381751467204/1751414436_2797320_1368374806_cc7ac0c0f0a293aeaac34f1d0ea30468_rle_crop_3865706323_0.png.png imagette243644381751467204/1751414436_2797320_1368374803_dcc87af044f0813f9b86452e79e1de7a_rle_crop_3865706827_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/4f4c10072efef8b1e8c58cd453d26f1d_42400084.png imagette243644381751467204 24364439 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=24364439 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369728319: '1751414436_2797320_1368375340_5bba3792d1ca98dcbc98a108da2b0655_rle_crop_3865705872_0.png', 1369728320: '1751414436_2797320_1368374884_5ec25e1f542af33a2df5dc3d0bc8d68b_rle_crop_3865706237_0.png', 1369728321: '1751414436_2797320_1368374704_74c5169bbae23a2d3fe4248a23cfc444_rle_crop_3865707395_0.png', 1369729604: '1751414847_1347649_1368374679_3e1829121845d906e62bb2beaca28b6c_rle_crop_3865719135_0.png', 1369729606: '1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720393_0.png', 1369729608: '1751414847_1347649_1368374130_495afb312f7d1c80aff28eeeadb3f7ed_rle_crop_3865720768_0.png', 1369729610: '1751414847_1347649_1368374129_e3a78dbe6954671b0088ef517960e8f6_rle_crop_3865720793_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/7b6253a91a27b4c1e69b635569e64325_7730887.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/83ea70ea9c4038259f850c387ff849d2_17983330.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/ada427ec2f41616d557ce6498b453942_71068325.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/2b058190ad81f50a74c7d1259763d9eb_82832767.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/e3d3dc44b85941bede63b4c93a375efd_98950252.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/2fcd139a9d2af2db4140056a8873e28f_68320283.png change filename to text .imagette243644391751467204/ imagette243644391751467204/1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720393_0.png.png imagette243644391751467204/1751414436_2797320_1368375340_5bba3792d1ca98dcbc98a108da2b0655_rle_crop_3865705872_0.png.png imagette243644391751467204/1751414436_2797320_1368374884_5ec25e1f542af33a2df5dc3d0bc8d68b_rle_crop_3865706237_0.png.png imagette243644391751467204/1751414847_1347649_1368374679_3e1829121845d906e62bb2beaca28b6c_rle_crop_3865719135_0.png.png imagette243644391751467204/1751414847_1347649_1368374130_495afb312f7d1c80aff28eeeadb3f7ed_rle_crop_3865720768_0.png.png imagette243644391751467204/1751414436_2797320_1368374704_74c5169bbae23a2d3fe4248a23cfc444_rle_crop_3865707395_0.png.png imagette243644391751467204/1751414847_1347649_1368374129_e3a78dbe6954671b0088ef517960e8f6_rle_crop_3865720793_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/2fcd139a9d2af2db4140056a8873e28f_87393221.png imagette243644391751467204 24364419 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=24364419 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369728311: '1751414436_2797320_1368375068_348b6978a3efa250ed7846433242b132_rle_crop_3865705999_0.png', 1369728312: '1751414436_2797320_1368374877_51a6f9574daee7d70f75c3e1f78a470a_rle_crop_3865706274_0.png', 1369728313: '1751414436_2797320_1368374795_2dfa3377a355e8082768fc4892a216e1_rle_crop_3865706924_0.png', 1369728314: '1751414436_2797320_1368374793_66dc4498cc1bff4caf92aa70db0f8aa5_rle_crop_3865707245_0.png', 1369728315: '1751414436_2797320_1368374733_aea62ac9aa72a7d61f7445e47be6ee2a_rle_crop_3865707303_0.png', 1369728316: '1751414436_2797320_1368374733_aea62ac9aa72a7d61f7445e47be6ee2a_rle_crop_3865707297_0.png', 1369728317: '1751414436_2797320_1368374725_87c000c3d8a85aeaba229ce92fa386bd_rle_crop_3865707341_0.png', 1369728318: '1751414436_2797320_1368374704_74c5169bbae23a2d3fe4248a23cfc444_rle_crop_3865707399_0.png', 1369729584: '1751414847_1347649_1368374329_dce708ecd699da99261f7dce7020f277_rle_crop_3865720229_0.png', 1369729586: '1751414847_1347649_1368374323_8b42808513d4708e7acfc0400bb31871_rle_crop_3865720241_0.png', 1369729588: '1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720401_0.png', 1369729590: '1751414847_1347649_1368374136_b2c5e90bb15fa553a7481da3f16a6fff_rle_crop_3865720458_0.png', 1369729592: '1751414847_1347649_1368374135_fae9e8cdc962c1b9a6402220d35bbbcc_rle_crop_3865720471_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/7c99dd5a9fde64499ae07d908c2e1b06_90331157.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/e4af1e0b9bbb4c1041607296fe07da3d_81387209.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/feb08a890b913ceb9cb4f4699c30fd28_22150434.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/feb08a890b913ceb9cb4f4699c30fd28_87147176.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/0e6dc873fe320132d82e127e34918941_73453061.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/735b2b21753c6330821d8c12a9f83a08_82054205.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/ee76b1b768aaedf80e356e15d2a3c3d2_98851875.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/c7e3c544f0110baaf007e47726ba4ec4_72590363.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/75f6f8d0e2d78e50485b334fe8c44c63_10262779.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/c282644ba888cb578eaa3e290f0aa2e1_61795231.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/8399e3e749fd7130b439ad201cc31002_40864479.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/c1ff3cebf12f86c516e75633d8ddb2ee_81695521.png change filename to text .imagette243644191751467205/ imagette243644191751467205/1751414436_2797320_1368374725_87c000c3d8a85aeaba229ce92fa386bd_rle_crop_3865707341_0.png.png imagette243644191751467205/1751414436_2797320_1368374704_74c5169bbae23a2d3fe4248a23cfc444_rle_crop_3865707399_0.png.png imagette243644191751467205/1751414436_2797320_1368374793_66dc4498cc1bff4caf92aa70db0f8aa5_rle_crop_3865707245_0.png.png imagette243644191751467205/1751414847_1347649_1368374136_b2c5e90bb15fa553a7481da3f16a6fff_rle_crop_3865720458_0.png.png imagette243644191751467205/1751414436_2797320_1368374733_aea62ac9aa72a7d61f7445e47be6ee2a_rle_crop_3865707297_0.png.png imagette243644191751467205/1751414436_2797320_1368374795_2dfa3377a355e8082768fc4892a216e1_rle_crop_3865706924_0.png.png imagette243644191751467205/1751414436_2797320_1368374877_51a6f9574daee7d70f75c3e1f78a470a_rle_crop_3865706274_0.png.png imagette243644191751467205/1751414847_1347649_1368374254_971bb1a7bd424234bbd0bda73797d9da_rle_crop_3865720401_0.png.png imagette243644191751467205/1751414847_1347649_1368374329_dce708ecd699da99261f7dce7020f277_rle_crop_3865720229_0.png.png imagette243644191751467205/1751414436_2797320_1368375068_348b6978a3efa250ed7846433242b132_rle_crop_3865705999_0.png.png imagette243644191751467205/1751414436_2797320_1368374733_aea62ac9aa72a7d61f7445e47be6ee2a_rle_crop_3865707303_0.png.png imagette243644191751467205/1751414847_1347649_1368374135_fae9e8cdc962c1b9a6402220d35bbbcc_rle_crop_3865720471_0.png.png imagette243644191751467205/1751414847_1347649_1368374323_8b42808513d4708e7acfc0400bb31871_rle_crop_3865720241_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/c1ff3cebf12f86c516e75633d8ddb2ee_17413116.png imagette243644191751467205 24364428 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=24364428 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369728331: '1751414436_2797320_1368375340_5bba3792d1ca98dcbc98a108da2b0655_rle_crop_3865705870_0.png', 1369728333: '1751414436_2797320_1368375139_8868f20f7cbe62875ced30420ac13e14_rle_crop_3865705882_0.png', 1369728335: '1751414436_2797320_1368374697_6800e27509cb61416030f34ba7b9c1cc_rle_crop_3865708749_0.png', 1369729626: '1751414847_1347649_1368374686_a6a6b67e0d2ba1d0116cd1a57724a9f0_rle_crop_3865718861_0.png', 1369729628: '1751414847_1347649_1368374413_96c168573f08536965ed9c0ee046b757_rle_crop_3865719167_0.png', 1369729630: '1751414847_1347649_1368374374_782bfee384fcc32ee578438fd4c22ce2_rle_crop_3865719703_0.png', 1369729632: '1751414847_1347649_1368374371_74e4a446b5779b7889d844cb78e6b0ec_rle_crop_3865719777_0.png', 1369729634: '1751414847_1347649_1368374275_d0d58f89d2ea4da6611a3a9c4337ed2c_rle_crop_3865720292_0.png', 1369729636: '1751414847_1347649_1368374130_495afb312f7d1c80aff28eeeadb3f7ed_rle_crop_3865720766_0.png', 1369729638: '1751414847_1347649_1368374129_e3a78dbe6954671b0088ef517960e8f6_rle_crop_3865720791_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/6854f2452f27bec3254a37822d83c185_54977310.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/990539bc3be13dcc0cf27c596cb29793_86795667.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/9a141ef16d9b16cc6553585d321390ea_95308087.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/2931dccf03381ec984256b14208f6b02_37667743.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/512292d7b402d735725d337798ceccc8_74584803.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/71a5beeb52d8406b1948cc118945b780_34372045.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/0799935ce17d7471bc417e9cad30a781_42606817.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/e2b123906e9889581f0c81e11820defb_29386503.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/58e27914b1bd3649d4cbe9b1f5a0e809_55566707.png change filename to text .imagette243644281751467206/ imagette243644281751467206/1751414436_2797320_1368375139_8868f20f7cbe62875ced30420ac13e14_rle_crop_3865705882_0.png.png imagette243644281751467206/1751414847_1347649_1368374413_96c168573f08536965ed9c0ee046b757_rle_crop_3865719167_0.png.png imagette243644281751467206/1751414847_1347649_1368374686_a6a6b67e0d2ba1d0116cd1a57724a9f0_rle_crop_3865718861_0.png.png imagette243644281751467206/1751414436_2797320_1368375340_5bba3792d1ca98dcbc98a108da2b0655_rle_crop_3865705870_0.png.png imagette243644281751467206/1751414847_1347649_1368374374_782bfee384fcc32ee578438fd4c22ce2_rle_crop_3865719703_0.png.png imagette243644281751467206/1751414847_1347649_1368374275_d0d58f89d2ea4da6611a3a9c4337ed2c_rle_crop_3865720292_0.png.png imagette243644281751467206/1751414847_1347649_1368374129_e3a78dbe6954671b0088ef517960e8f6_rle_crop_3865720791_0.png.png imagette243644281751467206/1751414847_1347649_1368374130_495afb312f7d1c80aff28eeeadb3f7ed_rle_crop_3865720766_0.png.png imagette243644281751467206/1751414436_2797320_1368374697_6800e27509cb61416030f34ba7b9c1cc_rle_crop_3865708749_0.png.png imagette243644281751467206/1751414847_1347649_1368374371_74e4a446b5779b7889d844cb78e6b0ec_rle_crop_3865719777_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/58e27914b1bd3649d4cbe9b1f5a0e809_56268277.png imagette243644281751467206 24364436 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=24364436 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1369729652: '1751414847_1347649_1368374413_96c168573f08536965ed9c0ee046b757_rle_crop_3865719166_0.png', 1369729653: '1751414847_1347649_1368374130_495afb312f7d1c80aff28eeeadb3f7ed_rle_crop_3865720772_0.png', 1369729654: '1751414847_1347649_1368374129_e3a78dbe6954671b0088ef517960e8f6_rle_crop_3865720797_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/42c399b474e5d01f35de93e0302bfe15_67377759.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/0ce22981ada0f6680b05f115398c7d7a_14606471.png change filename to text .imagette243644361751467207/ imagette243644361751467207/1751414847_1347649_1368374130_495afb312f7d1c80aff28eeeadb3f7ed_rle_crop_3865720772_0.png.png imagette243644361751467207/1751414847_1347649_1368374129_e3a78dbe6954671b0088ef517960e8f6_rle_crop_3865720797_0.png.png imagette243644361751467207/1751414847_1347649_1368374413_96c168573f08536965ed9c0ee046b757_rle_crop_3865719166_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/2/0ce22981ada0f6680b05f115398c7d7a_87710743.png imagette243644361751467207 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24364216 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24364467,24364468,24364469,24364470,24364471,24364472,24364473,24364475,24364479,24364484,24364492,24364498?tags=flou,Teint_Dans_La_Masse,environnement,mal_croppe,cartonnette,Carton_gris,metal,plastique,Carton_brun,kraft,autre_refus,papier your option no_mail is active, we will not send the real mail to your client args[1368375340] : ('0.024608332220750286',) no score found for photo 1368375340 We are sending mail with results at report@fotonower.com args[1368375139] : ('0.024608332220750286',) no score found for photo 1368375139 We are sending mail with results at report@fotonower.com args[1368375118] : ('0.024608332220750286',) no score found for photo 1368375118 We are sending mail with results at report@fotonower.com args[1368375068] : ('0.024608332220750286',) no score found for photo 1368375068 We are sending mail with results at report@fotonower.com args[1368374940] : ('0.024608332220750286',) no score found for photo 1368374940 We are sending mail with results at report@fotonower.com args[1368374932] : ('0.024608332220750286',) no score found for photo 1368374932 We are sending mail with results at report@fotonower.com args[1368374926] : ('0.024608332220750286',) no score found for photo 1368374926 We are sending mail with results at report@fotonower.com args[1368374912] : ('0.024608332220750286',) no score found for photo 1368374912 We are sending mail with results at report@fotonower.com args[1368374884] : ('0.024608332220750286',) no score found for photo 1368374884 We are sending mail with results at report@fotonower.com args[1368374877] : ('0.024608332220750286',) no score found for photo 1368374877 We are sending mail with results at report@fotonower.com args[1368374806] : ('0.024608332220750286',) no score found for photo 1368374806 We are sending mail with results at report@fotonower.com args[1368374803] : ('0.024608332220750286',) no score found for photo 1368374803 We are sending mail with results at report@fotonower.com args[1368374795] : ('0.024608332220750286',) no score found for photo 1368374795 We are sending mail with results at report@fotonower.com args[1368374793] : ('0.024608332220750286',) no score found for photo 1368374793 We are sending mail with results at report@fotonower.com args[1368374733] : ('0.024608332220750286',) no score found for photo 1368374733 We are sending mail with results at report@fotonower.com args[1368374725] : ('0.024608332220750286',) no score found for photo 1368374725 We are sending mail with results at report@fotonower.com args[1368374717] : ('0.024608332220750286',) no score found for photo 1368374717 We are sending mail with results at report@fotonower.com args[1368374712] : ('0.024608332220750286',) no score found for photo 1368374712 We are sending mail with results at report@fotonower.com args[1368374704] : ('0.024608332220750286',) no score found for photo 1368374704 We are sending mail with results at report@fotonower.com args[1368374697] : ('0.024608332220750286',) no score found for photo 1368374697 We are sending mail with results at report@fotonower.com args[1368374686] : ('0.024608332220750286',) no score found for photo 1368374686 We are sending mail with results at report@fotonower.com args[1368374679] : ('0.024608332220750286',) no score found for photo 1368374679 We are sending mail with results at report@fotonower.com args[1368374413] : ('0.024608332220750286',) no score found for photo 1368374413 We are sending mail with results at report@fotonower.com args[1368374408] : ('0.024608332220750286',) no score found for photo 1368374408 We are sending mail with results at report@fotonower.com args[1368374374] : ('0.024608332220750286',) no score found for photo 1368374374 We are sending mail with results at report@fotonower.com args[1368374371] : ('0.024608332220750286',) no score found for photo 1368374371 We are sending mail with results at report@fotonower.com args[1368374347] : ('0.024608332220750286',) no score found for photo 1368374347 We are sending mail with results at report@fotonower.com args[1368374342] : ('0.024608332220750286',) no score found for photo 1368374342 We are sending mail with results at report@fotonower.com args[1368374329] : ('0.024608332220750286',) no score found for photo 1368374329 We are sending mail with results at report@fotonower.com args[1368374323] : ('0.024608332220750286',) no score found for photo 1368374323 We are sending mail with results at report@fotonower.com args[1368374275] : ('0.024608332220750286',) no score found for photo 1368374275 We are sending mail with results at report@fotonower.com args[1368374258] : ('0.024608332220750286',) no score found for photo 1368374258 We are sending mail with results at report@fotonower.com args[1368374254] : ('0.024608332220750286',) no score found for photo 1368374254 We are sending mail with results at report@fotonower.com args[1368374136] : ('0.024608332220750286',) no score found for photo 1368374136 We are sending mail with results at report@fotonower.com args[1368374135] : ('0.024608332220750286',) no score found for photo 1368374135 We are sending mail with results at report@fotonower.com args[1368374130] : ('0.024608332220750286',) no score found for photo 1368374130 We are sending mail with results at report@fotonower.com args[1368374129] : ('0.024608332220750286',) no score found for photo 1368374129 We are sending mail with results at report@fotonower.com refus_total : 0.024608332220750286 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=24364216 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_P24364216_02-07-2025_16_40_03.pdf results_Auto_P24364216_02-07-2025_16_40_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364216_02-07-2025_16_40_03.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','24364216','results_Auto_P24364216_02-07-2025_16_40_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364216_02-07-2025_16_40_03.pdf','pdf','','0.38','0.024608332220750286') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24364216]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] map_info['map_portfolio_photo'] : {24364216: [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129]} final : False mtd_id 4302 list_pids : [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] 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, '3226448') ('4302', '24364216', '1368375340', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448') 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', '24364216', '1368375340', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448')] time used for this insertion : 0.024170398712158203 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.18073058128357 time spend to save output : 0.02466416358947754 total time spend for step 4 : 8.205394744873047 step5:split_time_score Wed Jul 2 16:40:10 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 : ['24364216'] 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 : [('24364216',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24364216) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1368374940: {'path': 'temp/1751467201_1229078_1368374940_48671464af0a7dcd3eced70aaf8bbfdc.jpg', 'extension': 'jpg'}, 1368375068: {'path': 'temp/1751467201_1229078_1368375068_348b6978a3efa250ed7846433242b132.jpg', 'extension': 'jpg'}, 1368375118: {'path': 'temp/1751467201_1229078_1368375118_cca1875fe49592d043d4d3d27a4dfbd5.jpg', 'extension': 'jpg'}, 1368375139: {'path': 'temp/1751467201_1229078_1368375139_8868f20f7cbe62875ced30420ac13e14.jpg', 'extension': 'jpg'}, 1368375340: {'path': 'temp/1751467201_1229078_1368375340_5bba3792d1ca98dcbc98a108da2b0655.jpg', 'extension': 'jpg'}, 1368374686: {'path': 'temp/1751467201_1229078_1368374686_a6a6b67e0d2ba1d0116cd1a57724a9f0.jpg', 'extension': 'jpg'}, 1368374697: {'path': 'temp/1751467201_1229078_1368374697_6800e27509cb61416030f34ba7b9c1cc.jpg', 'extension': 'jpg'}, 1368374704: {'path': 'temp/1751467201_1229078_1368374704_74c5169bbae23a2d3fe4248a23cfc444.jpg', 'extension': 'jpg'}, 1368374712: {'path': 'temp/1751467201_1229078_1368374712_77ed7be05368ae08cc710057827fcb90.jpg', 'extension': 'jpg'}, 1368374717: {'path': 'temp/1751467201_1229078_1368374717_d9bad0b8417b899d3f502a41d94d2e52.jpg', 'extension': 'jpg'}, 1368374725: {'path': 'temp/1751467201_1229078_1368374725_87c000c3d8a85aeaba229ce92fa386bd.jpg', 'extension': 'jpg'}, 1368374733: {'path': 'temp/1751467201_1229078_1368374733_aea62ac9aa72a7d61f7445e47be6ee2a.jpg', 'extension': 'jpg'}, 1368374793: {'path': 'temp/1751467201_1229078_1368374793_66dc4498cc1bff4caf92aa70db0f8aa5.jpg', 'extension': 'jpg'}, 1368374329: {'path': 'temp/1751467201_1229078_1368374329_dce708ecd699da99261f7dce7020f277.jpg', 'extension': 'jpg'}, 1368374342: {'path': 'temp/1751467201_1229078_1368374342_ebfde686ba7565e1ad259c6d1e0f71b6.jpg', 'extension': 'jpg'}, 1368374347: {'path': 'temp/1751467201_1229078_1368374347_0bc118c80a1886248e5cd8451acf590d.jpg', 'extension': 'jpg'}, 1368374371: {'path': 'temp/1751467201_1229078_1368374371_74e4a446b5779b7889d844cb78e6b0ec.jpg', 'extension': 'jpg'}, 1368374374: {'path': 'temp/1751467201_1229078_1368374374_782bfee384fcc32ee578438fd4c22ce2.jpg', 'extension': 'jpg'}, 1368374408: {'path': 'temp/1751467201_1229078_1368374408_c556127841191f578889e70989c1013d.jpg', 'extension': 'jpg'}, 1368374413: {'path': 'temp/1751467201_1229078_1368374413_96c168573f08536965ed9c0ee046b757.jpg', 'extension': 'jpg'}, 1368374679: {'path': 'temp/1751467201_1229078_1368374679_3e1829121845d906e62bb2beaca28b6c.jpg', 'extension': 'jpg'}, 1368374795: {'path': 'temp/1751467201_1229078_1368374795_2dfa3377a355e8082768fc4892a216e1.jpg', 'extension': 'jpg'}, 1368374803: {'path': 'temp/1751467201_1229078_1368374803_dcc87af044f0813f9b86452e79e1de7a.jpg', 'extension': 'jpg'}, 1368374806: {'path': 'temp/1751467201_1229078_1368374806_cc7ac0c0f0a293aeaac34f1d0ea30468.jpg', 'extension': 'jpg'}, 1368374877: {'path': 'temp/1751467201_1229078_1368374877_51a6f9574daee7d70f75c3e1f78a470a.jpg', 'extension': 'jpg'}, 1368374884: {'path': 'temp/1751467201_1229078_1368374884_5ec25e1f542af33a2df5dc3d0bc8d68b.jpg', 'extension': 'jpg'}, 1368374912: {'path': 'temp/1751467201_1229078_1368374912_8980bfc27715a3cff3779faca27538a1.jpg', 'extension': 'jpg'}, 1368374926: {'path': 'temp/1751467201_1229078_1368374926_076a18ed9443c82afa334880ab35a38b.jpg', 'extension': 'jpg'}, 1368374932: {'path': 'temp/1751467201_1229078_1368374932_e56e5282263eddf3d6f2ef5b75f6bfd3.jpg', 'extension': 'jpg'}, 1368374129: {'path': 'temp/1751467201_1229078_1368374129_e3a78dbe6954671b0088ef517960e8f6.jpg', 'extension': 'jpg'}, 1368374130: {'path': 'temp/1751467201_1229078_1368374130_495afb312f7d1c80aff28eeeadb3f7ed.jpg', 'extension': 'jpg'}, 1368374135: {'path': 'temp/1751467201_1229078_1368374135_fae9e8cdc962c1b9a6402220d35bbbcc.jpg', 'extension': 'jpg'}, 1368374136: {'path': 'temp/1751467201_1229078_1368374136_b2c5e90bb15fa553a7481da3f16a6fff.jpg', 'extension': 'jpg'}, 1368374254: {'path': 'temp/1751467201_1229078_1368374254_971bb1a7bd424234bbd0bda73797d9da.jpg', 'extension': 'jpg'}, 1368374258: {'path': 'temp/1751467201_1229078_1368374258_15396719a5466a943cbd54200d8cc1bc.jpg', 'extension': 'jpg'}, 1368374275: {'path': 'temp/1751467201_1229078_1368374275_d0d58f89d2ea4da6611a3a9c4337ed2c.jpg', 'extension': 'jpg'}, 1368374323: {'path': 'temp/1751467201_1229078_1368374323_8b42808513d4708e7acfc0400bb31871.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 = 24364216; (('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 = 24364216 group by h (('11', 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=24364216 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 (24364216) 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 (24364216) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27062025 24364216 Nombre de photos uploadées : 37 / 23040 (0%) 27062025 24364216 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 27062025 24364216 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1368375340, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/27/5bba3792d1ca98dcbc98a108da2b0655.jpg', 'username': None, 'uploaded_at': 1751033853, 'text': 'image_27062025_11_45_04_10142.jpg'}, {'photo_id': 1368375139, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/27/8868f20f7cbe62875ced30420ac13e14.jpg', 'username': None, 'uploaded_at': 1751033807, 'text': 'image_27062025_11_45_13_9125.jpg'}, {'photo_id': 1368375118, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/27/cca1875fe49592d043d4d3d27a4dfbd5.jpg', 'username': None, 'uploaded_at': 1751033807, 'text': 'image_27062025_11_45_23_10140.jpg'}, {'photo_id': 1368375068, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/27/348b6978a3efa250ed7846433242b132.jpg', 'username': None, 'uploaded_at': 1751033807, 'text': 'image_27062025_11_45_34_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.298324584960938e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018455982208251953 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 24364216, '2025-06-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1928129,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.029807090759277344 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= 1928129 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379967, 'dashboard_result_id': 11950229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379967_02-07-2025_15_57_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24380059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24380069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380070, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379968, 'dashboard_result_id': 11950230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379968_02-07-2025_15_58_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24380093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24380101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380104, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379969, 'dashboard_result_id': 11950231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379969_02-07-2025_15_59_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24380029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24380033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380035, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379970, 'dashboard_result_id': 11950232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379970_02-07-2025_16_05_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379987, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379119, 'dashboard_result_id': 11950233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379119_02-07-2025_16_06_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24379363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379374, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379121, 'dashboard_result_id': 11950234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379121_02-07-2025_16_06_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379337, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379124, 'dashboard_result_id': 11950235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379124_02-07-2025_16_07_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379277, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379125, 'dashboard_result_id': 11950236, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379125_02-07-2025_16_09_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379253, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379126, 'dashboard_result_id': 11950237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379126_02-07-2025_16_12_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379193, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379128, 'dashboard_result_id': 11950238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379128_02-07-2025_16_12_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379180, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379129, 'dashboard_result_id': 11950239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379129_02-07-2025_16_15_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24379133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379144, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379131, 'dashboard_result_id': 11950240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379131_02-07-2025_16_15_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379175, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377100, 'dashboard_result_id': 11950241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377100_02-07-2025_16_16_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24377447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377458, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377101, 'dashboard_result_id': 11950242, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377101_02-07-2025_16_16_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24377419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377431, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377102, 'dashboard_result_id': 11950243, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377102_02-07-2025_16_17_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377394, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377103, 'dashboard_result_id': 11950244, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377103_02-07-2025_16_18_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377369, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377104, 'dashboard_result_id': 11950245, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377104_02-07-2025_16_18_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377232, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377242, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377106, 'dashboard_result_id': 11950246, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377106_02-07-2025_16_19_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377178, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24377107, 'dashboard_result_id': 11950247, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377107_02-07-2025_16_20_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24377140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377165, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24375452, 'dashboard_result_id': 11950248, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375452_02-07-2025_16_21_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375652, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24375454, 'dashboard_result_id': 11950249, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375454_02-07-2025_16_21_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375578, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24375455, 'dashboard_result_id': 11950250, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375455_02-07-2025_16_22_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375510, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24375456, 'dashboard_result_id': 11950251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375456_02-07-2025_16_22_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375543, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372264, 'dashboard_result_id': 11950252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372264_02-07-2025_16_23_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372820, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372283, 'dashboard_result_id': 11950253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372283_02-07-2025_16_24_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372337, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372284, 'dashboard_result_id': 11950254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372284_02-07-2025_16_25_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372758, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372285, 'dashboard_result_id': 11950255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372285_02-07-2025_16_26_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372535, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372286, 'dashboard_result_id': 11950256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372286_02-07-2025_16_26_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372495, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372298, 'dashboard_result_id': 11950257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372298_02-07-2025_16_27_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24372446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372457, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372307, 'dashboard_result_id': 11950258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372307_02-07-2025_16_28_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372431, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366705, 'dashboard_result_id': 11950259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366705_02-07-2025_16_28_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24366879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366890, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366706, 'dashboard_result_id': 11950260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366706_02-07-2025_16_33_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24366904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366915, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366708, 'dashboard_result_id': 11950261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366708_02-07-2025_16_33_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366837, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366710, 'dashboard_result_id': 11950262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366710_02-07-2025_16_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24366789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366808, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366713, 'dashboard_result_id': 11950263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366713_02-07-2025_16_34_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366812, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366715, 'dashboard_result_id': 11950264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366715_02-07-2025_16_36_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366768, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24366718, 'dashboard_result_id': 11950265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366718_02-07-2025_16_37_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366736, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364204, 'dashboard_result_id': 11950266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364204_02-07-2025_16_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364550, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364208, 'dashboard_result_id': 11950267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364208_02-07-2025_16_39_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364591, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364212, 'dashboard_result_id': 11950268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364212_02-07-2025_16_39_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364517, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364216, 'dashboard_result_id': 11950269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364216_30-06-2025_15_32_46.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24364416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364440, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364221, 'dashboard_result_id': 11950270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364221_30-06-2025_15_34_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364246, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364223, 'dashboard_result_id': 11950271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364223_30-06-2025_15_34_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24364304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364327, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364226, 'dashboard_result_id': 11950272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364226_30-06-2025_15_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364371, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364231, 'dashboard_result_id': 11950273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364231_30-06-2025_15_36_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364284, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24359939, 'dashboard_result_id': 11950274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359939_28-06-2025_05_52_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359964, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24359519, 'dashboard_result_id': 11950275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359519_28-06-2025_05_52_47.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359535, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24359389, 'dashboard_result_id': 11950276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359389_28-06-2025_05_53_21.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359402, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24359564, 'dashboard_result_id': 11950277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359564_28-06-2025_05_53_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359594, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24360122, 'dashboard_result_id': 11950278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360122_28-06-2025_05_53_51.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24360152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24360153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24360154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24360155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24360157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24360158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24360159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24360160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24360161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24360162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24360163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24360164, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24360667, 'dashboard_result_id': 11950279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360667_28-06-2025_05_54_22.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24360686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24360687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24360688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24360689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24360690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24360691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24360692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24360693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24360694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24360695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24360696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24360697, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24361326, 'dashboard_result_id': 11950280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361326_28-06-2025_05_54_49.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24361339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24361340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24361341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24361342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24361343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24361344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24361345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24361346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24361347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24361348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24361349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24361350, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24361871, 'dashboard_result_id': 11950281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361871_28-06-2025_05_55_18.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24361897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24361898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24361899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24361900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24361901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24361902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24361903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24361904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24361905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24361906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24361907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24361908, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24362621, 'dashboard_result_id': 11950282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24362621_28-06-2025_05_55_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24362668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24362669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24362670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24362671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24362672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24362673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24362674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24362675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24362676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24362677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24362678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24362679, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24363176, 'dashboard_result_id': 11950283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363176_28-06-2025_05_56_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24363227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24363228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24363229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24363230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24363231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24363232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24363233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24363234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24363235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24363236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24363237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24363238, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24363754, 'dashboard_result_id': 11950284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363754_28-06-2025_05_56_48.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24363778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24363780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24363781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24363782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24363783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24363784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24363785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24363786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24363787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24363788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24363789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24363790, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24364387, 'dashboard_result_id': 11950285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364387_28-06-2025_05_57_18.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364406, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24365246, 'dashboard_result_id': 11950286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24365246_28-06-2025_05_57_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24365299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24365300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24365301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24365302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24365303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24365304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24365305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24365306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24365307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24365308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24365309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24365310, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24367290, 'dashboard_result_id': 11950287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367290_28-06-2025_05_57_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24367309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24367310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24367311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24367312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24367313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24367314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24367315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24367316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24367317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24367318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24367319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24367320, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24367586, 'dashboard_result_id': 11950288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367586_28-06-2025_05_58_15.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24367623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24367624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24367625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24367626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24367627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24367628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24367629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24367630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24367631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24367632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24367633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24367634, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24368190, 'dashboard_result_id': 11950289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368190_28-06-2025_05_58_54.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24368227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24368228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24368229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24368231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24368232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24368233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24368234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24368235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24368236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24368237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24368238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24368239, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24368979, 'dashboard_result_id': 11950290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368979_28-06-2025_05_59_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24368982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24368983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24368984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24368985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24368986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24368987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24368988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24368989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24368990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24368991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24368992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24368993, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24369434, 'dashboard_result_id': 11950291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24369434_28-06-2025_05_59_55.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24369437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24369438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24369439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24369440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24369441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24369442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24369443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24369444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24369445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24369446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24369447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24369448, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24370209, 'dashboard_result_id': 11950292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370209_28-06-2025_06_00_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24370260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24370261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24370262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24370263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24370264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24370265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24370266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24370267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24370268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24370269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24370270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24370271, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24370844, 'dashboard_result_id': 11950293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370844_28-06-2025_06_01_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24370889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24370890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24370891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24370892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24370893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24370894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24370895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24370896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24370897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24370898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24370899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24370900, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24371568, 'dashboard_result_id': 11950294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24371568_28-06-2025_06_01_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24371625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24371626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24371627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24371628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24371629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24371630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24371631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24371632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24371633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24371634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24371635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24371636, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24372610, 'dashboard_result_id': 11950295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372610_28-06-2025_06_02_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372655, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24373871, 'dashboard_result_id': 11950296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24373871_28-06-2025_06_02_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24373907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24373908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24373909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24373910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24373911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24373912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24373913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24373914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24373915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24373916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24373917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24373918, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24374528, 'dashboard_result_id': 11950297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24374528_28-06-2025_06_02_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24374571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24374572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24374573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24374574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24374575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24374577, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24374578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24374579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24374580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24374581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24374582, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24375724, 'dashboard_result_id': 11950298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375724_28-06-2025_06_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375782, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24376573, 'dashboard_result_id': 11950299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376573_28-06-2025_06_03_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24376576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24376577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24376578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24376579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24376580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24376581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24376582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24376583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24376584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24376585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24376586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24376587, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24376925, 'dashboard_result_id': 11950300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376925_28-06-2025_06_04_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377026, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24378190, 'dashboard_result_id': 11950301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378190_28-06-2025_06_04_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24378191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24378192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24378193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24378194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24378195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24378196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24378197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24378198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24378199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24378200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24378201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24378202, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24378376, 'dashboard_result_id': 11950302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378376_28-06-2025_06_05_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24378396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24378397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24378398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24378399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24378400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24378401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24378402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24378403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24378404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24378405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24378406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24378407, 'pht': 3726}}"}, {'dashboat_entry_day': 1928129, 'dashboard_run_id': 1938526, 'mtr_portfolio_id': 24379910, 'dashboard_result_id': 11950303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379910_28-06-2025_06_05_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379921, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379922, '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 = 24379967 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226408, 'mtr_portfolio_id': 24379967, 'created_at': datetime.datetime(2025, 7, 2, 15, 56, 59), 'result': '0.04608386045025798', 'result_long': None, 'result_double': None}] Qualite : 0.04608386045025798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379967_02-07-2025_15_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379967_02-07-2025_15_57_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24380059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24380069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380070, 'pht': 3726}}" where mtr_portfolio_id = 24379967 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950229, 0.04608386045025798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379967_02-07-2025_15_57_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24380059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24380069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380070, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226409, 'mtr_portfolio_id': 24379968, 'created_at': datetime.datetime(2025, 7, 2, 15, 58, 31), 'result': '0.07101172560485977', 'result_long': None, 'result_double': None}] Qualite : 0.07101172560485977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379968_02-07-2025_15_58_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379968_02-07-2025_15_58_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24380093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24380101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380104, 'pht': 3726}}" where mtr_portfolio_id = 24379968 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950230, 0.07101172560485977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379968_02-07-2025_15_58_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24380093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24380101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380104, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379969 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226410, 'mtr_portfolio_id': 24379969, 'created_at': datetime.datetime(2025, 7, 2, 15, 59, 28), 'result': '0.04147261265840396', 'result_long': None, 'result_double': None}] Qualite : 0.04147261265840396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379969_02-07-2025_15_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379969_02-07-2025_15_59_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24380029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24380033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380035, 'pht': 3726}}" where mtr_portfolio_id = 24379969 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950231, 0.04147261265840396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379969_02-07-2025_15_59_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24380024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24380025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24380026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24380027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24380028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24380029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24380030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24380031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24380032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24380033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24380034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24380035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379970 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226411, 'mtr_portfolio_id': 24379970, 'created_at': datetime.datetime(2025, 7, 2, 16, 5, 30), 'result': '0.042651484223502505', 'result_long': None, 'result_double': None}] Qualite : 0.042651484223502505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379970_02-07-2025_16_05_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379970_02-07-2025_16_05_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379987, 'pht': 3726}}" where mtr_portfolio_id = 24379970 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379970 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950232, 0.042651484223502505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379970_02-07-2025_16_05_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226412, 'mtr_portfolio_id': 24379119, 'created_at': datetime.datetime(2025, 7, 2, 16, 5, 59), 'result': '0.047969440178090565', 'result_long': None, 'result_double': None}] Qualite : 0.047969440178090565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379119_02-07-2025_16_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379119_02-07-2025_16_06_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24379363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379374, 'pht': 3726}}" where mtr_portfolio_id = 24379119 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950233, 0.047969440178090565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379119_02-07-2025_16_06_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24379363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226413, 'mtr_portfolio_id': 24379121, 'created_at': datetime.datetime(2025, 7, 2, 16, 6, 29), 'result': '0.028182918031377135', 'result_long': None, 'result_double': None}] Qualite : 0.028182918031377135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379121_02-07-2025_16_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379121_02-07-2025_16_06_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379337, 'pht': 3726}}" where mtr_portfolio_id = 24379121 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950234, 0.028182918031377135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379121_02-07-2025_16_06_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226414, 'mtr_portfolio_id': 24379124, 'created_at': datetime.datetime(2025, 7, 2, 16, 7, 28), 'result': '0.03722461376886942', 'result_long': None, 'result_double': None}] Qualite : 0.03722461376886942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379124_02-07-2025_16_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379124_02-07-2025_16_07_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379277, 'pht': 3726}}" where mtr_portfolio_id = 24379124 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950235, 0.03722461376886942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379124_02-07-2025_16_07_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379277, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226415, 'mtr_portfolio_id': 24379125, 'created_at': datetime.datetime(2025, 7, 2, 16, 8, 59), 'result': '0.05286278356817833', 'result_long': None, 'result_double': None}] Qualite : 0.05286278356817833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379125_02-07-2025_16_09_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379125_02-07-2025_16_09_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379253, 'pht': 3726}}" where mtr_portfolio_id = 24379125 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950236, 0.05286278356817833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379125_02-07-2025_16_09_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379253, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379126 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226416, 'mtr_portfolio_id': 24379126, 'created_at': datetime.datetime(2025, 7, 2, 16, 11, 58), 'result': '0.06078376210781635', 'result_long': None, 'result_double': None}] Qualite : 0.06078376210781635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379126_02-07-2025_16_12_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379126_02-07-2025_16_12_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379193, 'pht': 3726}}" where mtr_portfolio_id = 24379126 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950237, 0.06078376210781635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379126_02-07-2025_16_12_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379193, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379128 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226417, 'mtr_portfolio_id': 24379128, 'created_at': datetime.datetime(2025, 7, 2, 16, 12, 29), 'result': '0.05998527180707897', 'result_long': None, 'result_double': None}] Qualite : 0.05998527180707897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379128 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379128_02-07-2025_16_12_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379128 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379128_02-07-2025_16_12_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379180, 'pht': 3726}}" where mtr_portfolio_id = 24379128 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379128 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950238, 0.05998527180707897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379128_02-07-2025_16_12_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379180, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226418, 'mtr_portfolio_id': 24379129, 'created_at': datetime.datetime(2025, 7, 2, 16, 14, 58), 'result': '0.04974324996128387', 'result_long': None, 'result_double': None}] Qualite : 0.04974324996128387 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379129_02-07-2025_16_15_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379129_02-07-2025_16_15_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24379133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379144, 'pht': 3726}}" where mtr_portfolio_id = 24379129 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950239, 0.04974324996128387, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379129_02-07-2025_16_15_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24379133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379144, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379131 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226419, 'mtr_portfolio_id': 24379131, 'created_at': datetime.datetime(2025, 7, 2, 16, 15, 28), 'result': '0.05348366950777639', 'result_long': None, 'result_double': None}] Qualite : 0.05348366950777639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379131_02-07-2025_16_15_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379131_02-07-2025_16_15_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379175, 'pht': 3726}}" where mtr_portfolio_id = 24379131 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950240, 0.05348366950777639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379131_02-07-2025_16_15_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379175, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377100 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226420, 'mtr_portfolio_id': 24377100, 'created_at': datetime.datetime(2025, 7, 2, 16, 15, 57), 'result': '0.044997824582121586', 'result_long': None, 'result_double': None}] Qualite : 0.044997824582121586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377100_02-07-2025_16_16_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377100 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377100_02-07-2025_16_16_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24377447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377458, 'pht': 3726}}" where mtr_portfolio_id = 24377100 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950241, 0.044997824582121586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377100_02-07-2025_16_16_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24377447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226421, 'mtr_portfolio_id': 24377101, 'created_at': datetime.datetime(2025, 7, 2, 16, 16, 28), 'result': '0.05279653430841244', 'result_long': None, 'result_double': None}] Qualite : 0.05279653430841244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377101_02-07-2025_16_16_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377101_02-07-2025_16_16_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24377419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377431, 'pht': 3726}}" where mtr_portfolio_id = 24377101 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950242, 0.05279653430841244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377101_02-07-2025_16_16_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24377419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377431, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377102 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226422, 'mtr_portfolio_id': 24377102, 'created_at': datetime.datetime(2025, 7, 2, 16, 17, 30), 'result': '0.01901425086073422', 'result_long': None, 'result_double': None}] Qualite : 0.01901425086073422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377102_02-07-2025_16_17_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377102_02-07-2025_16_17_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377394, 'pht': 3726}}" where mtr_portfolio_id = 24377102 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950243, 0.01901425086073422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377102_02-07-2025_16_17_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377394, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226423, 'mtr_portfolio_id': 24377103, 'created_at': datetime.datetime(2025, 7, 2, 16, 18), 'result': '0.0543676781168071', 'result_long': None, 'result_double': None}] Qualite : 0.0543676781168071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377103_02-07-2025_16_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377103_02-07-2025_16_18_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377369, 'pht': 3726}}" where mtr_portfolio_id = 24377103 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950244, 0.0543676781168071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377103_02-07-2025_16_18_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377104 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226424, 'mtr_portfolio_id': 24377104, 'created_at': datetime.datetime(2025, 7, 2, 16, 18, 30), 'result': '0.046266230297517294', 'result_long': None, 'result_double': None}] Qualite : 0.046266230297517294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377104_02-07-2025_16_18_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377104_02-07-2025_16_18_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377232, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377242, 'pht': 3726}}" where mtr_portfolio_id = 24377104 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950245, 0.046266230297517294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377104_02-07-2025_16_18_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377232, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377242, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226425, 'mtr_portfolio_id': 24377106, 'created_at': datetime.datetime(2025, 7, 2, 16, 19, 28), 'result': '0.050990525805580535', 'result_long': None, 'result_double': None}] Qualite : 0.050990525805580535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377106_02-07-2025_16_19_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377106_02-07-2025_16_19_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377178, 'pht': 3726}}" where mtr_portfolio_id = 24377106 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950246, 0.050990525805580535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377106_02-07-2025_16_19_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377178, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24377107 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226426, 'mtr_portfolio_id': 24377107, 'created_at': datetime.datetime(2025, 7, 2, 16, 20), 'result': '0.039907887007940186', 'result_long': None, 'result_double': None}] Qualite : 0.039907887007940186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24377107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377107_02-07-2025_16_20_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24377107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377107_02-07-2025_16_20_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24377140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377165, 'pht': 3726}}" where mtr_portfolio_id = 24377107 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24377107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950247, 0.039907887007940186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24377107_02-07-2025_16_20_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24377140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377165, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24375452 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226427, 'mtr_portfolio_id': 24375452, 'created_at': datetime.datetime(2025, 7, 2, 16, 20, 58), 'result': '0.05170732068868032', 'result_long': None, 'result_double': None}] Qualite : 0.05170732068868032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24375452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375452_02-07-2025_16_21_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24375452 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375452_02-07-2025_16_21_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375652, 'pht': 3726}}" where mtr_portfolio_id = 24375452 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24375452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950248, 0.05170732068868032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375452_02-07-2025_16_21_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375652, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24375454 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226428, 'mtr_portfolio_id': 24375454, 'created_at': datetime.datetime(2025, 7, 2, 16, 21, 29), 'result': '0.046301312735415975', 'result_long': None, 'result_double': None}] Qualite : 0.046301312735415975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24375454 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375454_02-07-2025_16_21_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24375454 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375454_02-07-2025_16_21_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375578, 'pht': 3726}}" where mtr_portfolio_id = 24375454 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24375454 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950249, 0.046301312735415975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375454_02-07-2025_16_21_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24375455 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226429, 'mtr_portfolio_id': 24375455, 'created_at': datetime.datetime(2025, 7, 2, 16, 21, 56), 'result': '0.04331189937302349', 'result_long': None, 'result_double': None}] Qualite : 0.04331189937302349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24375455 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375455_02-07-2025_16_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24375455 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375455_02-07-2025_16_22_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375510, 'pht': 3726}}" where mtr_portfolio_id = 24375455 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24375455 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950250, 0.04331189937302349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375455_02-07-2025_16_22_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375502, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24375456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226430, 'mtr_portfolio_id': 24375456, 'created_at': datetime.datetime(2025, 7, 2, 16, 22, 29), 'result': '0.04371924127388239', 'result_long': None, 'result_double': None}] Qualite : 0.04371924127388239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24375456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375456_02-07-2025_16_22_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24375456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375456_02-07-2025_16_22_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375543, 'pht': 3726}}" where mtr_portfolio_id = 24375456 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24375456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950251, 0.04371924127388239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375456_02-07-2025_16_22_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375543, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226431, 'mtr_portfolio_id': 24372264, 'created_at': datetime.datetime(2025, 7, 2, 16, 23, 28), 'result': '0.03441190011356378', 'result_long': None, 'result_double': None}] Qualite : 0.03441190011356378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372264_02-07-2025_16_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372264_02-07-2025_16_23_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372820, 'pht': 3726}}" where mtr_portfolio_id = 24372264 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950252, 0.03441190011356378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372264_02-07-2025_16_23_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372820, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226432, 'mtr_portfolio_id': 24372283, 'created_at': datetime.datetime(2025, 7, 2, 16, 23, 58), 'result': '0.04765905334535464', 'result_long': None, 'result_double': None}] Qualite : 0.04765905334535464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372283_02-07-2025_16_24_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372283_02-07-2025_16_24_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372337, 'pht': 3726}}" where mtr_portfolio_id = 24372283 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950253, 0.04765905334535464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372283_02-07-2025_16_24_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372284 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226433, 'mtr_portfolio_id': 24372284, 'created_at': datetime.datetime(2025, 7, 2, 16, 25, 28), 'result': '0.042383164143029416', 'result_long': None, 'result_double': None}] Qualite : 0.042383164143029416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372284_02-07-2025_16_25_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372284_02-07-2025_16_25_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372758, 'pht': 3726}}" where mtr_portfolio_id = 24372284 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950254, 0.042383164143029416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372284_02-07-2025_16_25_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372758, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372285 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226434, 'mtr_portfolio_id': 24372285, 'created_at': datetime.datetime(2025, 7, 2, 16, 25, 58), 'result': '0.03956916204889815', 'result_long': None, 'result_double': None}] Qualite : 0.03956916204889815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372285_02-07-2025_16_26_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372285_02-07-2025_16_26_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372535, 'pht': 3726}}" where mtr_portfolio_id = 24372285 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950255, 0.03956916204889815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372285_02-07-2025_16_26_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372535, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226435, 'mtr_portfolio_id': 24372286, 'created_at': datetime.datetime(2025, 7, 2, 16, 26, 31), 'result': '0.046599772364129044', 'result_long': None, 'result_double': None}] Qualite : 0.046599772364129044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372286_02-07-2025_16_26_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372286_02-07-2025_16_26_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372495, 'pht': 3726}}" where mtr_portfolio_id = 24372286 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950256, 0.046599772364129044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372286_02-07-2025_16_26_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372488, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372495, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372298 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226436, 'mtr_portfolio_id': 24372298, 'created_at': datetime.datetime(2025, 7, 2, 16, 27, 30), 'result': '0.05520487290341121', 'result_long': None, 'result_double': None}] Qualite : 0.05520487290341121 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372298 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372298_02-07-2025_16_27_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372298 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372298_02-07-2025_16_27_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24372446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372457, 'pht': 3726}}" where mtr_portfolio_id = 24372298 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372298 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950257, 0.05520487290341121, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372298_02-07-2025_16_27_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24372446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372457, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226437, 'mtr_portfolio_id': 24372307, 'created_at': datetime.datetime(2025, 7, 2, 16, 27, 57), 'result': '0.049694397046599434', 'result_long': None, 'result_double': None}] Qualite : 0.049694397046599434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372307_02-07-2025_16_28_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372307_02-07-2025_16_28_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372431, 'pht': 3726}}" where mtr_portfolio_id = 24372307 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950258, 0.049694397046599434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372307_02-07-2025_16_28_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372431, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366705 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226438, 'mtr_portfolio_id': 24366705, 'created_at': datetime.datetime(2025, 7, 2, 16, 28, 32), 'result': '0.04815134490253798', 'result_long': None, 'result_double': None}] Qualite : 0.04815134490253798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366705_02-07-2025_16_28_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366705 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366705_02-07-2025_16_28_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24366879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366890, 'pht': 3726}}" where mtr_portfolio_id = 24366705 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950259, 0.04815134490253798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366705_02-07-2025_16_28_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24366879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366706 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226439, 'mtr_portfolio_id': 24366706, 'created_at': datetime.datetime(2025, 7, 2, 16, 33, 2), 'result': '0.02878725655195573', 'result_long': None, 'result_double': None}] Qualite : 0.02878725655195573 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366706_02-07-2025_16_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366706 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366706_02-07-2025_16_33_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24366904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366915, 'pht': 3726}}" where mtr_portfolio_id = 24366706 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950260, 0.02878725655195573, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366706_02-07-2025_16_33_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24366904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366708 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226440, 'mtr_portfolio_id': 24366708, 'created_at': datetime.datetime(2025, 7, 2, 16, 33, 29), 'result': '0.04208565271953028', 'result_long': None, 'result_double': None}] Qualite : 0.04208565271953028 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366708_02-07-2025_16_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366708_02-07-2025_16_33_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366837, 'pht': 3726}}" where mtr_portfolio_id = 24366708 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950261, 0.04208565271953028, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366708_02-07-2025_16_33_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366837, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226441, 'mtr_portfolio_id': 24366710, 'created_at': datetime.datetime(2025, 7, 2, 16, 33, 59), 'result': '0.042539578834472146', 'result_long': None, 'result_double': None}] Qualite : 0.042539578834472146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366710_02-07-2025_16_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366710_02-07-2025_16_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24366789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366808, 'pht': 3726}}" where mtr_portfolio_id = 24366710 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950262, 0.042539578834472146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366710_02-07-2025_16_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24366789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366808, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226442, 'mtr_portfolio_id': 24366713, 'created_at': datetime.datetime(2025, 7, 2, 16, 34, 30), 'result': '0.044020895477453054', 'result_long': None, 'result_double': None}] Qualite : 0.044020895477453054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366713_02-07-2025_16_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366713_02-07-2025_16_34_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366812, 'pht': 3726}}" where mtr_portfolio_id = 24366713 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950263, 0.044020895477453054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366713_02-07-2025_16_34_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366715 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226443, 'mtr_portfolio_id': 24366715, 'created_at': datetime.datetime(2025, 7, 2, 16, 36, 1), 'result': '0.03897874685641752', 'result_long': None, 'result_double': None}] Qualite : 0.03897874685641752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366715_02-07-2025_16_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366715_02-07-2025_16_36_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366768, 'pht': 3726}}" where mtr_portfolio_id = 24366715 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950264, 0.03897874685641752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366715_02-07-2025_16_36_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24366718 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226444, 'mtr_portfolio_id': 24366718, 'created_at': datetime.datetime(2025, 7, 2, 16, 36, 59), 'result': '0.034249319068322785', 'result_long': None, 'result_double': None}] Qualite : 0.034249319068322785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24366718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366718_02-07-2025_16_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24366718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366718_02-07-2025_16_37_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366736, 'pht': 3726}}" where mtr_portfolio_id = 24366718 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24366718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950265, 0.034249319068322785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24366718_02-07-2025_16_37_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24366725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24366726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24366727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24366728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24366729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24366730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24366731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24366732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24366733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24366734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24366735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24366736, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226445, 'mtr_portfolio_id': 24364204, 'created_at': datetime.datetime(2025, 7, 2, 16, 37, 28), 'result': '0.03914980113485287', 'result_long': None, 'result_double': None}] Qualite : 0.03914980113485287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364204_02-07-2025_16_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364204_02-07-2025_16_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364550, 'pht': 3726}}" where mtr_portfolio_id = 24364204 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950266, 0.03914980113485287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364204_02-07-2025_16_37_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364550, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226446, 'mtr_portfolio_id': 24364208, 'created_at': datetime.datetime(2025, 7, 2, 16, 38, 57), 'result': '0.03406675691729231', 'result_long': None, 'result_double': None}] Qualite : 0.03406675691729231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364208_02-07-2025_16_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364208_02-07-2025_16_39_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364591, 'pht': 3726}}" where mtr_portfolio_id = 24364208 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950267, 0.03406675691729231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364208_02-07-2025_16_39_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364212 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226447, 'mtr_portfolio_id': 24364212, 'created_at': datetime.datetime(2025, 7, 2, 16, 39, 31), 'result': '0.03743088735387994', 'result_long': None, 'result_double': None}] Qualite : 0.03743088735387994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364212_02-07-2025_16_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364212 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364212_02-07-2025_16_39_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364517, 'pht': 3726}}" where mtr_portfolio_id = 24364212 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950268, 0.03743088735387994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364212_02-07-2025_16_39_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364517, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3226448, 'mtr_portfolio_id': 24364216, 'created_at': datetime.datetime(2025, 7, 2, 16, 40, 1), 'result': '0.024608332220750286', 'result_long': None, 'result_double': None}] Qualite : 0.024608332220750286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364216_02-07-2025_16_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364216_02-07-2025_16_40_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24364416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364440, 'pht': 3726}}" where mtr_portfolio_id = 24364216 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950269, 0.024608332220750286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364216_02-07-2025_16_40_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24364416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364440, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364221 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 24364221 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364221 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364221 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364221_30-06-2025_15_34_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364221_30-06-2025_15_34_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364240, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364246, 'pht': 3726}}" where mtr_portfolio_id = 24364221 and dashboard_run_id = 1938526 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 24364223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364223_30-06-2025_15_34_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364223_30-06-2025_15_34_40.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24364304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364327, 'pht': 3726}}" where mtr_portfolio_id = 24364223 and dashboard_run_id = 1938526 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364226 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364226 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 24364226 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364226 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364226 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364226_30-06-2025_15_35_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364226_30-06-2025_15_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364371, 'pht': 3726}}" where mtr_portfolio_id = 24364226 and dashboard_run_id = 1938526 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364231 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 24364231 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364231 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364231 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364231_30-06-2025_15_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364231_30-06-2025_15_36_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24364273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364284, 'pht': 3726}}" where mtr_portfolio_id = 24364231 and dashboard_run_id = 1938526 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24359939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206532, 'mtr_portfolio_id': 24359939, 'created_at': datetime.datetime(2025, 6, 28, 5, 51, 59), 'result': '0.015050116375835677', 'result_long': None, 'result_double': None}] Qualite : 0.015050116375835677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24359939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359939_28-06-2025_05_52_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24359939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359939_28-06-2025_05_52_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359964, 'pht': 3726}}" where mtr_portfolio_id = 24359939 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24359939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950274, 0.015050116375835677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359939_28-06-2025_05_52_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359964, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24359519 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206533, 'mtr_portfolio_id': 24359519, 'created_at': datetime.datetime(2025, 6, 28, 5, 52, 31), 'result': '0.059817433371427024', 'result_long': None, 'result_double': None}] Qualite : 0.059817433371427024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24359519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359519_28-06-2025_05_52_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24359519 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359519_28-06-2025_05_52_47.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359535, 'pht': 3726}}" where mtr_portfolio_id = 24359519 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24359519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950275, 0.059817433371427024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359519_28-06-2025_05_52_47.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359535, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24359389 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206534, 'mtr_portfolio_id': 24359389, 'created_at': datetime.datetime(2025, 6, 28, 5, 53, 7), 'result': '0.052471937260391066', 'result_long': None, 'result_double': None}] Qualite : 0.052471937260391066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24359389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359389_28-06-2025_05_53_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24359389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359389_28-06-2025_05_53_21.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359402, 'pht': 3726}}" where mtr_portfolio_id = 24359389 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24359389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950276, 0.052471937260391066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359389_28-06-2025_05_53_21.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359402, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24359564 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206535, 'mtr_portfolio_id': 24359564, 'created_at': datetime.datetime(2025, 6, 28, 5, 53, 29), 'result': '0.05113551791716545', 'result_long': None, 'result_double': None}] Qualite : 0.05113551791716545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24359564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359564_28-06-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24359564 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359564_28-06-2025_05_53_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359594, 'pht': 3726}}" where mtr_portfolio_id = 24359564 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24359564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950277, 0.05113551791716545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24359564_28-06-2025_05_53_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24359583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24359584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24359585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24359586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24359587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24359588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24359589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24359590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24359591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24359592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24359593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24359594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24360122 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206536, 'mtr_portfolio_id': 24360122, 'created_at': datetime.datetime(2025, 6, 28, 5, 53, 31), 'result': '0.0668657940495098', 'result_long': None, 'result_double': None}] Qualite : 0.0668657940495098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24360122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360122_28-06-2025_05_53_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24360122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360122_28-06-2025_05_53_51.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24360152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24360153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24360154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24360155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24360157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24360158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24360159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24360160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24360161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24360162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24360163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24360164, 'pht': 3726}}" where mtr_portfolio_id = 24360122 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24360122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950278, 0.0668657940495098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360122_28-06-2025_05_53_51.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24360152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24360153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24360154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24360155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24360157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24360158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24360159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24360160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24360161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24360162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24360163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24360164, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24360667 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206537, 'mtr_portfolio_id': 24360667, 'created_at': datetime.datetime(2025, 6, 28, 5, 54, 1), 'result': '0.0505803819322588', 'result_long': None, 'result_double': None}] Qualite : 0.0505803819322588 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24360667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360667_28-06-2025_05_54_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24360667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360667_28-06-2025_05_54_22.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24360686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24360687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24360688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24360689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24360690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24360691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24360692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24360693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24360694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24360695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24360696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24360697, 'pht': 3726}}" where mtr_portfolio_id = 24360667 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24360667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950279, 0.0505803819322588, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24360667_28-06-2025_05_54_22.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24360686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24360687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24360688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24360689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24360690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24360691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24360692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24360693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24360694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24360695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24360696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24360697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24361326 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206538, 'mtr_portfolio_id': 24361326, 'created_at': datetime.datetime(2025, 6, 28, 5, 54, 31), 'result': '0.02454292834014586', 'result_long': None, 'result_double': None}] Qualite : 0.02454292834014586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24361326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361326_28-06-2025_05_54_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24361326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361326_28-06-2025_05_54_49.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24361339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24361340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24361341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24361342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24361343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24361344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24361345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24361346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24361347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24361348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24361349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24361350, 'pht': 3726}}" where mtr_portfolio_id = 24361326 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24361326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950280, 0.02454292834014586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361326_28-06-2025_05_54_49.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24361339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24361340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24361341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24361342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24361343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24361344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24361345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24361346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24361347, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24361348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24361349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24361350, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24361871 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206539, 'mtr_portfolio_id': 24361871, 'created_at': datetime.datetime(2025, 6, 28, 5, 55, 2), 'result': '0.0682337387396143', 'result_long': None, 'result_double': None}] Qualite : 0.0682337387396143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24361871 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361871_28-06-2025_05_55_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24361871 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361871_28-06-2025_05_55_18.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24361897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24361898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24361899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24361900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24361901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24361902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24361903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24361904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24361905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24361906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24361907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24361908, 'pht': 3726}}" where mtr_portfolio_id = 24361871 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24361871 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950281, 0.0682337387396143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24361871_28-06-2025_05_55_18.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24361897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24361898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24361899, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24361900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24361901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24361902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24361903, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24361904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24361905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24361906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24361907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24361908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24362621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206540, 'mtr_portfolio_id': 24362621, 'created_at': datetime.datetime(2025, 6, 28, 5, 55, 33), 'result': '0.045514682075668965', 'result_long': None, 'result_double': None}] Qualite : 0.045514682075668965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24362621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24362621_28-06-2025_05_55_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24362621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24362621_28-06-2025_05_55_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24362668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24362669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24362670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24362671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24362672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24362673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24362674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24362675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24362676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24362677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24362678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24362679, 'pht': 3726}}" where mtr_portfolio_id = 24362621 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24362621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950282, 0.045514682075668965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24362621_28-06-2025_05_55_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24362668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24362669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24362670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24362671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24362672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24362673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24362674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24362675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24362676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24362677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24362678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24362679, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24363176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206541, 'mtr_portfolio_id': 24363176, 'created_at': datetime.datetime(2025, 6, 28, 5, 56, 13), 'result': '0.03652875466218748', 'result_long': None, 'result_double': None}] Qualite : 0.03652875466218748 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24363176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363176_28-06-2025_05_56_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24363176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363176_28-06-2025_05_56_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24363227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24363228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24363229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24363230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24363231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24363232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24363233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24363234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24363235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24363236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24363237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24363238, 'pht': 3726}}" where mtr_portfolio_id = 24363176 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24363176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950283, 0.03652875466218748, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363176_28-06-2025_05_56_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24363227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24363228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24363229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24363230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24363231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24363232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24363233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24363234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24363235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24363236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24363237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24363238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24363754 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206542, 'mtr_portfolio_id': 24363754, 'created_at': datetime.datetime(2025, 6, 28, 5, 56, 32), 'result': '0.03634059499830145', 'result_long': None, 'result_double': None}] Qualite : 0.03634059499830145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24363754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363754_28-06-2025_05_56_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24363754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363754_28-06-2025_05_56_48.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24363778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24363780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24363781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24363782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24363783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24363784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24363785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24363786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24363787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24363788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24363789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24363790, 'pht': 3726}}" where mtr_portfolio_id = 24363754 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24363754 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950284, 0.03634059499830145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24363754_28-06-2025_05_56_48.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24363778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24363780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24363781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24363782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24363783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24363784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24363785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24363786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24363787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24363788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24363789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24363790, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24364387 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206543, 'mtr_portfolio_id': 24364387, 'created_at': datetime.datetime(2025, 6, 28, 5, 57), 'result': '0.043395598999838324', 'result_long': None, 'result_double': None}] Qualite : 0.043395598999838324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24364387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364387_28-06-2025_05_57_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24364387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364387_28-06-2025_05_57_18.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364406, 'pht': 3726}}" where mtr_portfolio_id = 24364387 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24364387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950285, 0.043395598999838324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24364387_28-06-2025_05_57_18.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24364393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24364394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24364395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24364397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24364398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24364399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24364401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24364402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24364403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24364404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24364405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24364406, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24365246 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206544, 'mtr_portfolio_id': 24365246, 'created_at': datetime.datetime(2025, 6, 28, 5, 57, 33), 'result': '0.039816465213253015', 'result_long': None, 'result_double': None}] Qualite : 0.039816465213253015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24365246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24365246_28-06-2025_05_57_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24365246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24365246_28-06-2025_05_57_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24365299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24365300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24365301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24365302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24365303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24365304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24365305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24365306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24365307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24365308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24365309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24365310, 'pht': 3726}}" where mtr_portfolio_id = 24365246 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24365246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950286, 0.039816465213253015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24365246_28-06-2025_05_57_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24365299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24365300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24365301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24365302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24365303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24365304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24365305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24365306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24365307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24365308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24365309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24365310, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24367290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206545, 'mtr_portfolio_id': 24367290, 'created_at': datetime.datetime(2025, 6, 28, 5, 57, 29), 'result': '0.04355042703735703', 'result_long': None, 'result_double': None}] Qualite : 0.04355042703735703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24367290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367290_28-06-2025_05_57_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24367290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367290_28-06-2025_05_57_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24367309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24367310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24367311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24367312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24367313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24367314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24367315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24367316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24367317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24367318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24367319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24367320, 'pht': 3726}}" where mtr_portfolio_id = 24367290 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24367290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950287, 0.04355042703735703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367290_28-06-2025_05_57_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24367309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24367310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24367311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24367312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24367313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24367314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24367315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24367316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24367317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24367318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24367319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24367320, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24367586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206546, 'mtr_portfolio_id': 24367586, 'created_at': datetime.datetime(2025, 6, 28, 5, 57, 59), 'result': '0.04857189637500795', 'result_long': None, 'result_double': None}] Qualite : 0.04857189637500795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24367586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367586_28-06-2025_05_58_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24367586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367586_28-06-2025_05_58_15.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24367623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24367624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24367625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24367626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24367627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24367628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24367629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24367630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24367631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24367632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24367633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24367634, 'pht': 3726}}" where mtr_portfolio_id = 24367586 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24367586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950288, 0.04857189637500795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24367586_28-06-2025_05_58_15.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24367623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24367624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24367625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24367626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24367627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24367628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24367629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24367630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24367631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24367632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24367633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24367634, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24368190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206547, 'mtr_portfolio_id': 24368190, 'created_at': datetime.datetime(2025, 6, 28, 5, 58, 34), 'result': '0.044842304416792204', 'result_long': None, 'result_double': None}] Qualite : 0.044842304416792204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24368190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368190_28-06-2025_05_58_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24368190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368190_28-06-2025_05_58_54.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24368227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24368228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24368229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24368231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24368232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24368233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24368234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24368235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24368236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24368237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24368238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24368239, 'pht': 3726}}" where mtr_portfolio_id = 24368190 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24368190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950289, 0.044842304416792204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368190_28-06-2025_05_58_54.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24368227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24368228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24368229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24368231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24368232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24368233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24368234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24368235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24368236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24368237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24368238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24368239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24368979 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206548, 'mtr_portfolio_id': 24368979, 'created_at': datetime.datetime(2025, 6, 28, 5, 59, 1), 'result': '0.047662984886079104', 'result_long': None, 'result_double': None}] Qualite : 0.047662984886079104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24368979 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368979_28-06-2025_05_59_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24368979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368979_28-06-2025_05_59_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24368982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24368983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24368984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24368985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24368986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24368987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24368988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24368989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24368990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24368991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24368992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24368993, 'pht': 3726}}" where mtr_portfolio_id = 24368979 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24368979 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950290, 0.047662984886079104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24368979_28-06-2025_05_59_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24368982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24368983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24368984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24368985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24368986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24368987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24368988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24368989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24368990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24368991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24368992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24368993, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24369434 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206549, 'mtr_portfolio_id': 24369434, 'created_at': datetime.datetime(2025, 6, 28, 5, 59, 34), 'result': '0.04893054198771562', 'result_long': None, 'result_double': None}] Qualite : 0.04893054198771562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24369434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24369434_28-06-2025_05_59_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24369434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24369434_28-06-2025_05_59_55.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24369437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24369438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24369439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24369440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24369441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24369442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24369443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24369444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24369445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24369446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24369447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24369448, 'pht': 3726}}" where mtr_portfolio_id = 24369434 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24369434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950291, 0.04893054198771562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24369434_28-06-2025_05_59_55.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24369437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24369438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24369439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24369440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24369441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24369442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24369443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24369444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24369445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24369446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24369447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24369448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24370209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206550, 'mtr_portfolio_id': 24370209, 'created_at': datetime.datetime(2025, 6, 28, 6, 0, 2), 'result': '0.038020454465086014', 'result_long': None, 'result_double': None}] Qualite : 0.038020454465086014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24370209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370209_28-06-2025_06_00_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24370209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370209_28-06-2025_06_00_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24370260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24370261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24370262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24370263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24370264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24370265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24370266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24370267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24370268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24370269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24370270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24370271, 'pht': 3726}}" where mtr_portfolio_id = 24370209 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24370209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950292, 0.038020454465086014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370209_28-06-2025_06_00_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24370260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24370261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24370262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24370263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24370264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24370265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24370266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24370267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24370268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24370269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24370270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24370271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24370844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206551, 'mtr_portfolio_id': 24370844, 'created_at': datetime.datetime(2025, 6, 28, 6, 0, 33), 'result': '0.035255579040272864', 'result_long': None, 'result_double': None}] Qualite : 0.035255579040272864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24370844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370844_28-06-2025_06_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24370844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370844_28-06-2025_06_01_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24370889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24370890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24370891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24370892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24370893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24370894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24370895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24370896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24370897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24370898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24370899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24370900, 'pht': 3726}}" where mtr_portfolio_id = 24370844 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24370844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950293, 0.035255579040272864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24370844_28-06-2025_06_01_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24370889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24370890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24370891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24370892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24370893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24370894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24370895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24370896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24370897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24370898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24370899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24370900, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24371568 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206552, 'mtr_portfolio_id': 24371568, 'created_at': datetime.datetime(2025, 6, 28, 6, 1, 16), 'result': '0.02610474504339827', 'result_long': None, 'result_double': None}] Qualite : 0.02610474504339827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24371568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24371568_28-06-2025_06_01_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24371568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24371568_28-06-2025_06_01_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24371625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24371626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24371627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24371628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24371629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24371630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24371631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24371632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24371633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24371634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24371635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24371636, 'pht': 3726}}" where mtr_portfolio_id = 24371568 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24371568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950294, 0.02610474504339827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24371568_28-06-2025_06_01_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24371625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24371626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24371627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24371628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24371629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24371630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24371631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24371632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24371633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24371634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24371635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24371636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24372610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206553, 'mtr_portfolio_id': 24372610, 'created_at': datetime.datetime(2025, 6, 28, 6, 1, 45), 'result': '0.05207029771693805', 'result_long': None, 'result_double': None}] Qualite : 0.05207029771693805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24372610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372610_28-06-2025_06_02_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24372610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372610_28-06-2025_06_02_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372655, 'pht': 3726}}" where mtr_portfolio_id = 24372610 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24372610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950295, 0.05207029771693805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24372610_28-06-2025_06_02_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24372644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24372645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24372646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24372647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24372648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24372649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24372650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24372651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24372652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24372653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24372654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24372655, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24373871 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206554, 'mtr_portfolio_id': 24373871, 'created_at': datetime.datetime(2025, 6, 28, 6, 2, 14), 'result': '0.051981055501123974', 'result_long': None, 'result_double': None}] Qualite : 0.051981055501123974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24373871 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24373871_28-06-2025_06_02_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24373871 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24373871_28-06-2025_06_02_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24373907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24373908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24373909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24373910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24373911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24373912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24373913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24373914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24373915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24373916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24373917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24373918, 'pht': 3726}}" where mtr_portfolio_id = 24373871 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24373871 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950296, 0.051981055501123974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24373871_28-06-2025_06_02_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24373907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24373908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24373909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24373910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24373911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24373912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24373913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24373914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24373915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24373916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24373917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24373918, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24374528 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206555, 'mtr_portfolio_id': 24374528, 'created_at': datetime.datetime(2025, 6, 28, 6, 2, 39), 'result': '0.0579396757498563', 'result_long': None, 'result_double': None}] Qualite : 0.0579396757498563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24374528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24374528_28-06-2025_06_02_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24374528 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24374528_28-06-2025_06_02_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24374571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24374572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24374573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24374574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24374575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24374577, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24374578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24374579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24374580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24374581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24374582, 'pht': 3726}}" where mtr_portfolio_id = 24374528 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24374528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950297, 0.0579396757498563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24374528_28-06-2025_06_02_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24374571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24374572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24374573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24374574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24374575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24374577, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24374578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24374579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24374580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24374581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24374582, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24375724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206556, 'mtr_portfolio_id': 24375724, 'created_at': datetime.datetime(2025, 6, 28, 6, 3, 1), 'result': '0.023020456026312433', 'result_long': None, 'result_double': None}] Qualite : 0.023020456026312433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24375724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375724_28-06-2025_06_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24375724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375724_28-06-2025_06_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375782, 'pht': 3726}}" where mtr_portfolio_id = 24375724 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24375724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950298, 0.023020456026312433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24375724_28-06-2025_06_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24375771, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24375772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24375773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24375774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24375775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24375776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24375777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24375778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24375779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24375780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24375781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24375782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24376573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206557, 'mtr_portfolio_id': 24376573, 'created_at': datetime.datetime(2025, 6, 28, 6, 3, 31), 'result': '0.021925398471832024', 'result_long': None, 'result_double': None}] Qualite : 0.021925398471832024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24376573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376573_28-06-2025_06_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24376573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376573_28-06-2025_06_03_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24376576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24376577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24376578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24376579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24376580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24376581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24376582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24376583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24376584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24376585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24376586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24376587, 'pht': 3726}}" where mtr_portfolio_id = 24376573 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24376573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950299, 0.021925398471832024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376573_28-06-2025_06_03_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24376576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24376577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24376578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24376579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24376580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24376581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24376582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24376583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24376584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24376585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24376586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24376587, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24376925 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206558, 'mtr_portfolio_id': 24376925, 'created_at': datetime.datetime(2025, 6, 28, 6, 3, 59), 'result': '0.041088593976929384', 'result_long': None, 'result_double': None}] Qualite : 0.041088593976929384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24376925 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376925_28-06-2025_06_04_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24376925 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376925_28-06-2025_06_04_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377026, 'pht': 3726}}" where mtr_portfolio_id = 24376925 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24376925 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950300, 0.041088593976929384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24376925_28-06-2025_06_04_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24377009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24377010, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24377011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24377012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24377013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24377014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24377018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24377020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24377022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24377023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24377024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24377026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24378190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206559, 'mtr_portfolio_id': 24378190, 'created_at': datetime.datetime(2025, 6, 28, 6, 4, 30), 'result': '0.010438181577755595', 'result_long': None, 'result_double': None}] Qualite : 0.010438181577755595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24378190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378190_28-06-2025_06_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24378190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378190_28-06-2025_06_04_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24378191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24378192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24378193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24378194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24378195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24378196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24378197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24378198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24378199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24378200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24378201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24378202, 'pht': 3726}}" where mtr_portfolio_id = 24378190 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24378190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950301, 0.010438181577755595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378190_28-06-2025_06_04_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24378191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24378192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24378193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24378194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24378195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24378196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24378197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24378198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24378199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24378200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24378201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24378202, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24378376 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206560, 'mtr_portfolio_id': 24378376, 'created_at': datetime.datetime(2025, 6, 28, 6, 5), 'result': '0.008462087086635775', 'result_long': None, 'result_double': None}] Qualite : 0.008462087086635775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24378376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378376_28-06-2025_06_05_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24378376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378376_28-06-2025_06_05_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24378396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24378397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24378398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24378399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24378400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24378401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24378402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24378403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24378404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24378405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24378406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24378407, 'pht': 3726}}" where mtr_portfolio_id = 24378376 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24378376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950302, 0.008462087086635775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24378376_28-06-2025_06_05_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24378396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24378397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24378398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24378399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24378400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24378401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24378402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24378403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24378404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24378405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24378406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24378407, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24379910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3206561, 'mtr_portfolio_id': 24379910, 'created_at': datetime.datetime(2025, 6, 28, 6, 5, 33), 'result': '0.0023731801815434802', 'result_long': None, 'result_double': None}] Qualite : 0.0023731801815434802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24379910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379910_28-06-2025_06_05_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24379910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379910_28-06-2025_06_05_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379921, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379922, 'pht': 3726}}" where mtr_portfolio_id = 24379910 and dashboard_run_id = 1938526 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24379910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11950303, 0.0023731801815434802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24379910_28-06-2025_06_05_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24379911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24379912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24379913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24379914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24379915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24379916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24379917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24379918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24379919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24379920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24379921, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24379922, '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 (24379967,24379968,24379969,24379970,24379119,24379121,24379124,24379125,24379126,24379128,24379129,24379131,24377100,24377101,24377102,24377103,24377104,24377106,24377107,24375452,24375454,24375455,24375456,24372264,24372283,24372284,24372285,24372286,24372298,24372307,24366705,24366706,24366708,24366710,24366713,24366715,24366718,24364204,24364208,24364212,24364216,24364221,24364223,24364226,24364231,24359939,24359519,24359389,24359564,24360122,24360667,24361326,24361871,24362621,24363176,24363754,24364387,24365246,24367290,24367586,24368190,24368979,24369434,24370209,24370844,24371568,24372610,24373871,24374528,24375724,24376573,24376925,24378190,24378376,24379910) result : ((1368364170,), (1368364173,), (1368364177,), (1368364180,), (1368364184,), (1368364189,), (1368364197,), (1368364202,), (1368364208,), (1368364213,), (1368364217,), (1368364223,), (1368364232,), (1368364236,), (1368364241,), (1368364247,), (1368364252,), (1368364256,), (1368364265,), (1368364272,), (1368364302,), (1368364307,), (1368364311,), (1368364316,), (1368364341,), (1368364346,), (1368364349,), (1368364353,), (1368364357,), (1368364374,), (1368364379,), (1368364384,), (1368364389,), (1368364469,), (1368364471,), (1368364490,), (1368364514,), (1368364533,), (1368364542,), (1368364590,), (1368364597,), (1368364626,), (1368364629,), (1368364633,), (1368364636,), (1368364672,), (1368364681,), (1368364690,), (1368364699,), (1368364707,), (1368364781,), (1368364783,), (1368364277,), (1368364280,), (1368364285,), (1368364292,), (1368364322,), (1368364329,), (1368364361,), (1368364393,), (1368364396,), (1368364402,), (1368364404,), (1368364407,), (1368364412,), (1368364419,), (1368364425,), (1368364714,), (1368364727,), (1368364733,), (1368364737,), (1368364742,), (1368364751,), (1368364759,), (1368364787,), (1368364789,), (1368364791,), (1368364792,), (1368364797,), (1368364800,), (1368364801,), (1368364805,), (1368364837,), (1368364848,), (1368364854,), (1368364867,), (1368364871,), (1368364876,), (1368364882,), (1368364896,), (1368364915,), (1368365297,), (1368365308,), (1368365314,), (1368365318,), (1368365324,), (1368365354,), (1368365390,), (1368365619,), (1368365768,), (1368365776,), (1368365832,), (1368365836,), (1368365841,), (1368365898,), (1368365911,), (1368365914,), (1368365916,), (1368365932,), (1368365969,), (1368366318,), (1368366331,), (1368366378,), (1368366390,), (1368366400,), (1368366411,), (1368366423,), (1368366426,), (1368366431,), (1368364778,), (1368364779,), (1368364818,), (1368364826,), (1368364831,), (1368365005,), (1368365046,), (1368365088,), (1368365122,), (1368365154,), (1368365191,), (1368365257,), (1368365271,), (1368365279,), (1368365287,), (1368365291,), (1368365501,), (1368365539,), (1368365581,), (1368365606,), (1368365611,), (1368365709,), (1368365731,), (1368365754,), (1368365763,), (1368365789,), (1368365793,), (1368365797,), (1368366104,), (1368366118,), (1368366127,), (1368366132,), (1368366138,), (1368366164,), (1368366220,), (1368366226,), (1368366237,), (1368366282,), (1368366356,), (1368366362,), (1368366454,), (1368366459,), (1368366466,), (1368366471,), (1368366475,), (1368366480,), (1368366494,), (1368366500,), (1368366508,), (1368366514,), (1368366520,), (1368366537,), (1368366541,), (1368366546,), (1368366552,), (1368366559,), (1368366565,), (1368366622,), (1368366634,), (1368366639,), (1368366652,), (1368366659,), (1368366684,), (1368366692,), (1368366696,), (1368366700,), (1368366704,), (1368366711,), (1368366789,), (1368366434,), (1368366437,), (1368366441,), (1368366526,), (1368366585,), (1368366589,), (1368366594,), (1368366598,), (1368366604,), (1368366608,), (1368366665,), (1368366724,), (1368366728,), (1368366734,), (1368366738,), (1368366741,), (1368366744,), (1368366794,), (1368366798,), (1368366895,), (1368366924,), (1368366930,), (1368366936,), (1368366942,), (1368366947,), (1368366950,), (1368366994,), (1368367003,), (1368367092,), (1368367154,), (1368367172,), (1368367186,), (1368367192,), (1368367194,), (1368367197,), (1368367237,), (1368367242,), (1368367318,), (1368367324,), (1368367332,), (1368367339,), (1368367353,), (1368367356,), (1368367363,), (1368367368,), (1368367373,), (1368367380,), (1368367417,), (1368367421,), (1368367461,), (1368367482,), (1368367486,), (1368367488,), (1368367492,), (1368367495,), (1368367543,), (1368367547,), (1368367590,), (1368367599,), (1368367698,), (1368367702,), (1368367709,), (1368366766,), (1368366773,), (1368366781,), (1368366811,), (1368366816,), (1368366822,), (1368366827,), (1368366832,), (1368366840,), (1368366850,), (1368366855,), (1368366860,), (1368366864,), (1368366877,), (1368366964,), (1368366972,), (1368366979,), (1368366987,), (1368367022,), (1368367028,), (1368367035,), (1368367047,), (1368367065,), (1368367211,), (1368367218,), (1368367225,), (1368367233,), (1368367253,), (1368367254,), (1368367263,), (1368367264,), (1368367271,), (1368367273,), (1368367279,), (1368367280,), (1368367288,), (1368367289,), (1368367293,), (1368367294,), (1368367307,), (1368367313,), (1368367396,), (1368367400,), (1368367405,), (1368367412,), (1368367435,), (1368367440,), (1368367445,), (1368367451,), (1368367456,), (1368367478,), (1368367516,), (1368367525,), (1368367531,), (1368367539,), (1368367561,), (1368367568,), (1368367576,), (1368367583,), (1368367612,), (1368367614,), (1368367618,), (1368367623,), (1368367626,), (1368367642,), (1368367820,), (1368367826,), (1368367833,), (1368367841,), (1368367845,), (1368367852,), (1368367881,), (1368367888,), (1368367892,), (1368367956,), (1368367944,), (1368367947,), (1368367949,), (1368367952,), (1368368018,), (1368368020,), (1368368026,), (1368368027,), (1368368033,), (1368368037,), (1368368041,), (1368368045,), (1368368055,), (1368368059,), (1368368071,), (1368368074,), (1368368080,), (1368368218,), (1368368222,), (1368368227,), (1368368232,), (1368368240,), (1368368246,), (1368368258,), (1368368262,), (1368368265,), (1368368269,), (1368368276,), (1368368282,), (1368368299,), (1368368303,), (1368368307,), (1368368315,), (1368368392,), (1368368396,), (1368368401,), (1368368403,), (1368368431,), (1368368436,), (1368368444,), (1368368485,), (1368368490,), (1368368498,), (1368368501,), (1368368507,), (1368368585,), (1368368586,), (1368368591,), (1368368592,), (1368368605,), (1368368606,), (1368368612,), (1368368614,), (1368368621,), (1368368622,), (1368368653,), (1368368659,), (1368368664,), (1368368670,), (1368368797,), (1368368805,), (1368368809,), (1368368827,), (1368368847,), (1368368855,), (1368368920,), (1368368951,), (1368368986,), (1368368994,), (1368369001,), (1368369108,), (1368369114,), (1368369121,), (1368369149,), (1368369430,), (1368369436,), (1368369443,), (1368369450,), (1368369456,), (1368369462,), (1368369489,), (1368369476,), (1368369480,), (1368369483,), (1368369547,), (1368369548,), (1368369552,), (1368369553,), (1368369558,), (1368369560,), (1368369618,), (1368369624,), (1368369702,), (1368369713,), (1368369717,), (1368369719,), (1368369725,), (1368369735,), (1368369750,), (1368369755,), (1368369761,), (1368369782,), (1368369785,), (1368369800,), (1368369804,), (1368369807,), (1368369812,), (1368369910,), (1368369917,), (1368369936,), (1368369938,), (1368369947,), (1368369948,), (1368369952,), (1368369954,), (1368369958,), (1368369960,), (1368370089,), (1368370094,), (1368370100,), (1368370133,), (1368370142,), (1368370148,), (1368370306,), (1368370349,), (1368370354,), (1368370407,), (1368370410,), (1368370414,), (1368370419,), (1368370424,), (1368370430,), (1368370465,), (1368370479,), (1368370489,), (1368370514,), (1368370524,), (1368370543,), (1368370610,), (1368370613,), (1368370618,), (1368370678,), (1368370683,), (1368370689,), (1368370694,), (1368370704,), (1368371750,), (1368371836,), (1368371905,), (1368371967,), (1368372008,), (1368372516,), (1368372523,), (1368372432,), (1368372433,), (1368372445,), (1368372446,), (1368372451,), (1368372452,), (1368372480,), (1368372485,), (1368372683,), (1368372722,), (1368372763,), (1368373121,), (1368373434,), (1368373552,), (1368373577,), (1368373592,), (1368373599,), (1368373611,), (1368373674,), (1368373803,), (1368373815,), (1368373819,), (1368373824,), (1368373830,), (1368373846,), (1368374047,), (1368374049,), (1368374083,), (1368374084,), (1368374116,), (1368374118,), (1368374123,), (1368374125,), (1368374225,), (1368374230,), (1368374239,), (1368374382,), (1368374389,), (1368374396,), (1368374402,), (1368374445,), (1368374480,), (1368374518,), (1368374554,), (1368374592,), (1368374621,), (1368374658,), (1368374665,), (1368374668,), (1368374674,), (1368374749,), (1368374750,), (1368374754,), (1368374755,), (1368374758,), (1368374759,), (1368374770,), (1368374778,), (1368374835,), (1368374841,), (1368374847,), (1368374850,), (1368374852,), (1368374855,), (1368375025,), (1368374974,), (1368374989,), (1368375302,), (1368375310,), (1368375312,), (1368375333,), (1368375413,), (1368375454,), (1368375458,), (1368375464,), (1368375538,), (1368375543,), (1368375598,), (1368375601,), (1368375646,), (1368375652,), (1368375657,), (1368375662,), (1368375715,), (1368375720,), (1368375723,), (1368375728,), (1368375734,), (1368375745,), (1368375758,), (1368375762,), (1368375770,), (1368375776,), (1368375779,), (1368375870,), (1368375873,), (1368375878,), (1368375884,), (1368375941,), (1368375958,), (1368375966,), (1368375978,), (1368376125,), (1368376132,), (1368376137,), (1368376141,), (1368376160,), (1368376198,), (1368376296,), (1368376332,), (1368376364,), (1368376399,), (1368376461,), (1368376512,), (1368376634,), (1368376675,), (1368376738,), (1368376773,), (1368376780,), (1368376918,), (1368376922,), (1368376928,), (1368376936,), (1368376943,), (1368376963,), (1368376968,), (1368376976,), (1368376980,), (1368376985,), (1368377007,), (1368377089,), (1368377059,), (1368377064,), (1368377073,), (1368377076,), (1368377081,), (1368377111,), (1368377112,), (1368377118,), (1368377119,), (1368377126,), (1368377130,), (1368377135,), (1368377136,), (1368377141,), (1368377142,), (1368377193,), (1368377202,), (1368377422,), (1368377827,), (1368377828,), (1368377972,), (1368378155,), (1368378156,), (1368378163,), (1368378165,), (1368378170,), (1368378171,), (1368378199,), (1368378362,), (1368378363,), (1368378369,), (1368378370,), (1368378376,), (1368378378,), (1368378385,), (1368378388,), (1368378394,), (1368378398,), (1368378435,), (1368378424,), (1368378428,), (1368378431,), (1368378548,), (1368378553,), (1368378557,), (1368378570,), (1368378577,), (1368378587,), (1368378603,), (1368378605,), (1368378610,), (1368378624,), (1368378679,), (1368378683,), (1368378686,), (1368378689,), (1368378758,), (1368378762,), (1368378765,), (1368378770,), (1368378774,), (1368378794,), (1368378799,), (1368378803,), (1368378808,), (1368378812,), (1368378818,), (1368378833,), (1368378839,), (1368378846,), (1368378940,), (1368378944,), (1368378949,), (1368378953,), (1368378984,), (1368378991,), (1368378997,), (1368379001,), (1368379005,), (1368379009,), (1368379083,), (1368379086,), (1368379093,), (1368379102,), (1368379107,), (1368379111,), (1368379151,), (1368379167,), (1368379181,), (1368379192,), (1368379276,), (1368379279,), (1368379284,), (1368379345,), (1368379350,), (1368379356,), (1368379360,), (1368379469,), (1368379506,), (1368379547,), (1368379587,), (1368379628,), (1368379822,), (1368379838,), (1368379842,), (1368380006,), (1368380009,), (1368378233,), (1368378274,), (1368378281,), (1368378289,), (1368378298,), (1368378304,), (1368378311,), (1368378321,), (1368378329,), (1368378333,), (1368378337,), (1368378343,), (1368378349,), (1368378401,), (1368378405,), (1368378441,), (1368378447,), (1368378481,), (1368378494,), (1368378509,), (1368378523,), (1368378533,), (1368378537,), (1368378635,), (1368378657,), (1368378693,), (1368378697,), (1368378711,), (1368378718,), (1368378727,), (1368378732,), (1368378739,), (1368378745,), (1368378778,), (1368378852,), (1368378857,), (1368378862,), (1368378876,), (1368378878,), (1368378883,), (1368378890,), (1368378895,), (1368378899,), (1368378957,), (1368378964,), (1368379038,), (1368379044,), (1368379052,), (1368379062,), (1368379068,), (1368379071,), (1368379211,), (1368379216,), (1368379232,), (1368379240,), (1368379246,), (1368379251,), (1368379258,), (1368379264,), (1368379288,), (1368379293,), (1368379301,), (1368379365,), (1368379370,), (1368379666,), (1368379844,), (1368379850,), (1368379867,), (1368380028,), (1368380030,), (1368380055,), (1368380059,), (1368377260,), (1368377266,), (1368377269,), (1368377274,), (1368377286,), (1368377306,), (1368377339,), (1368377350,), (1368377355,), (1368377384,), (1368377426,), (1368377430,), (1368377437,), (1368377474,), (1368377513,), (1368377572,), (1368377590,), (1368377596,), (1368377600,), (1368377606,), (1368377611,), (1368377699,), (1368377714,), (1368377717,), (1368377721,), (1368377726,), (1368377731,), (1368377831,), (1368377832,), (1368377835,), (1368377836,), (1368377839,), (1368377840,), (1368377849,), (1368377850,), (1368377857,), (1368377860,), (1368377897,), (1368377903,), (1368377907,), (1368377913,), (1368377916,), (1368377919,), (1368377934,), (1368377941,), (1368377948,), (1368377955,), (1368377958,), (1368377961,), (1368377978,), (1368377984,), (1368377990,), (1368378007,), (1368378022,), (1368378035,), (1368378039,), (1368378043,), (1368378055,), (1368378059,), (1368378064,), (1368378076,), (1368378083,), (1368378087,), (1368378092,), (1368378098,), (1368378102,), (1368378116,), (1368378119,), (1368378122,), (1368378126,), (1368378131,), (1368378136,), (1368378176,), (1368378177,), (1368378180,), (1368378181,), (1368378184,), (1368378185,), (1368378205,), (1368378213,), (1368378222,), (1368378228,), (1368375345,), (1368375471,), (1368375477,), (1368375498,), (1368375501,), (1368375506,), (1368375513,), (1368375519,), (1368375525,), (1368375549,), (1368375562,), (1368375569,), (1368375576,), (1368375604,), (1368375618,), (1368375621,), (1368375626,), (1368375667,), (1368375668,), (1368375676,), (1368375680,), (1368375683,), (1368375690,), (1368375698,), (1368375702,), (1368375793,), (1368375824,), (1368375826,), (1368375830,), (1368375837,), (1368375844,), (1368375850,), (1368375888,), (1368375902,), (1368375982,), (1368375988,), (1368376008,), (1368376039,), (1368376060,), (1368376066,), (1368376090,), (1368376101,), (1368376785,), (1368376823,), (1368376857,), (1368376890,), (1368376895,), (1368376900,), (1368376905,), (1368376947,), (1368377024,), (1368377029,), (1368377033,), (1368377038,), (1368377043,), (1368377048,), (1368377145,), (1368377150,), (1368377208,), (1368377215,), (1368377219,), (1368377223,), (1368377244,), (1368377254,), (1368374129,), (1368374130,), (1368374135,), (1368374136,), (1368374254,), (1368374258,), (1368374275,), (1368374323,), (1368374329,), (1368374342,), (1368374347,), (1368374371,), (1368374374,), (1368374408,), (1368374413,), (1368374679,), (1368374686,), (1368374697,), (1368374704,), (1368374712,), (1368374717,), (1368374725,), (1368374733,), (1368374793,), (1368374795,), (1368374803,), (1368374806,), (1368374877,), (1368374884,), (1368374912,), (1368374926,), (1368374932,), (1368374940,), (1368375068,), (1368375118,), (1368375139,), (1368375340,), (1368372343,), (1368372550,), (1368372563,), (1368372801,), (1368372820,), (1368372828,), (1368372912,), (1368372937,), (1368372987,), (1368373008,), (1368373016,), (1368373022,), (1368373128,), (1368373133,), (1368373145,), (1368373183,), (1368373211,), (1368373269,), (1368373287,), (1368373300,), (1368373317,), (1368373320,), (1368373330,), (1368373343,), (1368373350,), (1368373356,), (1368373364,), (1368373369,), (1368373373,), (1368373383,), (1368373386,), (1368373391,), (1368373397,), (1368373404,), (1368373411,), (1368373441,), (1368373456,), (1368373471,), (1368373483,), (1368373488,), (1368373963,), (1368373977,), (1368373992,), (1368374018,), (1368374030,), (1368374035,), (1368370653,), (1368370739,), (1368370902,), (1368370969,), (1368371034,), (1368371101,), (1368371179,), (1368371247,), (1368372047,), (1368372247,), (1368372287,), (1368372302,), (1368372304,), (1368368769,), (1368368778,), (1368369016,), (1368369160,), (1368369177,), (1368369221,), (1368369263,), (1368369273,), (1368369286,), (1368369322,), (1368369359,), (1368369494,), (1368369500,), (1368369516,), (1368369519,), (1368369524,), (1368369530,), (1368369534,), (1368369537,), (1368369566,), (1368369568,), (1368369575,), (1368369577,), (1368369580,), (1368369582,), (1368369631,), (1368369637,), (1368369643,), (1368369650,), (1368369665,), (1368369672,), (1368369679,), (1368369684,), (1368369688,), (1368369693,), (1368369789,), (1368369816,), (1368369821,), (1368369830,), (1368369834,), (1368369839,), (1368369851,), (1368369862,), (1368369867,), (1368369965,), (1368369967,), (1368370197,), (1368370233,), (1368370241,), (1368370247,), (1368370252,), (1368370258,), (1368370358,), (1368370373,), (1368370383,), (1368370571,), (1368370575,), (1368370582,), (1368370588,), (1368370593,), (1368370596,), (1368370624,), (1368370641,), (1368367751,), (1368367774,), (1368367779,), (1368367898,), (1368367913,), (1368367923,), (1368367960,), (1368367977,), (1368367985,), (1368367990,), (1368367995,), (1368367999,), (1368368005,), (1368368061,), (1368368064,), (1368368085,), (1368368091,), (1368368095,), (1368368116,), (1368368123,), (1368368132,), (1368368160,), (1368368168,), (1368368194,), (1368368323,), (1368368330,), (1368368355,), (1368368360,), (1368368364,), (1368368368,), (1368368379,), (1368368383,), (1368368406,), (1368368410,), (1368368449,), (1368368456,), (1368368466,), (1368368512,), (1368368528,), (1368368532,), (1368368543,), (1368368552,), (1368368562,), (1368368570,), (1368368631,), (1368368635,), (1368368678,), (1368368696,), (1368368743,), (1368368748,), (1368368756,), (1368368761,), (1368379990,), (1368379991,), (1368380091,), (1368380100,), (1368380106,), (1368380112,), (1368380117,), (1368380121,), (1368380129,), (1368380134,), (1368380139,), (1368380146,), (1368380152,), (1368380158,), (1368380204,), (1368380208,), (1368380233,), (1368380473,), (1368380518,), (1368380556,), (1368380598,), (1368381145,), (1368381149,), (1368381154,), (1368381158,), (1368381190,), (1368381258,), (1368381259,), (1368381276,), (1368381278,), (1368381314,), (1368381315,), (1368381370,), (1368381373,), (1368381899,), (1368381998,), (1368382118,), (1368382197,), (1368382259,), (1368382981,), (1368382984,), (1368382992,), (1368382996,), (1368383003,), (1368383011,), (1368383042,), (1368383078,), (1368383116,), (1368383149,), (1368383243,), (1368383280,), (1368383295,), (1368383315,), (1368383341,), (1368383411,), (1368383415,), (1368383420,), (1368383425,), (1368383428,), (1368383459,), (1368383465,), (1368383469,), (1368383476,), (1368383480,), (1368383485,), (1368383537,), (1368383548,), (1368383557,), (1368383853,), (1368383887,), (1368383913,), (1368384118,), (1368384061,), (1368384079,), (1368384089,), (1368384115,), (1368384299,), (1368384303,), (1368384308,), (1368384326,), (1368384342,), (1368384375,), (1368384376,), (1368384431,), (1368384436,), (1368384443,), (1368384540,), (1368384546,), (1368384551,), (1368384555,), (1368384578,), (1368384583,), (1368384586,), (1368384590,), (1368384738,), (1368384744,), (1368384748,), (1368384752,), (1368384757,), (1368384766,), (1368384770,), (1368384775,), (1368384783,), (1368384987,), (1368385037,), (1368385073,), (1368385088,), (1368385152,), (1368385155,), (1368385163,), (1368385167,), (1368385177,), (1368385217,), (1368385222,), (1368385226,), (1368385237,), (1368393766,), (1368387972,), (1368387977,), (1368387981,), (1368388007,), (1368388016,), (1368388025,), (1368388029,), (1368388035,), (1368388043,), (1368388068,), (1368388073,), (1368388077,), (1368388081,), (1368388083,), (1368388088,), (1368388109,), (1368388117,), (1368388125,), (1368388133,), (1368388137,), (1368388142,), (1368388152,), (1368388156,), (1368388161,), (1368388169,), (1368388177,), (1368388183,), (1368388198,), (1368388204,), (1368388206,), (1368388210,), (1368388214,), (1368388218,), (1368388241,), (1368388246,), (1368388254,), (1368388262,), (1368388269,), (1368388274,), (1368388291,), (1368388292,), (1368388296,), (1368388297,), (1368388301,), (1368388303,), (1368388306,), (1368388309,), (1368388312,), (1368388316,), (1368388319,), (1368388324,), (1368388365,), (1368388368,), (1368388373,), (1368388380,), (1368388395,), (1368388406,), (1368388847,), (1368388919,), (1368388993,), (1368389063,), (1368389135,), (1368389206,), (1368389460,), (1368389536,), (1368389601,), (1368389669,), (1368389740,), (1368389791,), (1368389968,), (1368389970,), (1368390022,), (1368390028,), (1368390073,), (1368390077,), (1368390119,), (1368390125,), (1368390156,), (1368390163,), (1368390195,), (1368390202,), (1368390396,), (1368390460,), (1368387259,), (1368387267,), (1368387281,), (1368387289,), (1368387294,), (1368387299,), (1368387306,), (1368387316,), (1368387337,), (1368387346,), (1368387350,), (1368387356,), (1368387359,), (1368387364,), (1368387382,), (1368387391,), (1368387398,), (1368387404,), (1368387409,), (1368387417,), (1368387456,), (1368387470,), (1368387476,), (1368387480,), (1368387485,), (1368387490,), (1368387510,), (1368387516,), (1368387520,), (1368387524,), (1368387530,), (1368387536,), (1368387575,), (1368387592,), (1368387604,), (1368387615,), (1368387620,), (1368387627,), (1368387642,), (1368387647,), (1368387651,), (1368387656,), (1368387661,), (1368387667,), (1368387682,), (1368387687,), (1368387702,), (1368387711,), (1368387725,), (1368387739,), (1368387808,), (1368387809,), (1368387815,), (1368387816,), (1368387829,), (1368387830,), (1368387835,), (1368387836,), (1368387839,), (1368387840,), (1368387845,), (1368387846,), (1368387866,), (1368387872,), (1368387879,), (1368387885,), (1368387890,), (1368387893,), (1368387905,), (1368387910,), (1368386107,), (1368386146,), (1368386151,), (1368386201,), (1368386206,), (1368386213,), (1368386216,), (1368386227,), (1368386238,), (1368386361,), (1368386419,), (1368386460,), (1368386489,), (1368386494,), (1368386497,), (1368386564,), (1368386570,), (1368386574,), (1368386581,), (1368386612,), (1368386632,), (1368386675,), (1368386695,), (1368386729,), (1368386769,), (1368386797,), (1368386804,), (1368386822,), (1368386826,), (1368386833,), (1368386840,), (1368386847,), (1368386855,), (1368386878,), (1368386880,), (1368386882,), (1368386886,), (1368386890,), (1368386894,), (1368386930,), (1368386937,), (1368386940,), (1368386945,), (1368386950,), (1368386954,), (1368386970,), (1368386977,), (1368386987,), (1368387021,), (1368387028,), (1368387031,), (1368387040,), (1368387043,), (1368387048,), (1368387054,), (1368387058,), (1368387064,), (1368387080,), (1368387092,), (1368387097,), (1368387105,), (1368387111,), (1368387116,), (1368387126,), (1368387130,), (1368387139,), (1368387146,), (1368387158,), (1368387169,), (1368387198,), (1368387203,), (1368387210,), (1368387214,), (1368387220,), (1368387234,), (1368387242,), (1368387248,), (1368387254,), (1368385646,), (1368385652,), (1368385656,), (1368385669,), (1368385705,), (1368385800,), (1368385838,), (1368385874,), (1368385911,), (1368385922,), (1368385925,), (1368385941,), (1368385944,), (1368385946,), (1368385948,), (1368385953,), (1368385959,), (1368385971,), (1368385995,), (1368385999,), (1368386004,), (1368386008,), (1368386022,), (1368386040,), (1368386074,), (1368385097,), (1368385112,), (1368385115,), (1368385120,), (1368385126,), (1368385132,), (1368385137,), (1368385190,), (1368385238,), (1368385268,), (1368385286,), (1368385292,), (1368385301,), (1368385310,), (1368385316,), (1368385321,), (1368385335,), (1368385338,), (1368385349,), (1368385355,), (1368385360,), (1368385368,), (1368385392,), (1368385399,), (1368385406,), (1368385411,), (1368385415,), (1368385420,), (1368385428,), (1368385433,), (1368385440,), (1368385445,), (1368385450,), (1368385454,), (1368385468,), (1368385473,), (1368385480,), (1368385481,), (1368385489,), (1368385495,), (1368385515,), (1368385520,), (1368385528,), (1368385529,), (1368385531,), (1368385533,), (1368385560,), (1368385561,), (1368385565,), (1368385566,), (1368385569,), (1368385571,), (1368385609,), (1368385614,), (1368385618,), (1368385622,), (1368385624,), (1368385626,), (1368385641,), (1368383397,), (1368383432,), (1368383562,), (1368383564,), (1368383572,), (1368383588,), (1368383594,), (1368383614,), (1368383666,), (1368383713,), (1368383753,), (1368383915,), (1368383938,), (1368383973,), (1368384140,), (1368384181,), (1368384192,), (1368384203,), (1368384229,), (1368384233,), (1368384239,), (1368384354,), (1368384382,), (1368384384,), (1368384387,), (1368384391,), (1368384393,), (1368384396,), (1368384398,), (1368384403,), (1368384405,), (1368384412,), (1368384449,), (1368384454,), (1368384464,), (1368384478,), (1368384483,), (1368384488,), (1368384495,), (1368384499,), (1368384513,), (1368384561,), (1368384566,), (1368384593,), (1368384598,), (1368384620,), (1368384625,), (1368384631,), (1368384635,), (1368384638,), (1368384645,), (1368384761,), (1368384806,), (1368384856,), (1368385092,), (1368380061,), (1368380062,), (1368380066,), (1368380067,), (1368380162,), (1368380164,), (1368380166,), (1368380170,), (1368380176,), (1368380184,), (1368380280,), (1368380317,), (1368380353,), (1368380635,), (1368380667,), (1368380789,), (1368380826,), (1368380872,), (1368380910,), (1368380945,), (1368380984,), (1368381196,), (1368381442,), (1368381445,), (1368381525,), (1368381541,), (1368382330,), (1368382511,), (1368382611,), (1368382722,), (1368382778,), (1368382813,), (1368382850,), (1368383183,), (1368383219,), (1368383350,), (1368383359,), (1368383372,), (1368383377,), (1368383384,), (1368383393,), (1368393738,), (1368393763,), (1368393765,), (1368393877,), (1368393878,), (1368393899,), (1368393906,), (1368393932,), (1368393940,), (1368393999,), (1368394000,), (1368394002,), (1368394004,), (1368394068,), (1368394093,), (1368394104,), (1368394108,), (1368394113,), (1368394542,), (1368394590,), (1368394631,), (1368394667,), (1368394949,), (1368394953,), (1368394992,), (1368394999,), (1368395046,), (1368395053,), (1368395333,), (1368395372,), (1368395408,), (1368395449,), (1368395721,), (1368395726,), (1368395734,), (1368395770,), (1368396124,), (1368395975,), (1368396016,), (1368396065,), (1368396099,), (1368396116,), (1368396145,), (1368396162,), (1368396166,), (1368396186,), (1368396252,), (1368396288,), (1368396585,), (1368396633,), (1368396669,), (1368396705,), (1368396938,), (1368396981,), (1368397000,), (1368397025,), (1368397032,), (1368397037,), (1368397190,), (1368397194,), (1368397198,), (1368397201,), (1368397226,), (1368397234,), (1368397236,), (1368397241,), (1368397245,), (1368397270,), (1368397296,), (1368397302,), (1368397308,), (1368397320,), (1368397545,), (1368397554,), (1368397561,), (1368397564,), (1368397569,), (1368397601,), (1368397602,), (1368397612,), (1368397613,), (1368397616,), (1368397617,), (1368397623,), (1368397624,), (1368397669,), (1368397673,), (1368397697,), (1368397703,), (1368397706,), (1368397726,), (1368397745,), (1368397787,), (1368397826,), (1368397864,), (1368398027,), (1368398061,), (1368398374,), (1368398620,), (1368398604,), (1368398612,), (1368398616,), (1368398912,), (1368398932,), (1368398973,), (1368398982,), (1368399011,), (1368399061,), (1368399072,), (1368399081,), (1368399087,), (1368399196,), (1368399202,), (1368399211,), (1368399216,), (1368399241,), (1368399242,), (1368399245,), (1368399246,), (1368399248,), (1368399250,), (1368399254,), (1368399255,), (1368399268,), (1368399269,), (1368399276,), (1368399277,), (1368399324,), (1368399363,), (1368399368,), (1368399384,), (1368399390,), (1368399397,), (1368399411,), (1368399419,), (1368399425,), (1368399508,), (1368399521,), (1368399531,), (1368399546,), (1368399594,), (1368399597,), (1368399706,), (1368399711,), (1368399758,), (1368399759,), (1368399763,), (1368399768,), (1368399770,), (1368399771,), (1368399778,), (1368399782,), (1368399902,), (1368399932,), (1368399941,), (1368400106,), (1368400113,), (1368400117,), (1368400123,), (1368400126,), (1368400129,), (1368400157,), (1368400163,), (1368400169,), (1368400178,), (1368400242,), (1368400247,), (1368400253,), (1368400257,), (1368400260,), (1368400304,), (1368400305,), (1368400286,), (1368400287,), (1368400289,), (1368400290,), (1368400291,), (1368400293,), (1368400296,), (1368400297,), (1368400300,), (1368400301,), (1368400315,), (1368400320,), (1368400325,), (1368400329,), (1368400383,), (1368400386,), (1368400395,), (1368400399,), (1368400403,), (1368400419,), (1368400424,), (1368400431,), (1368400433,), (1368400457,), (1368400462,), (1368400469,), (1368400472,), (1368400478,), (1368400752,), (1368400771,), (1368400791,), (1368400833,), (1368400852,), (1368400888,), (1368400926,), (1368400931,), (1368400937,), (1368400939,), (1368400942,), (1368400946,), (1368400956,), (1368400960,), (1368400964,), (1368401020,), (1368401027,), (1368401033,), (1368401038,), (1368401040,), (1368401043,), (1368401063,), (1368401070,), (1368401076,), (1368401084,), (1368401087,), (1368401096,), (1368401144,), (1368401155,), (1368401163,), (1368401168,), (1368401203,), (1368401207,), (1368401210,), (1368401213,), (1368401216,), (1368401278,), (1368401283,), (1368401287,), (1368401293,), (1368401297,), (1368401300,), (1368401625,), (1368401692,), (1368401768,), (1368402967,), (1368402785,), (1368402854,), (1368402925,), (1368403006,), (1368403020,), (1368403058,), (1368403708,), (1368403802,), (1368403808,), (1368403817,), (1368403820,), (1368403829,), (1368403836,), (1368403918,), (1368403923,), (1368403938,), (1368403942,), (1368403958,), (1368404010,), (1368404021,), (1368404026,), (1368404028,), (1368404031,), (1368404034,), (1368404069,), (1368404084,), (1368404103,), (1368404132,), (1368404347,), (1368404352,), (1368404389,), (1368404406,), (1368404408,), (1368404410,), (1368404457,), (1368404497,), (1368404537,), (1368404543,), (1368404546,), (1368404594,), (1368404606,), (1368404642,), (1368404655,), (1368404817,), (1368404864,), (1368404903,), (1368404953,), (1368404988,), (1368405035,), (1368405041,), (1368405045,), (1368405050,), (1368405056,), (1368405063,), (1368405121,), (1368405125,), (1368405130,), (1368405160,), (1368405164,), (1368405169,), (1368405176,), (1368405184,), (1368405196,), (1368405203,), (1368405208,), (1368405428,), (1368405361,), (1368405372,), (1368405373,), (1368405394,), (1368405511,), (1368405542,), (1368405549,), (1368405554,), (1368405557,), (1368405824,), (1368405849,), (1368405859,), (1368405863,), (1368405889,), (1368405894,), (1368405900,), (1368405906,), (1368405912,), (1368405981,), (1368406027,), (1368406079,), (1368406112,), (1368406150,), (1368406189,), (1368406255,), (1368406259,), (1368406266,), (1368406269,), (1368406271,), (1368406273,), (1368406282,), (1368406290,), (1368406297,), (1368406379,), (1368406384,), (1368406386,), (1368406389,), (1368406448,), (1368406449,), (1368406457,), (1368406458,), (1368406463,), (1368406464,), (1368406468,), (1368406469,), (1368406712,), (1368406779,), (1368406827,), (1368406834,), (1368406837,), (1368407008,), (1368407042,), (1368407075,), (1368407083,), (1368407088,), (1368407144,), (1368407145,), (1368407178,), (1368407180,), (1368407190,), (1368407191,), (1368407238,), (1368407273,), (1368407306,), (1368407342,), (1368407362,), (1368407366,), (1368407417,), (1368407423,), (1368407429,), (1368407440,), (1368407446,), (1368407449,), (1368407460,), (1368407466,), (1368407473,), (1368407560,), (1368407541,), (1368407547,), (1368407550,), (1368407552,), (1368407555,), (1368407569,), (1368407570,), (1368407575,), (1368407576,), (1368407580,), (1368407581,), (1368407585,), (1368407586,), (1368407592,), (1368407593,), (1368407597,), (1368407598,), (1368407609,), (1368407615,), (1368407620,), (1368407622,), (1368407626,), (1368407691,), (1368407700,), (1368407706,), (1368407708,), (1368407712,), (1368407714,), (1368407728,), (1368407729,), (1368407737,), (1368407738,), (1368407741,), (1368407742,), (1368407749,), (1368407750,), (1368407779,), (1368407781,), (1368407795,), (1368407807,), (1368407914,), (1368407918,), (1368407921,), (1368407955,), (1368408049,), (1368408056,), (1368408082,), (1368408087,), (1368408097,), (1368408107,), (1368408116,), (1368408120,), (1368408125,), (1368408129,), (1368408134,), (1368408139,), (1368408152,), (1368408159,), (1368408164,), (1368408168,), (1368408543,), (1368408552,), (1368408562,), (1368408576,), (1368408590,), (1368408602,), (1368408627,), (1368408632,), (1368408636,), (1368408639,), (1368408641,), (1368408715,), (1368408719,), (1368408724,), (1368408747,), (1368408752,), (1368408755,), (1368408760,), (1368408771,), (1368408792,), (1368408873,), (1368408965,), (1368409026,), (1368409030,), (1368409106,), (1368409108,), (1368409121,), (1368409141,), (1368409184,), (1368409171,), (1368409174,), (1368409178,), (1368409181,), (1368409231,), (1368409237,), (1368409244,), (1368409251,), (1368409257,), (1368409261,), (1368409266,), (1368409271,), (1368409277,), (1368409282,), (1368409311,), (1368409317,), (1368409322,), (1368409324,), (1368409327,), (1368409494,), (1368409544,), (1368409548,), (1368409563,), (1368409608,), (1368409827,), (1368409871,), (1368409914,), (1368409992,), (1368410040,), (1368410061,), (1368410674,), (1368410714,), (1368410724,), (1368410746,), (1368411097,), (1368411190,), (1368411257,), (1368411345,), (1368411441,), (1368411507,), (1368411819,), (1368411855,), (1368411913,), (1368411962,), (1368411997,), (1368412037,), (1368412146,), (1368412148,), (1368412182,), (1368412239,), (1368412244,), (1368412276,), (1368412316,), (1368412318,), (1368412319,), (1368412671,), (1368412698,), (1368412707,), (1368412728,), (1368412752,), (1368412923,), (1368412956,), (1368412991,), (1368413031,), (1368414186,), (1368414325,), (1368414410,), (1368414484,), (1368414573,), (1368415810,), (1368409328,), (1368409338,), (1368409342,), (1368409347,), (1368409353,), (1368409358,), (1368409384,), (1368409677,), (1368410145,), (1368410163,), (1368410230,), (1368410295,), (1368410398,), (1368410487,), (1368410807,), (1368410882,), (1368411580,), (1368411666,), (1368411719,), (1368411759,), (1368411763,), (1368411772,), (1368412192,), (1368412195,), (1368412204,), (1368412398,), (1368412433,), (1368412469,), (1368412509,), (1368412545,), (1368412581,), (1368412791,), (1368413068,), (1368413114,), (1368414633,), (1368414700,), (1368414787,), (1368414888,), (1368414974,), (1368415115,), (1368415286,), (1368415880,), (1368415958,), (1368416016,), (1368416431,), (1368416711,), (1368416783,), (1368416833,), (1368416870,), (1368416968,), (1368417087,), (1368417779,), (1368418021,), (1368418058,), (1368418405,), (1368418439,), (1368418455,), (1368418470,), (1368418534,), (1368418597,), (1368418882,), (1368418952,), (1368419021,), (1368419474,), (1368419503,), (1368419524,), (1368407382,), (1368407386,), (1368407390,), (1368407395,), (1368407400,), (1368407479,), (1368407485,), (1368407491,), (1368407498,), (1368407501,), (1368407512,), (1368407517,), (1368407522,), (1368407527,), (1368407631,), (1368407646,), (1368407653,), (1368407655,), (1368407659,), (1368407663,), (1368407667,), (1368407989,), (1368407994,), (1368408013,), (1368408018,), (1368408024,), (1368408027,), (1368408031,), (1368408035,), (1368408171,), (1368408175,), (1368408301,), (1368408334,), (1368408376,), (1368408421,), (1368408459,), (1368408493,), (1368408643,), (1368408670,), (1368408675,), (1368408677,), (1368408681,), (1368408698,), (1368408705,), (1368408729,), (1368408733,), (1368408737,), (1368408779,), (1368409038,), (1368409054,), (1368409064,), (1368409068,), (1368409072,), (1368409079,), (1368409089,), (1368409148,), (1368409153,), (1368409187,), (1368409202,), (1368409208,), (1368409213,), (1368409215,), (1368409217,), (1368409219,), (1368409285,), (1368409291,), (1368404230,), (1368404272,), (1368404288,), (1368404292,), (1368404300,), (1368404549,), (1368404662,), (1368404670,), (1368404686,), (1368404691,), (1368404695,), (1368404698,), (1368404702,), (1368404707,), (1368405020,), (1368405075,), (1368405079,), (1368405084,), (1368405089,), (1368405096,), (1368405102,), (1368405135,), (1368405140,), (1368405142,), (1368405187,), (1368405215,), (1368405223,), (1368405229,), (1368405237,), (1368405247,), (1368405254,), (1368405284,), (1368405300,), (1368405322,), (1368405462,), (1368405572,), (1368405618,), (1368405625,), (1368405635,), (1368405651,), (1368405691,), (1368405730,), (1368405867,), (1368405872,), (1368405917,), (1368406225,), (1368406228,), (1368406231,), (1368406234,), (1368406239,), (1368406245,), (1368406306,), (1368406310,), (1368406320,), (1368406331,), (1368406333,), (1368406336,), (1368406350,), (1368406356,), (1368406361,), (1368406395,), (1368406400,), (1368406483,), (1368406486,), (1368406521,), (1368406522,), (1368406842,), (1368406879,), (1368406911,), (1368406936,), (1368406948,), (1368406959,), (1368406965,), (1368407101,), (1368407196,), (1368407197,), (1368407203,), (1368407204,), (1368407208,), (1368407210,), (1368407378,), (1368400370,), (1368400374,), (1368400408,), (1368400437,), (1368400442,), (1368400481,), (1368400577,), (1368400582,), (1368400602,), (1368400612,), (1368400647,), (1368400653,), (1368400970,), (1368400976,), (1368400981,), (1368400989,), (1368400991,), (1368400994,), (1368400998,), (1368401004,), (1368401011,), (1368401109,), (1368401113,), (1368401117,), (1368401122,), (1368401129,), (1368401131,), (1368401173,), (1368401177,), (1368401220,), (1368401239,), (1368401244,), (1368401255,), (1368401260,), (1368401264,), (1368401269,), (1368401838,), (1368401906,), (1368401974,), (1368402165,), (1368402261,), (1368402328,), (1368402397,), (1368402464,), (1368402541,), (1368402991,), (1368402996,), (1368403097,), (1368403141,), (1368403188,), (1368403363,), (1368403421,), (1368403489,), (1368403560,), (1368403613,), (1368403652,), (1368403731,), (1368403734,), (1368403752,), (1368403781,), (1368403787,), (1368403873,), (1368403880,), (1368403885,), (1368403892,), (1368403900,), (1368403907,), (1368403972,), (1368404154,), (1368404169,), (1368404193,), (1368398569,), (1368398571,), (1368398575,), (1368398576,), (1368398579,), (1368398581,), (1368398585,), (1368398586,), (1368398624,), (1368398627,), (1368398659,), (1368398693,), (1368398735,), (1368398779,), (1368398813,), (1368398818,), (1368399018,), (1368399091,), (1368399093,), (1368399116,), (1368399127,), (1368399141,), (1368399145,), (1368399148,), (1368399163,), (1368399219,), (1368399226,), (1368399428,), (1368399431,), (1368399433,), (1368399444,), (1368399447,), (1368399451,), (1368399456,), (1368399460,), (1368399470,), (1368399550,), (1368399579,), (1368399603,), (1368399619,), (1368399630,), (1368399639,), (1368399651,), (1368399660,), (1368399672,), (1368399677,), (1368399682,), (1368399686,), (1368399715,), (1368399721,), (1368399727,), (1368399734,), (1368399789,), (1368399792,), (1368399821,), (1368399826,), (1368399980,), (1368400022,), (1368400028,), (1368400042,), (1368400055,), (1368400069,), (1368400078,), (1368400086,), (1368400092,), (1368400180,), (1368400184,), (1368400194,), (1368400202,), (1368400210,), (1368400217,), (1368400223,), (1368400228,), (1368400266,), (1368400332,), (1368400334,), (1368400351,), (1368400355,), (1368400362,), (1368400366,), (1368395692,), (1368395699,), (1368395705,), (1368395711,), (1368395807,), (1368395852,), (1368396390,), (1368396393,), (1368396396,), (1368396402,), (1368396423,), (1368396430,), (1368396740,), (1368396774,), (1368397080,), (1368397123,), (1368397160,), (1368397171,), (1368397174,), (1368397179,), (1368397204,), (1368397212,), (1368397256,), (1368397327,), (1368397341,), (1368397351,), (1368397379,), (1368397416,), (1368397452,), (1368397487,), (1368397576,), (1368397628,), (1368397629,), (1368397634,), (1368397635,), (1368397709,), (1368397895,), (1368397912,), (1368397948,), (1368397966,), (1368397973,), (1368397984,), (1368398006,), (1368398071,), (1368398075,), (1368398082,), (1368398088,), (1368398149,), (1368398164,), (1368398178,), (1368398202,), (1368398234,), (1368398241,), (1368398255,), (1368398263,), (1368398271,), (1368398280,), (1368398284,), (1368398297,), (1368398379,), (1368398409,), (1368398421,), (1368398464,), (1368398481,), (1368398539,), (1368398540,), (1368398552,), (1368398553,), (1368390499,), (1368390539,), (1368390587,), (1368390681,), (1368390885,), (1368390900,), (1368390968,), (1368391049,), (1368391083,), (1368391141,), (1368391190,), (1368391228,), (1368391257,), (1368391265,), (1368391275,), (1368391284,), (1368391317,), (1368391318,), (1368391325,), (1368391326,), (1368391329,), (1368391330,), (1368391332,), (1368391333,), (1368391336,), (1368391337,), (1368391339,), (1368391340,), (1368391441,), (1368391510,), (1368391564,), (1368391605,), (1368391635,), (1368391673,), (1368391764,), (1368391784,), (1368391792,), (1368391801,), (1368391820,), (1368391828,), (1368391903,), (1368391946,), (1368391990,), (1368392042,), (1368392139,), (1368392204,), (1368392368,), (1368392372,), (1368392404,), (1368392440,), (1368392464,), (1368392504,), (1368392721,), (1368392782,), (1368392804,), (1368392816,), (1368392878,), (1368392955,), (1368393141,), (1368393211,), (1368393284,), (1368393353,), (1368393403,), (1368393483,), (1368393776,), (1368393808,), (1368394006,), (1368394008,), (1368394116,), (1368394135,), (1368394175,), (1368394217,), (1368394255,), (1368394301,), (1368394372,), (1368394706,), (1368394763,), (1368395093,), (1368395100,), (1368395141,), (1368395146,), (1368395184,), (1368395191,), (1368395482,), (1368395526,), (1368395669,), (1368395683,), (1368415711,), (1368415765,), (1368416192,), (1368416208,), (1368416223,), (1368416302,), (1368416370,), (1368417288,), (1368417388,), (1368417486,), (1368417588,), (1368417688,), (1368417922,), (1368417932,), (1368417941,), (1368417963,), (1368418131,), (1368418135,), (1368418143,), (1368418187,), (1368418239,), (1368418277,), (1368418727,), (1368418776,), (1368418837,), (1368419114,), (1368419145,), (1368419177,), (1368419195,), (1368419239,), (1368419277,), (1368419807,), (1368419943,), (1368420021,), (1368420090,), (1368420318,), (1368420359,), (1368420438,), (1368420513,), (1368420554,), (1368420615,), (1368420725,), (1368420763,), (1368420785,), (1368420790,), (1368420795,), (1368420962,), (1368421028,), (1368421114,), (1368421179,), (1368421266,), (1368421496,), (1368421571,), (1368421629,), (1368421639,), (1368421667,), (1368421672,), (1368421762,), (1368421768,), (1368421804,), (1368421836,), (1368421944,), (1368421949,), (1368421961,), (1368421962,), (1368421979,), (1368421983,), (1368422011,), (1368422012,), (1368422018,), (1368422019,), (1368422043,), (1368422048,), (1368422055,), (1368422062,), (1368422069,), (1368422266,), (1368422157,), (1368422192,), (1368422207,), (1368422302,), (1368422342,), (1368422378,), (1368422405,), (1368422584,), (1368422590,), (1368422607,), (1368422641,), (1368422680,), (1368422697,), (1368422713,), (1368422717,), (1368422720,), (1368422725,), (1368422729,), (1368422760,), (1368422766,), (1368422772,), (1368422779,), (1368422785,), (1368422792,), (1368422852,), (1368422857,), (1368422863,), (1368422872,), (1368422873,), (1368422891,), (1368422899,), (1368422905,), (1368422917,), (1368422924,), (1368422977,), (1368422984,), (1368423004,), (1368423009,), (1368423035,), (1368423084,), (1368423085,), (1368423091,), (1368423092,), (1368423117,), (1368423120,), (1368423153,), (1368423157,), (1368423236,), (1368423244,), (1368423283,), (1368423301,), (1368423306,), (1368423386,), (1368423391,), (1368423394,), (1368423398,), (1368423482,), (1368423485,), (1368423490,), (1368423495,), (1368423538,), (1368423548,), (1368423553,), (1368423556,), (1368423559,), (1368423571,), (1368423637,), (1368423639,), (1368423642,), (1368423652,), (1368423666,), (1368423695,), (1368423697,), (1368423701,), (1368423702,), (1368423712,), (1368423719,), (1368423751,), (1368423752,), (1368423761,), (1368423762,), (1368423810,), (1368423788,), (1368423799,), (1368423805,), (1368423865,), (1368423869,), (1368423872,), (1368423874,), (1368423882,), (1368423886,), (1368423900,), (1368423903,), (1368423910,), (1368423914,), (1368423981,), (1368423985,), (1368423988,), (1368423990,), (1368423996,), (1368424001,), (1368424042,), (1368424045,), (1368424048,), (1368424055,), (1368424154,), (1368424159,), (1368424164,), (1368424167,), (1368424170,), (1368424233,), (1368424238,), (1368424251,), (1368424256,), (1368424259,), (1368424266,), (1368424284,), (1368424289,), (1368424294,), (1368424303,), (1368424332,), (1368424338,), (1368424357,), (1368424363,), (1368424369,), (1368424375,), (1368424432,), (1368424443,), (1368424457,), (1368424464,), (1368424466,), (1368424469,), (1368424477,), (1368424483,), (1368424487,), (1368424492,), (1368424560,), (1368424569,), (1368430293,), (1368426140,), (1368426145,), (1368426148,), (1368426151,), (1368426156,), (1368426161,), (1368426165,), (1368426171,), (1368426177,), (1368426184,), (1368426189,), (1368426231,), (1368426236,), (1368426242,), (1368426248,), (1368426253,), (1368426257,), (1368426350,), (1368426383,), (1368426414,), (1368426459,), (1368426494,), (1368426529,), (1368426983,), (1368427019,), (1368427072,), (1368427119,), (1368427183,), (1368427269,), (1368427500,), (1368427569,), (1368427685,), (1368427806,), (1368427900,), (1368427990,), (1368428348,), (1368428449,), (1368428546,), (1368428638,), (1368428720,), (1368428817,), (1368429179,), (1368429272,), (1368429341,), (1368429382,), (1368429413,), (1368429444,), (1368429599,), (1368429606,), (1368429613,), (1368429670,), (1368429797,), (1368429923,), (1368430198,), (1368430217,), (1368430233,), (1368430263,), (1368430271,), (1368430275,), (1368430303,), (1368430308,), (1368430313,), (1368430318,), (1368430442,), (1368430512,), (1368430581,), (1368430694,), (1368430772,), (1368431060,), (1368431130,), (1368431176,), (1368431195,), (1368431234,), (1368431299,), (1368431483,), (1368431527,), (1368431563,), (1368425150,), (1368425156,), (1368425161,), (1368425170,), (1368425180,), (1368425206,), (1368425212,), (1368425217,), (1368425220,), (1368425223,), (1368425226,), (1368425245,), (1368425250,), (1368425257,), (1368425260,), (1368425264,), (1368425269,), (1368425294,), (1368425299,), (1368425302,), (1368425305,), (1368425309,), (1368425313,), (1368425324,), (1368425329,), (1368425332,), (1368425336,), (1368425341,), (1368425345,), (1368425371,), (1368425372,), (1368425374,), (1368425377,), (1368425380,), (1368425387,), (1368425428,), (1368425438,), (1368425445,), (1368425450,), (1368425455,), (1368425463,), (1368425535,), (1368425541,), (1368425548,), (1368425554,), (1368425558,), (1368425565,), (1368425573,), (1368425577,), (1368425579,), (1368425581,), (1368425593,), (1368425627,), (1368425680,), (1368425703,), (1368425709,), (1368425713,), (1368425719,), (1368425729,), (1368425825,), (1368425832,), (1368425875,), (1368425900,), (1368425905,), (1368425907,), (1368425922,), (1368425956,), (1368425992,), (1368426004,), (1368426012,), (1368426016,), (1368426058,), (1368426092,), (1368426112,), (1368426114,), (1368426119,), (1368426122,), (1368426135,), (1368423612,), (1368423616,), (1368423622,), (1368423627,), (1368423674,), (1368423763,), (1368423764,), (1368423813,), (1368423817,), (1368423826,), (1368423830,), (1368423838,), (1368423841,), (1368423845,), (1368423850,), (1368423918,), (1368423923,), (1368423934,), (1368423938,), (1368423943,), (1368423949,), (1368423956,), (1368423963,), (1368424059,), (1368424078,), (1368424173,), (1368424193,), (1368424196,), (1368424201,), (1368424208,), (1368424212,), (1368424218,), (1368424312,), (1368424323,), (1368424388,), (1368424394,), (1368424397,), (1368424403,), (1368424410,), (1368424415,), (1368424497,), (1368424505,), (1368424512,), (1368424517,), (1368424521,), (1368424526,), (1368424535,), (1368424543,), (1368424581,), (1368424590,), (1368424594,), (1368424598,), (1368424626,), (1368424628,), (1368424656,), (1368424657,), (1368424668,), (1368424669,), (1368424676,), (1368424678,), (1368424716,), (1368424720,), (1368424722,), (1368424723,), (1368424749,), (1368424761,), (1368424800,), (1368424837,), (1368424862,), (1368424866,), (1368424900,), (1368424906,), (1368424912,), (1368424917,), (1368424941,), (1368424977,), (1368425015,), (1368425019,), (1368425032,), (1368425068,), (1368425101,), (1368425108,), (1368425146,), (1368419546,), (1368419594,), (1368419658,), (1368420151,), (1368420227,), (1368420804,), (1368420817,), (1368420827,), (1368420833,), (1368420836,), (1368420843,), (1368420847,), (1368421377,), (1368421720,), (1368421725,), (1368421732,), (1368421736,), (1368421741,), (1368421747,), (1368421851,), (1368421855,), (1368422023,), (1368422024,), (1368422074,), (1368422084,), (1368422087,), (1368422096,), (1368422107,), (1368422112,), (1368422118,), (1368422267,), (1368422272,), (1368422411,), (1368422434,), (1368422488,), (1368422496,), (1368422502,), (1368422507,), (1368422538,), (1368422566,), (1368422733,), (1368422808,), (1368422809,), (1368422814,), (1368422819,), (1368422824,), (1368422831,), (1368422878,), (1368422929,), (1368422938,), (1368422943,), (1368422947,), (1368422951,), (1368422956,), (1368422958,), (1368423048,), (1368423182,), (1368423183,), (1368423185,), (1368423186,), (1368423312,), (1368423404,), (1368423416,), (1368423434,), (1368423449,), (1368423457,), (1368423463,), (1368423470,), (1368423474,), (1368423499,), (1368423503,), (1368423596,), (1368423604,), (1368430288,), (1368430373,), (1368431440,), (1368431969,), (1368432649,), (1368433075,), (1368433174,), (1368433828,), (1368434967,), (1368435707,), (1368436186,), (1368436238,), (1368436283,), (1368436557,), (1368436639,), (1368436771,), (1368437087,), (1368437152,), (1368437494,), (1368437500,), (1368437566,), (1368437568,), (1368437655,), (1368438521,), (1368438526,), (1368438556,), (1368438564,), (1368441457,), (1368437812,), (1368437815,), (1368437872,), (1368437889,), (1368437897,), (1368437916,), (1368437937,), (1368437975,), (1368438071,), (1368438074,), (1368438090,), (1368438093,), (1368438109,), (1368438112,), (1368438118,), (1368438124,), (1368438127,), (1368438131,), (1368438139,), (1368438140,), (1368438229,), (1368438232,), (1368438236,), (1368438240,), (1368438244,), (1368438307,), (1368438426,), (1368438430,), (1368438437,), (1368438440,), (1368438443,), (1368438472,), (1368438491,), (1368438497,), (1368438500,), (1368438506,), (1368438510,), (1368438513,), (1368438593,), (1368438596,), (1368438603,), (1368438604,), (1368438616,), (1368438618,), (1368438623,), (1368438627,), (1368438666,), (1368438670,), (1368438673,), (1368438694,), (1368438737,), (1368438739,), (1368438757,), (1368438762,), (1368438795,), (1368438831,), (1368438866,), (1368438903,), (1368439184,), (1368439298,), (1368439397,), (1368439458,), (1368439494,), (1368439532,), (1368439657,), (1368439696,), (1368439733,), (1368439775,), (1368439841,), (1368439897,), (1368440120,), (1368440173,), (1368440209,), (1368440241,), (1368440275,), (1368440343,), (1368440580,), (1368440586,), (1368440663,), (1368440676,), (1368440732,), (1368440745,), (1368436994,), (1368436998,), (1368437012,), (1368437019,), (1368437022,), (1368437025,), (1368437032,), (1368437040,), (1368437049,), (1368437055,), (1368437060,), (1368437063,), (1368437069,), (1368437075,), (1368437090,), (1368437093,), (1368437096,), (1368437107,), (1368437110,), (1368437157,), (1368437158,), (1368437161,), (1368437162,), (1368437164,), (1368437187,), (1368437190,), (1368437205,), (1368437220,), (1368437247,), (1368437262,), (1368437278,), (1368437314,), (1368437353,), (1368437387,), (1368437423,), (1368437459,), (1368437475,), (1368437477,), (1368437480,), (1368437483,), (1368437487,), (1368437490,), (1368437513,), (1368437521,), (1368437529,), (1368437537,), (1368437545,), (1368437548,), (1368437550,), (1368437552,), (1368437555,), (1368437558,), (1368437577,), (1368437578,), (1368437586,), (1368437589,), (1368437593,), (1368437597,), (1368437618,), (1368437635,), (1368437636,), (1368437638,), (1368437668,), (1368437679,), (1368437683,), (1368437685,), (1368437693,), (1368437705,), (1368437708,), (1368437713,), (1368437744,), (1368436327,), (1368436381,), (1368436383,), (1368436409,), (1368436439,), (1368436445,), (1368436453,), (1368436460,), (1368436466,), (1368436479,), (1368436482,), (1368436504,), (1368436512,), (1368436529,), (1368436536,), (1368436562,), (1368436569,), (1368436571,), (1368436581,), (1368436591,), (1368436672,), (1368436689,), (1368436717,), (1368436727,), (1368436751,), (1368436778,), (1368436782,), (1368436786,), (1368436788,), (1368436792,), (1368436819,), (1368436823,), (1368436828,), (1368436830,), (1368436833,), (1368436837,), (1368436946,), (1368436975,), (1368436978,), (1368436987,), (1368435303,), (1368435311,), (1368435319,), (1368435336,), (1368435368,), (1368435420,), (1368435437,), (1368435444,), (1368435454,), (1368435467,), (1368435470,), (1368435633,), (1368435636,), (1368435641,), (1368435657,), (1368435693,), (1368435727,), (1368435791,), (1368435826,), (1368435832,), (1368435837,), (1368435848,), (1368435887,), (1368435913,), (1368435919,), (1368435924,), (1368435930,), (1368435987,), (1368435999,), (1368436010,), (1368434109,), (1368434116,), (1368434137,), (1368434189,), (1368434235,), (1368434269,), (1368434272,), (1368434276,), (1368434313,), (1368434329,), (1368434335,), (1368434340,), (1368434360,), (1368434400,), (1368434435,), (1368434448,), (1368434485,), (1368434532,), (1368434549,), (1368434566,), (1368434571,), (1368434579,), (1368434584,), (1368434588,), (1368434592,), (1368434597,), (1368434602,), (1368434612,), (1368434621,), (1368434633,), (1368434641,), (1368434654,), (1368434657,), (1368434697,), (1368434710,), (1368434724,), (1368434735,), (1368434743,), (1368434749,), (1368434755,), (1368434780,), (1368434817,), (1368434855,), (1368434865,), (1368434870,), (1368434893,), (1368434896,), (1368434897,), (1368434899,), (1368434901,), (1368434915,), (1368434922,), (1368434931,), (1368434938,), (1368434952,), (1368434956,), (1368434999,), (1368435002,), (1368435005,), (1368435010,), (1368435017,), (1368435062,), (1368435068,), (1368435078,), (1368435082,), (1368435085,), (1368435086,), (1368435119,), (1368435120,), (1368435135,), (1368435137,), (1368435144,), (1368435145,), (1368435152,), (1368435153,), (1368435194,), (1368435199,), (1368435267,), (1368435277,), (1368435301,), (1368433424,), (1368433460,), (1368433470,), (1368433472,), (1368433476,), (1368433546,), (1368433550,), (1368433554,), (1368433557,), (1368433560,), (1368433564,), (1368433607,), (1368433617,), (1368433621,), (1368433625,), (1368433629,), (1368433633,), (1368433643,), (1368433648,), (1368433654,), (1368433657,), (1368433662,), (1368433666,), (1368433677,), (1368433684,), (1368433691,), (1368433697,), (1368433705,), (1368433720,), (1368433740,), (1368433744,), (1368433751,), (1368433752,), (1368433755,), (1368433758,), (1368433769,), (1368433770,), (1368433773,), (1368433774,), (1368433782,), (1368433789,), (1368433808,), (1368433809,), (1368433812,), (1368433813,), (1368433815,), (1368433816,), (1368433844,), (1368433854,), (1368433869,), (1368433881,), (1368433886,), (1368433900,), (1368433905,), (1368433908,), (1368433912,), (1368433916,), (1368433921,), (1368433937,), (1368433944,), (1368433949,), (1368433954,), (1368433957,), (1368433962,), (1368433991,), (1368433995,), (1368434001,), (1368434005,), (1368434007,), (1368434010,), (1368434013,), (1368434017,), (1368434023,), (1368434026,), (1368434030,), (1368434064,), (1368434080,), (1368434081,), (1368431586,), (1368431625,), (1368431688,), (1368431690,), (1368431726,), (1368431728,), (1368431765,), (1368431769,), (1368431806,), (1368431811,), (1368431812,), (1368431814,), (1368431835,), (1368431839,), (1368432006,), (1368432042,), (1368432078,), (1368432113,), (1368432149,), (1368432229,), (1368432232,), (1368432236,), (1368432250,), (1368432262,), (1368432283,), (1368432366,), (1368432402,), (1368432444,), (1368432477,), (1368432483,), (1368432505,), (1368432552,), (1368432590,), (1368432615,), (1368432625,), (1368432634,), (1368432639,), (1368432651,), (1368432662,), (1368432675,), (1368432684,), (1368432688,), (1368432699,), (1368432704,), (1368432705,), (1368432707,), (1368432709,), (1368432712,), (1368432721,), (1368432722,), (1368432726,), (1368432727,), (1368432736,), (1368432738,), (1368432822,), (1368432825,), (1368432914,), (1368432920,), (1368432991,), (1368433006,), (1368433077,), (1368433089,), (1368433099,), (1368433104,), (1368433121,), (1368433149,), (1368433150,), (1368433153,), (1368433157,), (1368433161,), (1368433165,), (1368433177,), (1368433182,), (1368433213,), (1368433218,), (1368433245,), (1368433265,), (1368433284,), (1368433330,), (1368433346,), (1368433350,), (1368433365,), (1368433402,), (1368450794,), (1368451610,), (1368451988,), (1368452104,), (1368452105,), (1368452224,), (1368452286,), (1368452292,), (1368452263,), (1368452265,), (1368452328,), (1368452905,), (1368453027,), (1368453121,), (1368453142,), (1368453378,), (1368453565,), (1368453566,), (1368453601,), (1368453602,), (1368453747,), (1368453845,), (1368453850,), (1368453874,), (1368453911,), (1368454872,), (1368455088,), (1368455094,), (1368455434,), (1368456558,), (1368456564,), (1368456598,), (1368456631,), (1368456663,), (1368456695,), (1368456731,), (1368456770,), (1368457791,), (1368457890,), (1368457989,), (1368458086,), (1368458166,), (1368458209,), (1368458335,), (1368458419,), (1368458531,), (1368458576,), (1368458615,), (1368458629,), (1368458731,), (1368458774,), (1368458839,), (1368458919,), (1368458982,), (1368459043,), (1368459119,), (1368459150,), (1368459209,), (1368459246,), (1368459300,), (1368459314,), (1368459409,), (1368459412,), (1368459427,), (1368459462,), (1368459486,), (1368459503,), (1368459634,), (1368455437,), (1368455440,), (1368455445,), (1368455448,), (1368455452,), (1368455466,), (1368455469,), (1368455485,), (1368455500,), (1368455506,), (1368455509,), (1368455523,), (1368455528,), (1368455550,), (1368455584,), (1368455657,), (1368455672,), (1368455696,), (1368455705,), (1368455729,), (1368455815,), (1368455826,), (1368455831,), (1368455835,), (1368455871,), (1368455892,), (1368456027,), (1368456064,), (1368456067,), (1368456070,), (1368456072,), (1368456074,), (1368456222,), (1368456227,), (1368456229,), (1368456232,), (1368456236,), (1368456249,), (1368456253,), (1368456280,), (1368456335,), (1368456339,), (1368456342,), (1368456362,), (1368456379,), (1368456384,), (1368456402,), (1368456464,), (1368456467,), (1368456480,), (1368456484,), (1368456488,), (1368456492,), (1368456497,), (1368456500,), (1368456509,), (1368456514,), (1368456518,), (1368456520,), (1368456525,), (1368456529,), (1368456541,), (1368456547,), (1368456551,), (1368456555,), (1368454082,), (1368454087,), (1368454212,), (1368454215,), (1368454218,), (1368454239,), (1368454243,), (1368454248,), (1368454346,), (1368454348,), (1368454350,), (1368454367,), (1368454416,), (1368454444,), (1368454548,), (1368454556,), (1368454608,), (1368454678,), (1368454720,), (1368454757,), (1368454920,), (1368454959,), (1368454990,), (1368454996,), (1368455000,), (1368455115,), (1368455126,), (1368455138,), (1368455142,), (1368455154,), (1368455157,), (1368455161,), (1368455168,), (1368455173,), (1368455179,), (1368455192,), (1368455194,), (1368455198,), (1368455202,), (1368455203,), (1368455204,), (1368455236,), (1368455254,), (1368455269,), (1368455274,), (1368455280,), (1368455284,), (1368455290,), (1368455296,), (1368455300,), (1368455305,), (1368455312,), (1368455319,), (1368455332,), (1368455335,), (1368455347,), (1368455360,), (1368455372,), (1368455377,), (1368455393,), (1368455404,), (1368455413,), (1368455419,), (1368455424,), (1368455426,), (1368452576,), (1368452609,), (1368452645,), (1368452681,), (1368452719,), (1368452794,), (1368452911,), (1368452916,), (1368452924,), (1368452943,), (1368452968,), (1368453149,), (1368453153,), (1368453157,), (1368453245,), (1368453298,), (1368453303,), (1368453313,), (1368453340,), (1368453359,), (1368453399,), (1368453431,), (1368453452,), (1368453481,), (1368453537,), (1368453636,), (1368453638,), (1368453666,), (1368453667,), (1368453671,), (1368453673,), (1368453676,), (1368453677,), (1368453752,), (1368453758,), (1368453766,), (1368453776,), (1368453783,), (1368453797,), (1368453798,), (1368453801,), (1368453805,), (1368453811,), (1368453817,), (1368453852,), (1368453854,), (1368453857,), (1368453861,), (1368453880,), (1368453883,), (1368453889,), (1368453894,), (1368453900,), (1368453916,), (1368453919,), (1368453922,), (1368453960,), (1368453965,), (1368453974,), (1368454013,), (1368454022,), (1368454027,), (1368454047,), (1368454052,), (1368454063,), (1368454067,), (1368454075,), (1368454079,), (1368451823,), (1368451837,), (1368451841,), (1368451842,), (1368451843,), (1368451849,), (1368451856,), (1368451886,), (1368451911,), (1368451928,), (1368451940,), (1368451942,), (1368451944,), (1368451960,), (1368451965,), (1368451970,), (1368451974,), (1368451977,), (1368451981,), (1368451994,), (1368451999,), (1368452009,), (1368452021,), (1368452033,), (1368452063,), (1368452067,), (1368452070,), (1368452072,), (1368452082,), (1368452087,), (1368452110,), (1368452111,), (1368452118,), (1368452119,), (1368452124,), (1368452126,), (1368452129,), (1368452130,), (1368452132,), (1368452133,), (1368452148,), (1368452155,), (1368452162,), (1368452168,), (1368452174,), (1368452177,), (1368452184,), (1368452188,), (1368452193,), (1368452200,), (1368452205,), (1368452211,), (1368452228,), (1368452230,), (1368452232,), (1368452235,), (1368452243,), (1368452304,), (1368452305,), (1368452311,), (1368452312,), (1368452314,), (1368452315,), (1368452316,), (1368452317,), (1368452331,), (1368452337,), (1368452375,), (1368452413,), (1368452451,), (1368449046,), (1368449048,), (1368449076,), (1368449115,), (1368449152,), (1368449186,), (1368449418,), (1368449463,), (1368449507,), (1368449570,), (1368449606,), (1368449645,), (1368449814,), (1368449851,), (1368449887,), (1368449923,), (1368449965,), (1368450003,), (1368450155,), (1368450189,), (1368450226,), (1368450306,), (1368450366,), (1368450399,), (1368450556,), (1368450606,), (1368450649,), (1368450651,), (1368450655,), (1368450660,), (1368450857,), (1368450893,), (1368450950,), (1368451001,), (1368451156,), (1368451185,), (1368451207,), (1368451212,), (1368451217,), (1368451220,), (1368451337,), (1368451343,), (1368451408,), (1368451415,), (1368451425,), (1368451435,), (1368451490,), (1368451495,), (1368451501,), (1368451554,), (1368451581,), (1368451584,), (1368451619,), (1368451624,), (1368451659,), (1368451708,), (1368451715,), (1368451719,), (1368451726,), (1368451731,), (1368451742,), (1368451806,), (1368444617,), (1368444619,), (1368444645,), (1368444678,), (1368444708,), (1368444725,), (1368444811,), (1368444876,), (1368444966,), (1368445056,), (1368445155,), (1368445260,), (1368445828,), (1368445902,), (1368445998,), (1368446098,), (1368446173,), (1368446436,), (1368446480,), (1368446528,), (1368446567,), (1368446603,), (1368446712,), (1368446748,), (1368446782,), (1368446818,), (1368446844,), (1368446850,), (1368446908,), (1368446958,), (1368446999,), (1368447034,), (1368447067,), (1368447100,), (1368447201,), (1368447235,), (1368447252,), (1368447296,), (1368447316,), (1368447450,), (1368447784,), (1368447855,), (1368447930,), (1368447998,), (1368448065,), (1368448140,), (1368448401,), (1368448470,), (1368448542,), (1368448612,), (1368448678,), (1368448750,), (1368448846,), (1368448859,), (1368448893,), (1368448931,), (1368448970,), (1368449003,), (1368440813,), (1368440829,), (1368440910,), (1368440932,), (1368441004,), (1368441027,), (1368441505,), (1368441560,), (1368441612,), (1368441679,), (1368441750,), (1368441908,), (1368441995,), (1368442067,), (1368442084,), (1368442110,), (1368442133,), (1368442299,), (1368442358,), (1368442387,), (1368442394,), (1368442395,), (1368442430,), (1368442565,), (1368442599,), (1368442633,), (1368442669,), (1368442704,), (1368442907,), (1368442942,), (1368442977,), (1368443013,), (1368443044,), (1368443163,), (1368443198,), (1368443237,), (1368443284,), (1368443323,), (1368443368,), (1368443397,), (1368443410,), (1368443428,), (1368443460,), (1368443505,), (1368443575,), (1368443764,), (1368443838,), (1368443915,), (1368443988,), (1368444055,), (1368444089,), (1368444263,), (1368444300,), (1368444338,), (1368444379,), (1368444443,), (1368444504,), (1368465484,), (1368465489,), (1368465604,), (1368465610,), (1368466022,), (1368483781,), (1368483791,), (1368483797,), (1368462071,), (1368462075,), (1368462078,), (1368462088,), (1368462093,), (1368462112,), (1368462129,), (1368462139,), (1368462144,), (1368462186,), (1368462191,), (1368462211,), (1368462241,), (1368462247,), (1368462276,), (1368462280,), (1368462282,), (1368462284,), (1368462294,), (1368462333,), (1368462423,), (1368462424,), (1368462429,), (1368462430,), (1368462465,), (1368462474,), (1368462479,), (1368462482,), (1368462486,), (1368462487,), (1368462490,), (1368462491,), (1368462586,), (1368462612,), (1368462622,), (1368462631,), (1368462648,), (1368462732,), (1368462778,), (1368462812,), (1368462834,), (1368462849,), (1368462853,), (1368462878,), (1368462881,), (1368462887,), (1368462894,), (1368462910,), (1368462911,), (1368462914,), (1368462915,), (1368462918,), (1368462921,), (1368462925,), (1368462929,), (1368462931,), (1368462936,), (1368462937,), (1368462941,), (1368462959,), (1368462974,), (1368462981,), (1368462983,), (1368462988,), (1368463082,), (1368463123,), (1368463163,), (1368463200,), (1368463237,), (1368463273,), (1368463330,), (1368463338,), (1368463342,), (1368463349,), (1368461251,), (1368461263,), (1368461266,), (1368461269,), (1368461273,), (1368461276,), (1368461329,), (1368461343,), (1368461347,), (1368461353,), (1368461356,), (1368461359,), (1368461394,), (1368461480,), (1368461501,), (1368461509,), (1368461515,), (1368461521,), (1368461562,), (1368461565,), (1368461568,), (1368461571,), (1368461575,), (1368461586,), (1368461595,), (1368461598,), (1368461604,), (1368461611,), (1368461630,), (1368461755,), (1368461775,), (1368461787,), (1368461790,), (1368461794,), (1368461826,), (1368461942,), (1368461949,), (1368461968,), (1368461970,), (1368461972,), (1368461986,), (1368461992,), (1368461999,), (1368462005,), (1368462010,), (1368462014,), (1368462021,), (1368462025,), (1368462030,), (1368462034,), (1368462038,), (1368462043,), (1368462061,), (1368462067,), (1368462070,), (1368460458,), (1368460463,), (1368460471,), (1368460475,), (1368460494,), (1368460544,), (1368460561,), (1368460569,), (1368460588,), (1368460598,), (1368460653,), (1368460692,), (1368460713,), (1368460716,), (1368460720,), (1368460726,), (1368460743,), (1368460748,), (1368460754,), (1368460760,), (1368460767,), (1368460828,), (1368460830,), (1368460831,), (1368460838,), (1368460844,), (1368460852,), (1368460870,), (1368460872,), (1368460875,), (1368460887,), (1368460892,), (1368460893,), (1368460910,), (1368460929,), (1368460942,), (1368460953,), (1368460959,), (1368460994,), (1368461033,), (1368461056,), (1368461064,), (1368461074,), (1368461078,), (1368461085,), (1368461121,), (1368461125,), (1368461129,), (1368461144,), (1368461155,), (1368461163,), (1368461190,), (1368461194,), (1368461198,), (1368461204,), (1368461211,), (1368461213,), (1368459903,), (1368459914,), (1368459922,), (1368459928,), (1368459947,), (1368459965,), (1368459995,), (1368460006,), (1368460014,), (1368460027,), (1368460036,), (1368460042,), (1368460060,), (1368460063,), (1368460067,), (1368460069,), (1368460070,), (1368460120,), (1368460143,), (1368460154,), (1368460160,), (1368460166,), (1368460178,), (1368460184,), (1368460196,), (1368460222,), (1368460273,), (1368460297,), (1368460300,), (1368460310,), (1368460313,), (1368460318,), (1368460321,), (1368460325,), (1368460329,), (1368460348,), (1368460353,), (1368460356,), (1368460359,), (1368460362,), (1368460374,), (1368460383,), (1368460394,), (1368460398,), (1368460403,), (1368460413,), (1368460451,), (1368460453,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27062025': {'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([24364216]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] map_info['map_portfolio_photo'] : {24364216: [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129]} final : True mtd_id 4302 list_pids : [1368375340, 1368375139, 1368375118, 1368375068, 1368374940, 1368374932, 1368374926, 1368374912, 1368374884, 1368374877, 1368374806, 1368374803, 1368374795, 1368374793, 1368374733, 1368374725, 1368374717, 1368374712, 1368374704, 1368374697, 1368374686, 1368374679, 1368374413, 1368374408, 1368374374, 1368374371, 1368374347, 1368374342, 1368374329, 1368374323, 1368374275, 1368374258, 1368374254, 1368374136, 1368374135, 1368374130, 1368374129] Looping around the photos to save general results len do output : 1 /24364216Didn'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, '3226448') ('4302', '24364216', '1368375340', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448') ('4302', None, None, None, None, None, None, None, '3226448') ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448') 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, '24364216', 'None', None, None, None, None, '3226448'), ('4302', '24364216', '1368375340', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375139', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375118', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368375068', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374940', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374932', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374926', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374912', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374884', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374877', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374806', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374803', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374795', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374793', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374733', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374725', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374717', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374712', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374704', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374697', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374686', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374679', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374413', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374408', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374374', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374371', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374347', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374342', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374329', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374323', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374275', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374258', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374254', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374136', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374135', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374130', None, None, None, None, None, '3226448'), ('4302', '24364216', '1368374129', None, None, None, None, None, '3226448')] time used for this insertion : 0.01854681968688965 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.173187494277954 time spend to save output : 0.018894672393798828 total time spend for step 5 : 5.192082166671753 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 (3226448) 3.10user 1.48system 0:19.76elapsed 23%CPU (0avgtext+0avgdata 162124maxresident)k 1048inputs+27000outputs (21major+87953minor)pagefaults 0swaps